github google/ksp 1.6.10-1.0.3

latest releases: 1.9.24-1.0.20, 2.0.0-RC2-1.0.20, 2.0.0-RC1-1.0.20...
2 years ago

New API

#827 APIs for api/compiler versions and target info
#841 Add Resolver.overrides(overrider: KSDeclaration, overridee: KSDeclaration, containingClass: KSClassDeclaration): Boolean

Important Changes

The output folder has also changed from build/generated/ksp/<source set>/<kotlin or java or classes or resources>/ to build/generated/ksp/<platform>/<source set>/<kotlin or java or classes or resources>/ to accommodate HMPP, where sources sets can be shared among different platforms.

Issues fixed

#611 Consider exposing language version, api version, and jvm target as options
#767 Exception in DepInvalidator
#773 getJavaWildcard ignores wildcard annotations
#774 getJavaWildcard doesn't handle nested references
#775 KSFunctionDeclaration.isAbstract returns true for static methods inside java interface.
#778 Default annotation param value is null when the param is a local Enum
#784 Null default value for an annotation argument of an inner annotation type
#787 Enum declaration constructors are not private
#789 MemoizedSequence might skip elements if concurrently collected
#792 KSP needs a variant of Resolver.overrides that receives the containing ClassDeclaration
#794 getSymbolsWithAnnotation does not handle import aliases
#796 Room + KSP : KSErrorType cannot be cast to class KSTypeImpl
#797 Unknown error in kotlin compiler
#798 KSP throws IllegalStateException when resolving type of property in inner class (Java source)
#810 Add an API for retrieving JVM target source version
#813 incompatibility with -Xuse-fir
#814 incremental: dirtiness propagation among recursive outputs and dependencies
#816 parent and parentDeclaration of the generated value and valueOf static function from Java enums are null

Contributors

Thank you for your pull requests!
@yigit
@ZacSweers
@Jeffset

Don't miss a new ksp release

NewReleases is sending notifications on new releases.