Comments (3)
Some random update: Gradle does trigger the tasks correctly. It's the incremental compilation logic in kotlinc
deciding that there is no source change and not triggering the processing and subsequent compilation. I'm trying to see how to inform kotlinc
about the change.
from ksp.
We disabled incremental compilation when ksp is used as a workaround in android/kotlin#77. @yigit would that be a concern to you?
from ksp.
In my Kotlin compiler plugin I ran into the same issue. Since the compiler plugin comes with a Gradle plugin I fixed it there. I created a custom Gradle task that disables incremental compilation whenever the compiler plugin classpath contains a change, otherwise Kotlin compilation is incremental. That's better than always disabling incremental compilation.
The corresponding ticket is here: https://youtrack.jetbrains.com/issue/KT-38570
from ksp.
Related Issues (20)
- [KSP2] Resolver.getJvmName() returns different results for annotation args in KSP 2
- [KSP2] Getting packageName of Kotlin types returns empty String
- [KSP2] The order of symbols returned from Resolver.getSymbolsWithAnnotation() is different HOT 2
- Build stuck on kspDebugKotlin when using KSP on large project (dagger ksp) HOT 2
- KSP2: KSAnnotation packageName is an empty String for a type from a different module HOT 1
- [KSP2] Resolver.getDeclarationsFromPackage() returns declarations from the default package when passing in an unknown package
- K2: Generated platform code cannot see code from platform source set HOT 2
- [KSP2] asMemberOf() throws exception with a generic type without arguments HOT 2
- [KSP2] ClassCastException when calling KSType.replace() with empty list HOT 1
- ResolverImpl.expand broken by self referencing type args
- ABI incompatibility with kotlin-compiler-embeddable in 2.0.0-Beta4 HOT 6
- [KSP2] Resolver.getSymbolsWithAnnotation doesn't seem to work on generated code
- [KSP2] ClassCastException when calling KSType.starProjection() on a Java field type HOT 1
- Processors are not found if they are in a file whose extension is not `.jar`
- Generated resources do not end up in a source set HOT 1
- [KSP2] Incorrect type parameter variances
- [KSP2] Static fields in base class appear in derived classes
- [KSP2] Static fields in base class appear in derived classes HOT 1
- [KSP2] isCompanionObject is false for companion objects from KOTLIN_LIB
- [KSP2] Could not find annotation declaration when origin is JAVA or JAVA_LIB HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from ksp.