mirror of
https://github.com/jlengrand/compose-multiplatform.git
synced 2026-03-10 08:11:20 +00:00
Remove:
```
__LATEST_COMPOSE_RELEASE_VERSION__
__KOTLIN_COMPOSE_VERSION__
System.getenv("COMPOSE_TEMPLATE_COMPOSE_VERSION")
```
They pollute templates/examples.
Now, all paths where we need to change the version are hardcoded in the script.
Usage:
```
./replace.sh 1.0.0-rc6
```
This script is planned to run on CI
In the future I will add support for changing Kotlin version
21 lines
506 B
Kotlin
21 lines
506 B
Kotlin
buildscript {
|
|
repositories {
|
|
mavenLocal()
|
|
mavenCentral()
|
|
maven("https://maven.pkg.jetbrains.space/public/p/compose/dev")
|
|
}
|
|
dependencies {
|
|
classpath("org.jetbrains.compose:compose-gradle-plugin:0.0.9-preview-images")
|
|
classpath(kotlin("gradle-plugin", version = "1.5.31"))
|
|
}
|
|
}
|
|
|
|
subprojects {
|
|
repositories {
|
|
mavenLocal()
|
|
mavenCentral()
|
|
maven("https://maven.pkg.jetbrains.space/public/p/compose/dev")
|
|
google()
|
|
}
|
|
}
|