Reduce dependency on teamcity.jetbrains.com when downloading dependencies

This commit is contained in:
Nikolay Krasko
2021-11-18 20:09:12 +03:00
committed by TeamCityServer
parent 6ecb5a1bd3
commit 272081d8cf
3 changed files with 26 additions and 12 deletions
@@ -17,11 +17,6 @@ var Project.bootstrapKotlinRepo: String?
extensions.extraProperties.set("bootstrapKotlinRepo", value)
}
@Deprecated("Obsolete, use internalBootstrapRepo instead.")
val Project.internalKotlinRepo: String?
get() = "https://teamcity.jetbrains.com/guestAuth/app/rest/builds/buildType:(id:Kotlin_KotlinPublic_Aggregate),number:$bootstrapKotlinVersion," +
"branch:default:any/artifacts/content/internal/repo"
fun Project.kotlinBootstrapFrom(defaultSource: BootstrapOption) {
val teamCityBootstrapVersion = kotlinBuildProperties.teamCityBootstrapVersion
val customBootstrapVersion = kotlinBuildProperties.customBootstrapVersion