mirror of
https://github.com/jlengrand/compose-multiplatform.git
synced 2026-03-10 15:48:51 +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
16 lines
384 B
Kotlin
16 lines
384 B
Kotlin
pluginManagement {
|
|
repositories {
|
|
gradlePluginPortal()
|
|
mavenCentral()
|
|
maven("https://maven.pkg.jetbrains.space/public/p/compose/dev")
|
|
}
|
|
|
|
plugins {
|
|
kotlin("multiplatform").version(extra["kotlin.version"] as String)
|
|
id("org.jetbrains.compose").version(extra["compose.version"] as String)
|
|
}
|
|
}
|
|
|
|
rootProject.name = "web-with-react"
|
|
|