You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
|
|
|
pluginManagement {
|
|
|
|
repositories {
|
|
|
|
mavenLocal()
|
|
|
|
gradlePluginPortal()
|
|
|
|
maven {
|
|
|
|
url = uri("https://maven.pkg.jetbrains.space/public/p/compose/dev")
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
resolutionStrategy {
|
|
|
|
val kotlinVersion = extra["kotlin.version"] as String
|
|
|
|
println("KotlinVersion=[$kotlinVersion]")
|
|
|
|
eachPlugin {
|
|
|
|
if (requested.id.id == "org.jetbrains.compose") {
|
|
|
|
val useVersion = if (extra.has("compose.version")) {
|
|
|
|
extra["compose.version"].toString()
|
|
|
|
} else {
|
|
|
|
"0.0.0-SNAPSHOT"
|
|
|
|
}
|
|
|
|
println("COMPOSE_INTEGRATION_VERSION=[$useVersion]")
|
|
|
|
useVersion(useVersion)
|
|
|
|
} else if (requested.id.id.startsWith("org.jetbrains.kotlin")) {
|
|
|
|
useVersion(kotlinVersion)
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
include(":lib")
|