diff --git a/templates/desktop-template/build.gradle.kts b/templates/desktop-template/build.gradle.kts index 78fbb79382..5b5d9e5898 100644 --- a/templates/desktop-template/build.gradle.kts +++ b/templates/desktop-template/build.gradle.kts @@ -2,13 +2,13 @@ import org.jetbrains.compose.compose plugins { kotlin("jvm") version "1.4.0" - id("org.jetbrains.compose") version "0.1.0-build60" + id("org.jetbrains.compose") version (System.getenv("COMPOSE_TEMPLATE_COMPOSE_VERSION") ?: "0.1.0-build64") application } repositories { jcenter() - maven("https://packages.jetbrains.team/maven/p/ui/dev") + maven("https://maven.pkg.jetbrains.space/public/p/compose/dev") } dependencies { diff --git a/templates/desktop-template/settings.gradle.kts b/templates/desktop-template/settings.gradle.kts index 12abf014fe..781ae9381e 100644 --- a/templates/desktop-template/settings.gradle.kts +++ b/templates/desktop-template/settings.gradle.kts @@ -1,6 +1,6 @@ pluginManagement { repositories { gradlePluginPortal() - maven("https://packages.jetbrains.team/maven/p/ui/dev") + maven("https://maven.pkg.jetbrains.space/public/p/compose/dev") } } \ No newline at end of file diff --git a/templates/multiplatform-template/build.gradle.kts b/templates/multiplatform-template/build.gradle.kts index caeaa20b92..44f0a96615 100644 --- a/templates/multiplatform-template/build.gradle.kts +++ b/templates/multiplatform-template/build.gradle.kts @@ -2,6 +2,6 @@ allprojects { repositories { google() jcenter() - maven("https://packages.jetbrains.team/maven/p/ui/dev") + maven("https://maven.pkg.jetbrains.space/public/p/compose/dev") } } \ No newline at end of file diff --git a/templates/multiplatform-template/settings.gradle.kts b/templates/multiplatform-template/settings.gradle.kts index c15602925c..369c2688ba 100644 --- a/templates/multiplatform-template/settings.gradle.kts +++ b/templates/multiplatform-template/settings.gradle.kts @@ -1,12 +1,14 @@ buildscript { + val composeVersion = System.getenv("COMPOSE_TEMPLATE_COMPOSE_VERSION") ?: "0.1.0-build64" + repositories { google() jcenter() - maven("https://packages.jetbrains.team/maven/p/ui/dev") + maven("https://maven.pkg.jetbrains.space/public/p/compose/dev") } dependencies { - classpath("org.jetbrains.compose:compose-gradle-plugin:0.1.0-build60") + classpath("org.jetbrains.compose:compose-gradle-plugin:$composeVersion") classpath("com.android.tools.build:gradle:4.0.1") classpath(kotlin("gradle-plugin", version = "1.4.0")) }