Explicit intellijUltimateEnabled should override teamcity build
This commit is contained in:
+3
-3
@@ -144,9 +144,9 @@ fun Project.getBooleanProperty(name: String): Boolean? = this.findProperty(name)
|
|||||||
else v.toBoolean()
|
else v.toBoolean()
|
||||||
}
|
}
|
||||||
|
|
||||||
val intellijUltimateEnabled = project.getBooleanProperty("intellijUltimateEnabled")
|
val isTeamcityBuild = project.hasProperty("teamcity") || System.getenv("TEAMCITY_VERSION") != null
|
||||||
?: project.hasProperty("teamcity")
|
val intellijUltimateEnabled = project.getBooleanProperty("intellijUltimateEnabled") ?: isTeamcityBuild
|
||||||
|| System.getenv("TEAMCITY_VERSION") != null
|
|
||||||
val intellijSeparateSdks = project.getBooleanProperty("intellijSeparateSdks") ?: false
|
val intellijSeparateSdks = project.getBooleanProperty("intellijSeparateSdks") ?: false
|
||||||
|
|
||||||
extra["intellijUltimateEnabled"] = intellijUltimateEnabled
|
extra["intellijUltimateEnabled"] = intellijUltimateEnabled
|
||||||
|
|||||||
@@ -41,9 +41,8 @@ rootProject.apply {
|
|||||||
from(rootProject.file("../versions.gradle.kts"))
|
from(rootProject.file("../versions.gradle.kts"))
|
||||||
}
|
}
|
||||||
|
|
||||||
val intellijUltimateEnabled by extra(project.getBooleanProperty("intellijUltimateEnabled")
|
val isTeamcityBuild = project.hasProperty("teamcity") || System.getenv("TEAMCITY_VERSION") != null
|
||||||
?: project.hasProperty("teamcity")
|
val intellijUltimateEnabled by extra(project.getBooleanProperty("intellijUltimateEnabled") ?: isTeamcityBuild)
|
||||||
|| System.getenv("TEAMCITY_VERSION") != null)
|
|
||||||
val intellijSeparateSdks by extra(project.getBooleanProperty("intellijSeparateSdks") ?: false)
|
val intellijSeparateSdks by extra(project.getBooleanProperty("intellijSeparateSdks") ?: false)
|
||||||
|
|
||||||
extra["intellijRepo"] = "https://www.jetbrains.com/intellij-repository"
|
extra["intellijRepo"] = "https://www.jetbrains.com/intellij-repository"
|
||||||
|
|||||||
Reference in New Issue
Block a user