Skip to content

1.4.20-dev-experimental-20210203

Compare
Choose a tag to compare
@ting-yuan ting-yuan released this 04 Feb 01:11
· 614 commits to master since this release

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