Build: Add localBuildCacheEnabled property
This commit is contained in:
@@ -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"
|
||||
|
||||
Reference in New Issue
Block a user