build: upgrade Spotless and enable configuration caching

This commit is contained in:
Harsh Shandilya 2021-11-15 23:21:57 +05:30
parent c2e2e4f842
commit 44f2821794
No known key found for this signature in database
GPG key ID: 366D7BBAD1031E80
2 changed files with 5 additions and 2 deletions

View file

@ -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

View file

@ -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" }