Build: Add localBuildCacheEnabled property

This commit is contained in:
Vyacheslav Gerasimov
2019-12-04 16:16:57 +03:00
parent 729b4d33cf
commit 283933ace5
2 changed files with 3 additions and 1 deletions
+1 -1
View File
@@ -4,7 +4,7 @@ plugins {
}
group = "org.jetbrains.kotlin"
version = "0.0.3"
version = "0.0.4"
repositories {
mavenCentral()
@@ -88,6 +88,8 @@ class KotlinBuildProperties(
val buildCacheUrl: String? = get("kotlin.build.cache.url") as String?
val pushToBuildCache: Boolean = getBoolean("kotlin.build.cache.push", isTeamcityBuild)
val localBuildCacheEnabled: Boolean = getBoolean("kotlin.build.cache.local.enabled", !isTeamcityBuild)
}
private const val extensionName = "kotlinBuildProperties"