mirror of
https://github.com/jlengrand/compose-multiplatform.git
synced 2026-03-10 08:11:20 +00:00
Move to 0.4.0
This commit is contained in:
@@ -1,3 +1,3 @@
|
||||
# __LATEST_COMPOSE_RELEASE_VERSION__
|
||||
compose.version=0.4.0-rc2
|
||||
compose.version=0.4.0
|
||||
kotlin.code.style=official
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
buildscript {
|
||||
// __LATEST_COMPOSE_RELEASE_VERSION__
|
||||
val composeVersion = System.getenv("COMPOSE_RELEASE_VERSION") ?: "0.4.0-rc2"
|
||||
val composeVersion = System.getenv("COMPOSE_RELEASE_VERSION") ?: "0.4.0"
|
||||
|
||||
repositories {
|
||||
google()
|
||||
|
||||
@@ -9,7 +9,7 @@ buildscript {
|
||||
|
||||
dependencies {
|
||||
// __LATEST_COMPOSE_RELEASE_VERSION__
|
||||
classpath("org.jetbrains.compose:compose-gradle-plugin:0.4.0-rc2")
|
||||
classpath("org.jetbrains.compose:compose-gradle-plugin:0.4.0")
|
||||
classpath("com.android.tools.build:gradle:4.0.1")
|
||||
// __KOTLIN_COMPOSE_VERSION__
|
||||
classpath(kotlin("gradle-plugin", version = "1.5.10"))
|
||||
|
||||
@@ -6,7 +6,7 @@ plugins {
|
||||
// __KOTLIN_COMPOSE_VERSION__
|
||||
kotlin("jvm") version "1.5.10"
|
||||
// __LATEST_COMPOSE_RELEASE_VERSION__
|
||||
id("org.jetbrains.compose") version "0.4.0-rc2"
|
||||
id("org.jetbrains.compose") version "0.4.0"
|
||||
}
|
||||
|
||||
group = "me.user"
|
||||
|
||||
@@ -11,7 +11,7 @@ buildscript {
|
||||
|
||||
dependencies {
|
||||
// __LATEST_COMPOSE_RELEASE_VERSION__
|
||||
classpath("org.jetbrains.compose:compose-gradle-plugin:0.4.0-rc2")
|
||||
classpath("org.jetbrains.compose:compose-gradle-plugin:0.4.0")
|
||||
classpath("com.android.tools.build:gradle:4.0.1")
|
||||
// __KOTLIN_COMPOSE_VERSION__
|
||||
classpath(kotlin("gradle-plugin", version = "1.5.10"))
|
||||
|
||||
@@ -5,7 +5,7 @@ plugins {
|
||||
java
|
||||
kotlin("jvm") version "1.5.10"
|
||||
// __LATEST_COMPOSE_RELEASE_VERSION__
|
||||
id("org.jetbrains.compose") version "0.4.0-rc2"
|
||||
id("org.jetbrains.compose") version "0.4.0"
|
||||
}
|
||||
|
||||
group = "org.example"
|
||||
|
||||
@@ -9,7 +9,7 @@ buildscript {
|
||||
|
||||
dependencies {
|
||||
// __LATEST_COMPOSE_RELEASE_VERSION__
|
||||
classpath("org.jetbrains.compose:compose-gradle-plugin:0.4.0-rc2")
|
||||
classpath("org.jetbrains.compose:compose-gradle-plugin:0.4.0")
|
||||
classpath("com.android.tools.build:gradle:4.0.1")
|
||||
// __KOTLIN_COMPOSE_VERSION__
|
||||
classpath(kotlin("gradle-plugin", version = "1.5.10"))
|
||||
|
||||
@@ -9,7 +9,7 @@ buildscript {
|
||||
|
||||
dependencies {
|
||||
// __LATEST_COMPOSE_RELEASE_VERSION__
|
||||
classpath("org.jetbrains.compose:compose-gradle-plugin:0.4.0-rc2")
|
||||
classpath("org.jetbrains.compose:compose-gradle-plugin:0.4.0")
|
||||
classpath("com.android.tools.build:gradle:4.0.1")
|
||||
// __KOTLIN_COMPOSE_VERSION__
|
||||
classpath(kotlin("gradle-plugin", version = "1.5.10"))
|
||||
|
||||
@@ -6,7 +6,7 @@ kotlin.code.style=official
|
||||
# unless overridden by COMPOSE_GRADLE_PLUGIN_COMPOSE_VERSION env var.
|
||||
#
|
||||
# __LATEST_COMPOSE_RELEASE_VERSION__
|
||||
compose.version=0.4.0-rc2
|
||||
compose.version=0.4.0
|
||||
compose.with.web=false
|
||||
|
||||
# A version of Gradle plugin, that will be published,
|
||||
|
||||
@@ -5,7 +5,7 @@ plugins {
|
||||
// __KOTLIN_COMPOSE_VERSION__
|
||||
kotlin("jvm") version "1.5.10"
|
||||
// __LATEST_COMPOSE_RELEASE_VERSION__
|
||||
id("org.jetbrains.compose") version (System.getenv("COMPOSE_TEMPLATE_COMPOSE_VERSION") ?: "0.4.0-rc2")
|
||||
id("org.jetbrains.compose") version (System.getenv("COMPOSE_TEMPLATE_COMPOSE_VERSION") ?: "0.4.0")
|
||||
}
|
||||
|
||||
repositories {
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
buildscript {
|
||||
// __LATEST_COMPOSE_RELEASE_VERSION__
|
||||
val composeVersion = System.getenv("COMPOSE_TEMPLATE_COMPOSE_VERSION") ?: "0.4.0-rc2"
|
||||
val composeVersion = System.getenv("COMPOSE_TEMPLATE_COMPOSE_VERSION") ?: "0.4.0"
|
||||
|
||||
repositories {
|
||||
// TODO: remove after new build is published
|
||||
|
||||
@@ -1,12 +1,12 @@
|
||||
#!/bin/bash
|
||||
ROOT="$( cd "$( dirname "${BASH_SOURCE[0]}" )" >/dev/null 2>&1 && pwd )"/..
|
||||
COMPOSE_OLDVER=0.4.0-rc1
|
||||
COMPOSE_NEWVER=0.4.0-rc2
|
||||
COMPOSE_OLDVER=0.4.0-rc2
|
||||
COMPOSE_NEWVER=0.4.0
|
||||
find -E $ROOT -regex '.*\.(kts|properties|kt)' -exec sed -i '' -e "s/$COMPOSE_OLDVER/$COMPOSE_NEWVER/g" {} \;
|
||||
APPCOMPAT_OLDVER=1.1.0
|
||||
APPCOMPAT_NEWVER=1.3.0-beta01
|
||||
find -E $ROOT -regex '.*\.(kts|properties|kt)' -exec sed -i '' -e "s/$APPCOMPAT_OLDVER/$APPCOMPAT_NEWVER/g" {} \;
|
||||
KOTLIN_OLDVER=1.5.0
|
||||
KOTLIN_OLDVER=1.5.10
|
||||
KOTLIN_NEWVER=1.5.10
|
||||
find -E $ROOT -regex '.*\.(kts|properties|kt)' -exec sed -i '' -e "s/$KOTLIN_OLDVER/$KOTLIN_NEWVER/g" {} \;
|
||||
git grep -C 1 __KOTLIN_COMPOSE_VERSION__ $ROOT
|
||||
|
||||
Reference in New Issue
Block a user