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.
30 lines
902 B
30 lines
902 B
3 years ago
|
pluginManagement {
|
||
|
repositories {
|
||
3 years ago
|
mavenLocal()
|
||
3 years ago
|
gradlePluginPortal()
|
||
|
maven {
|
||
|
url = uri("https://maven.pkg.jetbrains.space/public/p/compose/dev")
|
||
|
}
|
||
|
}
|
||
|
|
||
|
resolutionStrategy {
|
||
3 years ago
|
val kotlinVersion = extra["kotlin.version"] as String
|
||
|
println("KotlinVersion=[$kotlinVersion]")
|
||
3 years ago
|
eachPlugin {
|
||
|
if (requested.id.id == "org.jetbrains.compose") {
|
||
2 years ago
|
val useVersion = if (extra.has("compose.version")) {
|
||
|
extra["compose.version"].toString()
|
||
3 years ago
|
} else {
|
||
|
"0.0.0-SNASPHOT"
|
||
|
}
|
||
|
println("COMPOSE_INTEGRATION_VERSION=[$useVersion]")
|
||
|
useVersion(useVersion)
|
||
3 years ago
|
} else if (requested.id.id.startsWith("org.jetbrains.kotlin")) {
|
||
|
useVersion(kotlinVersion)
|
||
3 years ago
|
}
|
||
|
}
|
||
|
}
|
||
|
}
|
||
|
|
||
|
include(":lib")
|