aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorHarsh Shandilya <me@msfjarvis.dev>2021-11-15 23:21:57 +0530
committerHarsh Shandilya <me@msfjarvis.dev>2021-11-16 00:22:17 +0530
commit44f28217946c28d75ac2feaeeb1bec49f045e0d4 (patch)
tree9fd1659f841cf7d37dbd496dad03f742dab22809
parentc2e2e4f842919ba0eab3c4ce5be7fd3fad3ab328 (diff)
build: upgrade Spotless and enable configuration caching
-rw-r--r--gradle.properties5
-rw-r--r--gradle/libs.versions.toml2
2 files changed, 5 insertions, 2 deletions
diff --git a/gradle.properties b/gradle.properties
index a0268199..4c8416e5 100644
--- a/gradle.properties
+++ b/gradle.properties
@@ -6,9 +6,12 @@ org.gradle.parallel=true
org.gradle.configureondemand=true
org.gradle.caching=true
-# Enabling filesystem watching
+# Enable filesystem watching
org.gradle.vfs.watch=true
+# Enable experimental configuration caching
+org.gradle.unsafe.configuration-cache=true
+
# Enable Kotlin incremental compilation
kotlin.incremental=true
diff --git a/gradle/libs.versions.toml b/gradle/libs.versions.toml
index 3827cb12..f5817e4e 100644
--- a/gradle/libs.versions.toml
+++ b/gradle/libs.versions.toml
@@ -21,7 +21,7 @@ build-kotlin = "org.jetbrains.kotlin:kotlin-gradle-plugin:1.5.31"
build-mavenpublish = "com.vanniktech:gradle-maven-publish-plugin:0.18.0"
build-okhttp = "com.squareup.okhttp3:okhttp:4.9.0"
build-semver = "com.vdurmont:semver4j:3.1.0"
-build-spotless = "com.diffplug.spotless:spotless-plugin-gradle:5.16.0"
+build-spotless = "com.diffplug.spotless:spotless-plugin-gradle:6.0.0"
# Kotlin dependencies
kotlin-coroutines-android = { module = "org.jetbrains.kotlinx:kotlinx-coroutines-android", version.ref = "coroutines" }