mirror of
https://github.com/jlengrand/compose-multiplatform.git
synced 2026-03-10 08:11:20 +00:00
Move examples to 1.0.0 (#1524)
This commit is contained in:
@@ -1,3 +1,3 @@
|
||||
# __LATEST_COMPOSE_RELEASE_VERSION__
|
||||
compose.version=1.0.0-rc12
|
||||
compose.version=1.0.0
|
||||
kotlin.code.style=official
|
||||
|
||||
@@ -4,4 +4,4 @@ android.enableJetifier=true
|
||||
kotlin.code.style=official
|
||||
|
||||
# __LATEST_COMPOSE_RELEASE_VERSION__
|
||||
compose.version=1.0.0-rc12
|
||||
compose.version=1.0.0
|
||||
|
||||
@@ -8,7 +8,7 @@ buildscript {
|
||||
|
||||
dependencies {
|
||||
// __LATEST_COMPOSE_RELEASE_VERSION__
|
||||
classpath("org.jetbrains.compose:compose-gradle-plugin:1.0.0-rc12")
|
||||
classpath("org.jetbrains.compose:compose-gradle-plugin:1.0.0")
|
||||
classpath("com.android.tools.build:gradle:4.2.2")
|
||||
// __KOTLIN_COMPOSE_VERSION__
|
||||
classpath(kotlin("gradle-plugin", version = "1.5.31"))
|
||||
|
||||
@@ -4,7 +4,7 @@ import org.jetbrains.compose.desktop.application.dsl.TargetFormat
|
||||
|
||||
plugins {
|
||||
kotlin("multiplatform") version "1.5.31"
|
||||
id("org.jetbrains.compose") version "1.0.0-rc12"
|
||||
id("org.jetbrains.compose") version "1.0.0"
|
||||
}
|
||||
|
||||
version = "1.0-SNAPSHOT"
|
||||
|
||||
@@ -6,7 +6,7 @@ plugins {
|
||||
// __KOTLIN_COMPOSE_VERSION__
|
||||
kotlin("jvm") version "1.5.31"
|
||||
// __LATEST_COMPOSE_RELEASE_VERSION__
|
||||
id("org.jetbrains.compose") version "1.0.0-rc12"
|
||||
id("org.jetbrains.compose") version "1.0.0"
|
||||
}
|
||||
|
||||
group = "me.user"
|
||||
|
||||
@@ -7,7 +7,7 @@ buildscript {
|
||||
|
||||
dependencies {
|
||||
// __LATEST_COMPOSE_RELEASE_VERSION__
|
||||
classpath("org.jetbrains.compose:compose-gradle-plugin:1.0.0-rc12")
|
||||
classpath("org.jetbrains.compose:compose-gradle-plugin:1.0.0")
|
||||
classpath("com.android.tools.build:gradle:4.1.0")
|
||||
classpath(kotlin("gradle-plugin", version = "1.5.31"))
|
||||
}
|
||||
|
||||
@@ -5,7 +5,7 @@ plugins {
|
||||
java
|
||||
kotlin("jvm") version "1.5.31"
|
||||
// __LATEST_COMPOSE_RELEASE_VERSION__
|
||||
id("org.jetbrains.compose") version "1.0.0-rc12"
|
||||
id("org.jetbrains.compose") version "1.0.0"
|
||||
id("idea")
|
||||
}
|
||||
|
||||
|
||||
@@ -8,7 +8,7 @@ buildscript {
|
||||
|
||||
dependencies {
|
||||
// __LATEST_COMPOSE_RELEASE_VERSION__
|
||||
classpath("org.jetbrains.compose:compose-gradle-plugin:1.0.0-rc12")
|
||||
classpath("org.jetbrains.compose:compose-gradle-plugin:1.0.0")
|
||||
classpath("com.android.tools.build:gradle:4.1.3")
|
||||
// __KOTLIN_COMPOSE_VERSION__
|
||||
classpath(kotlin("gradle-plugin", version = "1.5.31"))
|
||||
|
||||
@@ -5,7 +5,7 @@ plugins {
|
||||
// __KOTLIN_COMPOSE_VERSION__
|
||||
kotlin("jvm") version "1.5.31"
|
||||
// __LATEST_COMPOSE_RELEASE_VERSION__
|
||||
id("org.jetbrains.compose") version ("1.0.0-rc12")
|
||||
id("org.jetbrains.compose") version ("1.0.0")
|
||||
}
|
||||
|
||||
repositories {
|
||||
|
||||
@@ -7,7 +7,7 @@ buildscript {
|
||||
|
||||
dependencies {
|
||||
// __LATEST_COMPOSE_RELEASE_VERSION__
|
||||
classpath("org.jetbrains.compose:compose-gradle-plugin:1.0.0-rc12")
|
||||
classpath("org.jetbrains.compose:compose-gradle-plugin:1.0.0")
|
||||
classpath("com.android.tools.build:gradle:4.1.0")
|
||||
classpath(kotlin("gradle-plugin", version = "1.5.31"))
|
||||
}
|
||||
|
||||
@@ -13,7 +13,7 @@ object Deps {
|
||||
|
||||
object Compose {
|
||||
// __LATEST_COMPOSE_RELEASE_VERSION__
|
||||
private const val VERSION = "1.0.0-rc12"
|
||||
private const val VERSION = "1.0.0"
|
||||
const val gradlePlugin = "org.jetbrains.compose:compose-gradle-plugin:$VERSION"
|
||||
}
|
||||
}
|
||||
|
||||
@@ -2,7 +2,7 @@ import org.jetbrains.kotlin.gradle.targets.js.nodejs.NodeJsRootExtension
|
||||
|
||||
plugins {
|
||||
kotlin("multiplatform") version "1.5.31"
|
||||
id("org.jetbrains.compose") version "1.0.0-rc12"
|
||||
id("org.jetbrains.compose") version "1.0.0"
|
||||
}
|
||||
group = "com.theapache64.composebird"
|
||||
version = "1.0.0-alpha01"
|
||||
|
||||
@@ -2,7 +2,7 @@ import org.jetbrains.kotlin.gradle.targets.js.nodejs.NodeJsRootExtension
|
||||
|
||||
plugins {
|
||||
kotlin("multiplatform") version "1.5.31"
|
||||
id("org.jetbrains.compose") version "1.0.0-rc12"
|
||||
id("org.jetbrains.compose") version "1.0.0"
|
||||
}
|
||||
|
||||
repositories {
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
import org.jetbrains.kotlin.gradle.targets.js.nodejs.NodeJsRootExtension
|
||||
plugins {
|
||||
kotlin("multiplatform") version "1.5.31"
|
||||
id("org.jetbrains.compose") version "1.0.0-rc12"
|
||||
id("org.jetbrains.compose") version "1.0.0"
|
||||
}
|
||||
|
||||
repositories {
|
||||
|
||||
@@ -8,7 +8,7 @@ buildscript {
|
||||
|
||||
dependencies {
|
||||
// __LATEST_COMPOSE_RELEASE_VERSION__
|
||||
classpath("org.jetbrains.compose:compose-gradle-plugin:1.0.0-rc12")
|
||||
classpath("org.jetbrains.compose:compose-gradle-plugin:1.0.0")
|
||||
classpath("com.android.tools.build:gradle:4.2.0")
|
||||
// __KOTLIN_COMPOSE_VERSION__
|
||||
classpath(kotlin("gradle-plugin", version = "1.5.31"))
|
||||
|
||||
@@ -4,4 +4,4 @@ android.enableJetifier=true
|
||||
kotlin.code.style=official
|
||||
|
||||
# __LATEST_COMPOSE_RELEASE_VERSION__
|
||||
compose.version=1.0.0-rc12
|
||||
compose.version=1.0.0
|
||||
|
||||
@@ -5,7 +5,7 @@ plugins {
|
||||
// __KOTLIN_COMPOSE_VERSION__
|
||||
kotlin("jvm") version "1.5.31"
|
||||
// __LATEST_COMPOSE_RELEASE_VERSION__
|
||||
id("org.jetbrains.compose") version (System.getenv("COMPOSE_TEMPLATE_COMPOSE_VERSION") ?: "1.0.0-rc12")
|
||||
id("org.jetbrains.compose") version (System.getenv("COMPOSE_TEMPLATE_COMPOSE_VERSION") ?: "1.0.0")
|
||||
}
|
||||
|
||||
repositories {
|
||||
|
||||
@@ -6,7 +6,7 @@ kotlin.code.style=official
|
||||
# unless overridden by COMPOSE_GRADLE_PLUGIN_COMPOSE_VERSION env var.
|
||||
#
|
||||
# __LATEST_COMPOSE_RELEASE_VERSION__
|
||||
compose.version=1.0.0-rc12
|
||||
compose.version=1.0.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.31"
|
||||
// __LATEST_COMPOSE_RELEASE_VERSION__
|
||||
id("org.jetbrains.compose") version (System.getenv("COMPOSE_TEMPLATE_COMPOSE_VERSION") ?: "1.0.0-rc12")
|
||||
id("org.jetbrains.compose") version (System.getenv("COMPOSE_TEMPLATE_COMPOSE_VERSION") ?: "1.0.0")
|
||||
}
|
||||
|
||||
repositories {
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
buildscript {
|
||||
// __LATEST_COMPOSE_RELEASE_VERSION__
|
||||
val composeVersion = System.getenv("COMPOSE_TEMPLATE_COMPOSE_VERSION") ?: "1.0.0-rc12"
|
||||
val composeVersion = System.getenv("COMPOSE_TEMPLATE_COMPOSE_VERSION") ?: "1.0.0"
|
||||
|
||||
repositories {
|
||||
mavenCentral()
|
||||
|
||||
@@ -6,7 +6,7 @@ plugins {
|
||||
// __KOTLIN_COMPOSE_VERSION__
|
||||
kotlin("multiplatform") version "1.5.31"
|
||||
// __LATEST_COMPOSE_RELEASE_VERSION__
|
||||
id("org.jetbrains.compose") version ("1.0.0-rc12")
|
||||
id("org.jetbrains.compose") version ("1.0.0")
|
||||
}
|
||||
|
||||
repositories {
|
||||
|
||||
@@ -40,11 +40,11 @@ just search for "Compose Multiplatform".
|
||||
|
||||
### Update the wizard plugin
|
||||
|
||||
The Compose plugin version used in the wizard above may be not the last. Update the version of the plugin to the latest available by editing the `build.gradle.kts` file, finding and updating the version information as shown below. In this example the latest version of the plugin was 1.0.0-rc12 and a compatible version of kotlin was 1.5.31. For the latest versions, see the [latest versions](https://github.com/JetBrains/compose-jb/releases) site and the [Kotlin](https://kotlinlang.org/) site.
|
||||
The Compose plugin version used in the wizard above may be not the last. Update the version of the plugin to the latest available by editing the `build.gradle.kts` file, finding and updating the version information as shown below. In this example the latest version of the plugin was 1.0.0 and a compatible version of kotlin was 1.5.31. For the latest versions, see the [latest versions](https://github.com/JetBrains/compose-jb/releases) site and the [Kotlin](https://kotlinlang.org/) site.
|
||||
```
|
||||
plugins {
|
||||
kotlin("jvm") version "1.5.31"
|
||||
id("org.jetbrains.compose") version "1.0.0-rc12"
|
||||
id("org.jetbrains.compose") version "1.0.0"
|
||||
}
|
||||
```
|
||||
|
||||
@@ -80,7 +80,7 @@ import org.jetbrains.compose.compose
|
||||
|
||||
plugins {
|
||||
kotlin("jvm") version "1.5.31"
|
||||
id("org.jetbrains.compose") version "1.0.0-rc12"
|
||||
id("org.jetbrains.compose") version "1.0.0"
|
||||
}
|
||||
|
||||
repositories {
|
||||
|
||||
@@ -43,7 +43,7 @@ pluginManagement {
|
||||
// Add compose gradle plugin
|
||||
plugins {
|
||||
kotlin("multiplatform") version "1.5.31"
|
||||
id("org.jetbrains.compose") version "1.0.0-rc12"
|
||||
id("org.jetbrains.compose") version "1.0.0"
|
||||
}
|
||||
|
||||
// Add maven repositories
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
# __LATEST_COMPOSE_RELEASE_VERSION__
|
||||
COMPOSE_CORE_VERSION=1.0.0-rc3
|
||||
COMPOSE_WEB_VERSION=1.0.0-rc3
|
||||
COMPOSE_CORE_VERSION=1.0.0
|
||||
COMPOSE_WEB_VERSION=1.0.0
|
||||
compose.web.buildSamples=false
|
||||
compose.web.tests.integration.withFirefox
|
||||
compose.web.tests.skip.benchmarks=false
|
||||
|
||||
Reference in New Issue
Block a user