diff options
author | Harsh Shandilya <me@msfjarvis.dev> | 2022-06-10 23:27:56 +0530 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-06-10 23:27:56 +0530 |
commit | bd9f883bb63937b78824d0bceea52570648fc51b (patch) | |
tree | 8855d2541dfc6d28914e75111929d88b1e249814 /gradle.properties | |
parent | a6f7a96c0d81ba84e207103cadfe490c48b79e70 (diff) |
Improve Kotlin build caching (#1947)
* Update Gradle properties with Kotlin 1.7 build things
* Disable build tooling metadata task
* Revert "Revert "github: stop disabling configuration cache in CI""
This reverts commit 08951643f51a5a62ca2419cb3a5e935b1d7de413.
* Store build reports as artifacts
Diffstat (limited to 'gradle.properties')
-rw-r--r-- | gradle.properties | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/gradle.properties b/gradle.properties index 1e3126f9..b8cf46bf 100644 --- a/gradle.properties +++ b/gradle.properties @@ -24,6 +24,13 @@ kapt.incremental.apt=true # Turn off AP discovery in compile path to enable compile avoidance kapt.include.compile.classpath=false +# New incremental compilation for Kotlin +kotlin.incremental.useClasspathSnapshot=true +kotlin.build.report.output=file + +# Disable Gradle task that breaks configuration caching +kotlin.mpp.enableKotlinToolingMetadataArtifact=false + # Use R8 instead of ProGuard for code shrinking. android.enableR8.fullMode=true |