Join Slack
Powered by
Is it possible to turn off kapt cache by the gradl...
# kapt
e
Eugen Martynov
10/08/2019, 3:53 PM
Is it possible to turn off kapt cache by the gradle property?
t
tapchicoma
10/08/2019, 9:03 PM
In a straightforward way - no:
https://github.com/JetBrains/kotlin/blob/6bddfa806c44936586c2201c038217abb17047a8/libraries/tools/kotlin-gradle-plugin/src/main/kotlin/org/jetbrains/kotlin/gradle/internal/kapt/Kapt3KotlinGradleSubplugin.kt#L383
You could add your configuration logic, that would read your custom entry in
gradle.properties
and configure kapt caching based on this property value
e
Eugen Martynov
10/11/2019, 8:39 AM
Thanks, I was thinking to use gradle properties and have some login in gradle file
2
Views
Open in Slack
Previous
Next