Build: Add build cache user and password properties to BuildProperties
This commit is contained in:
@@ -4,7 +4,7 @@ plugins {
|
|||||||
}
|
}
|
||||||
|
|
||||||
group = "org.jetbrains.kotlin"
|
group = "org.jetbrains.kotlin"
|
||||||
version = "0.0.6"
|
version = "0.0.7"
|
||||||
|
|
||||||
repositories {
|
repositories {
|
||||||
mavenCentral()
|
mavenCentral()
|
||||||
|
|||||||
@@ -92,6 +92,10 @@ class KotlinBuildProperties(
|
|||||||
val localBuildCacheEnabled: Boolean = getBoolean("kotlin.build.cache.local.enabled", !isTeamcityBuild)
|
val localBuildCacheEnabled: Boolean = getBoolean("kotlin.build.cache.local.enabled", !isTeamcityBuild)
|
||||||
|
|
||||||
val buildScanServer: String? = get("kotlin.build.scan.url") as String?
|
val buildScanServer: String? = get("kotlin.build.scan.url") as String?
|
||||||
|
|
||||||
|
val buildCacheUser: String? = get("kotlin.build.cache.user") as String?
|
||||||
|
|
||||||
|
val buildCachePassword: String? = get("kotlin.build.cache.password") as String?
|
||||||
}
|
}
|
||||||
|
|
||||||
private const val extensionName = "kotlinBuildProperties"
|
private const val extensionName = "kotlinBuildProperties"
|
||||||
|
|||||||
Reference in New Issue
Block a user