Browse Source
Co-authored-by: Oleksandr Karpovich <oleksandr.karpovich@jetbrains.com>pull/2047/head
Oleksandr Karpovich
2 years ago
committed by
GitHub
8 changed files with 49 additions and 17 deletions
@ -0,0 +1,2 @@ |
|||||||
|
# __KOTLIN_COMPOSE_VERSION__ |
||||||
|
kotlin.version=1.6.10 |
@ -1,12 +1,22 @@ |
|||||||
pluginManagement { |
pluginManagement { |
||||||
|
val kotlinVersion: String = settings.extra["kotlin.version"] as String |
||||||
|
|
||||||
repositories { |
repositories { |
||||||
gradlePluginPortal() |
gradlePluginPortal() |
||||||
mavenCentral() |
mavenCentral() |
||||||
maven { |
maven { |
||||||
url = uri("https://maven.pkg.jetbrains.space/public/p/compose/dev") |
url = uri("https://maven.pkg.jetbrains.space/public/p/compose/dev") |
||||||
} |
} |
||||||
maven { |
maven { |
||||||
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.startsWith("org.jetbrains.kotlin")) { |
||||||
|
useVersion(kotlinVersion) |
||||||
|
} |
||||||
|
} |
||||||
|
} |
||||||
} |
} |
||||||
|
Loading…
Reference in new issue