mirror of
https://github.com/jlengrand/compose-multiplatform.git
synced 2026-03-10 08:11:20 +00:00
Resolve compose plugin version from gradle.properties
This commit is contained in:
@@ -2,7 +2,6 @@ import org.gradle.api.publish.PublishingExtension
|
||||
|
||||
plugins {
|
||||
id("org.jetbrains.kotlin.multiplatform") version("1.4.32") apply(false)
|
||||
id("org.jetbrains.compose") version "0.0.0-web-dev-12" apply(false)
|
||||
}
|
||||
|
||||
|
||||
@@ -45,3 +44,4 @@ subprojects {
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
@@ -9,6 +9,14 @@ pluginManagement {
|
||||
url = uri("https://packages.jetbrains.team/maven/p/ui/dev")
|
||||
}
|
||||
}
|
||||
|
||||
resolutionStrategy {
|
||||
eachPlugin {
|
||||
if (requested.id.id == "org.jetbrains.compose") {
|
||||
useModule("org.jetbrains.compose:org.jetbrains.compose.gradle.plugin:${extra["COMPOSE_CORE_VERSION"]}")
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
include("web-core")
|
||||
|
||||
Reference in New Issue
Block a user