Browse Source

Resolve compose plugin version from gradle.properties

pull/685/head
Shagen Ogandzhanian 4 years ago
parent
commit
cdce1de626
  1. 2
      web/build.gradle.kts
  2. 8
      web/settings.gradle.kts

2
web/build.gradle.kts

@ -2,7 +2,6 @@ import org.gradle.api.publish.PublishingExtension
plugins { plugins {
id("org.jetbrains.kotlin.multiplatform") version("1.4.32") apply(false) 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 {
} }
} }
} }

8
web/settings.gradle.kts

@ -9,6 +9,14 @@ pluginManagement {
url = uri("https://packages.jetbrains.team/maven/p/ui/dev") 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") include("web-core")

Loading…
Cancel
Save