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.
 
 
 
 

29 lines
912 B

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_CORE_VERSION")) {
extra["COMPOSE_CORE_VERSION"].toString()
} else {
"0.0.0-SNASPHOT"
}
println("COMPOSE_INTEGRATION_VERSION=[$useVersion]")
useVersion(useVersion)
} else if (requested.id.id.startsWith("org.jetbrains.kotlin")) {
useVersion(kotlinVersion)
}
}
}
}
include(":lib")