You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I'm working on a small example project where I have 3 Gradle modules:
api - Contains my annotations
compiler - Contains my Symbol Processor (and an annotation processor)
test - Contains some test code
When I make an ABI compatible change in my compiler, kspKotlin is still considered up-to-date and the updated code won't be reflected. KAPT correctly runs again:
Notice that kspKotlin is considered UP-TO-DATE here while kaptKotlin runs again.
Here you can see the --info output between KSP and KAPT:
> Task :test:kaptKotlin
Transforming api.jar with StructureTransformAction
Transforming kotlin-stdlib-jdk8-1.8.10.jar with StructureTransformAction
Transforming kotlin-stdlib-jdk7-1.8.10.jar with StructureTransformAction
Transforming kotlin-stdlib-1.8.10.jar with StructureTransformAction
Transforming kotlin-stdlib-common-1.8.10.jar with StructureTransformAction
Transforming annotations-13.0.jar with StructureTransformAction
file or directory '/Users/nicklas/Repositories/example-processor/test/src/main/java', not found
file or directory '/Users/nicklas/Repositories/example-processor/test/src/generatedByKspKotlin/kotlin', not found
file or directory '/Users/nicklas/Repositories/example-processor/test/build/generated/ksp/main/java', not found
Caching disabled for task ':test:kaptKotlin' because:
Build cache is disabled
Task ':test:kaptKotlin' is not up-to-date because:
Input property 'kaptClasspath' file /Users/nicklas/Repositories/example-processor/compiler/build/libs/compiler.jar has changed.
The input changes require a full rebuild for incremental task ':test:kaptKotlin'.
Running kapt annotation processing using the Gradle Worker API
Using workers NONE isolation mode to run kapt
> Task :test:kspKotlin UP-TO-DATE
file or directory '/Users/nicklas/Repositories/example-processor/test/src/main/java', not found
file or directory '/Users/nicklas/Repositories/example-processor/test/src/main/java', not found
Caching disabled for task ':test:kspKotlin' because:
Build cache is disabled
Skipping task ':test:kspKotlin' as it is up-to-date.
Resolve mutations for :test:kaptGenerateStubsKotlin (Thread[Execution worker,5,main]) started.
:test:kaptGenerateStubsKotlin (Thread[Execution worker,5,main]) started.
The change I'm making is changing a string inside the compiler module.
This is using Gradle 7.6, Kotlin 1.8.10, KSP 1.8.10-1.0.9 on Java 18.
I'll try to add a small repro later.
The text was updated successfully, but these errors were encountered:
I'm working on a small example project where I have 3 Gradle modules:
api
- Contains my annotationscompiler
- Contains my Symbol Processor (and an annotation processor)test
- Contains some test codeWhen I make an ABI compatible change in my compiler,
kspKotlin
is still considered up-to-date and the updated code won't be reflected. KAPT correctly runs again:Notice that
kspKotlin
is consideredUP-TO-DATE
here whilekaptKotlin
runs again.Here you can see the
--info
output between KSP and KAPT:The change I'm making is changing a string inside the compiler module.
This is using Gradle 7.6, Kotlin 1.8.10, KSP 1.8.10-1.0.9 on Java 18.
I'll try to add a small repro later.
The text was updated successfully, but these errors were encountered: