github google/ksp 1.4.20-dev-experimental-20210203

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

Highlights

  • This is the last 1.4.20 release. KSP will hopefully move to 1.4.30 in the next release.
  • KSP now has a better support of Android build variants! (thanks to @yigit !)

API Runtime Behavior Changes

  • Constructor names are unified to <init>. Previously, in Kotlin source they are the same as class name.
  • KSClassDeclaration.declarations and KSClassDeclaration.getAllFunctions() include constructors now.

Issues Resolved
#113 Add a way to check if a KSFunctionDeclaration is a constructor
#114 Constructors returnType is null
#198 KSP resolves classes that are not available to the app
#202 [Gradle Plugin] Support different configurations
#207 Compatibility with Anvil
#265 wrapping method psi to JavaMethodImpl causes exception
#273 explicit constructor is missing in compiled java dependencies
#279 ksp returns empty constructor for data classes

Don't miss a new ksp release

NewReleases is sending notifications on new releases.