Browse Source

Update compose and kotlin versions in examples and tutorials

release/1.3.0
Oleksandr Karpovich 2 years ago
parent
commit
b675eeb508
  1. 2
      ci/compose-uber-jar/gradle.properties
  2. 4
      components/gradle.properties
  3. 4
      examples/codeviewer/gradle.properties
  4. 4
      examples/falling-balls/gradle.properties
  5. 4
      examples/imageviewer/gradle.properties
  6. 4
      examples/intellij-plugin/gradle.properties
  7. 4
      examples/issues/gradle.properties
  8. 4
      examples/notepad/gradle.properties
  9. 4
      examples/todoapp-lite/gradle.properties
  10. 4
      examples/todoapp/gradle.properties
  11. 4
      examples/visual-effects/gradle.properties
  12. 4
      examples/web-compose-bird/gradle.properties
  13. 4
      examples/web-compose-in-js/gradle.properties
  14. 4
      examples/web-landing/gradle.properties
  15. 4
      examples/web-with-react/gradle.properties
  16. 4
      examples/widgets-gallery/gradle.properties
  17. 2
      gradle-plugins/gradle.properties
  18. 4
      templates/desktop-template/gradle.properties
  19. 4
      templates/multiplatform-template/gradle.properties
  20. 4
      templates/web-template/gradle.properties
  21. 8
      tutorials/Getting_Started/README.md
  22. 4
      tutorials/Web/Getting_Started/README.md
  23. 2
      web/gradle.properties

2
ci/compose-uber-jar/gradle.properties

@ -1,2 +1,2 @@
compose.version=1.2.2
compose.version=1.3.0-rc02
kotlin.code.style=official

4
components/gradle.properties

@ -3,9 +3,9 @@ android.useAndroidX=true
android.enableJetifier=true
kotlin.code.style=official
# __KOTLIN_COMPOSE_VERSION__
kotlin.version=1.7.20
kotlin.version=1.8.0
# __LATEST_COMPOSE_RELEASE_VERSION__
compose.version=1.3.0-beta02
compose.version=1.3.0-rc02
agp.version=7.3.1
org.jetbrains.compose.experimental.jscanvas.enabled=true
org.jetbrains.compose.experimental.macos.enabled=true

4
examples/codeviewer/gradle.properties

@ -19,6 +19,6 @@ android.useAndroidX=true
android.enableJetifier=true
# Kotlin code style for this project: "official" or "obsolete":
kotlin.code.style=official
kotlin.version=1.7.20
kotlin.version=1.8.0
agp.version=7.1.3
compose.version=1.2.2
compose.version=1.3.0-rc02

4
examples/falling-balls/gradle.properties

@ -1,3 +1,3 @@
kotlin.code.style=official
kotlin.version=1.7.20
compose.version=1.2.2
kotlin.version=1.8.0
compose.version=1.3.0-rc02

4
examples/imageviewer/gradle.properties

@ -19,6 +19,6 @@ android.useAndroidX=true
android.enableJetifier=true
# Kotlin code style for this project: "official" or "obsolete":
kotlin.code.style=official
kotlin.version=1.7.20
kotlin.version=1.8.0
agp.version=7.1.3
compose.version=1.2.2
compose.version=1.3.0-rc02

4
examples/intellij-plugin/gradle.properties

@ -1,3 +1,3 @@
kotlin.code.style=official
kotlin.version=1.7.20
compose.version=1.2.2
kotlin.version=1.8.0
compose.version=1.3.0-rc02

4
examples/issues/gradle.properties

@ -19,6 +19,6 @@ kotlin.code.style=official
android.useAndroidX=true
# Automatically convert third-party libraries to use AndroidX
android.enableJetifier=true
kotlin.version=1.7.20
kotlin.version=1.8.0
agp.version=7.1.3
compose.version=1.2.2
compose.version=1.3.0-rc02

4
examples/notepad/gradle.properties

@ -1,4 +1,4 @@
org.gradle.jvmargs=-Xmx2048m -Dfile.encoding=UTF-8
kotlin.code.style=official
kotlin.version=1.7.20
compose.version=1.2.2
kotlin.version=1.8.0
compose.version=1.3.0-rc02

4
examples/todoapp-lite/gradle.properties

@ -19,6 +19,6 @@ android.useAndroidX=true
android.enableJetifier=true
# Kotlin code style for this project: "official" or "obsolete":
kotlin.code.style=official
kotlin.version=1.7.20
kotlin.version=1.8.0
agp.version=7.1.3
compose.version=1.2.2
compose.version=1.3.0-rc02

4
examples/todoapp/gradle.properties

@ -27,5 +27,5 @@ kotlin.native.disableCompilerDaemon=true
# After updating Compose Multiplatform version, update corresponding Jetpack Compose versions
# in Android module (search "Workaround for https://github.com/JetBrains/compose-jb/issues/2340")
#TODO also change version in buildSrc/gradle.properties
kotlin.version=1.7.20
compose.version=1.2.2
kotlin.version=1.8.0
compose.version=1.3.0-rc02

4
examples/visual-effects/gradle.properties

@ -1,3 +1,3 @@
kotlin.code.style=official
kotlin.version=1.7.20
compose.version=1.2.2
kotlin.version=1.8.0
compose.version=1.3.0-rc02

4
examples/web-compose-bird/gradle.properties

@ -1,3 +1,3 @@
kotlin.code.style=official
kotlin.version=1.7.20
compose.version=1.2.2
kotlin.version=1.8.0
compose.version=1.3.0-rc02

4
examples/web-compose-in-js/gradle.properties

@ -2,5 +2,5 @@ kotlin.code.style=official
kotlin.mpp.enableGranularSourceSetsMetadata=true
kotlin.native.enableDependencyPropagation=false
kotlin.js.webpack.major.version=4
kotlin.version=1.7.20
compose.version=1.2.2
kotlin.version=1.8.0
compose.version=1.3.0-rc02

4
examples/web-landing/gradle.properties

@ -1,3 +1,3 @@
kotlin.code.style=official
kotlin.version=1.7.20
compose.version=1.2.2
kotlin.version=1.8.0
compose.version=1.3.0-rc02

4
examples/web-with-react/gradle.properties

@ -1,3 +1,3 @@
kotlin.code.style=official
kotlin.version=1.7.20
compose.version=1.2.2
kotlin.version=1.8.0
compose.version=1.3.0-rc02

4
examples/widgets-gallery/gradle.properties

@ -19,6 +19,6 @@ android.useAndroidX=true
android.enableJetifier=true
# Kotlin code style for this project: "official" or "obsolete":
kotlin.code.style=official
kotlin.version=1.7.20
compose.version=1.2.2
kotlin.version=1.8.0
compose.version=1.3.0-rc02
agp.version=7.1.3

2
gradle-plugins/gradle.properties

@ -2,7 +2,7 @@ org.gradle.parallel=true
kotlin.code.style=official
# Default version of Compose Libraries used by Gradle plugin
compose.version=1.2.2
compose.version=1.3.0-rc02
# The latest version of Compose Compiler used by Gradle plugin. Used only in tests/CI.
compose.tests.compiler.version=1.4.0-alpha-01
# The latest version of Kotlin compatible with compose.tests.compiler.version. Used only in tests/CI.

4
templates/desktop-template/gradle.properties

@ -1,4 +1,4 @@
org.gradle.jvmargs=-Xmx2048m -Dfile.encoding=UTF-8
kotlin.code.style=official
kotlin.version=1.7.20
compose.version=1.2.2
kotlin.version=1.8.0
compose.version=1.3.0-rc02

4
templates/multiplatform-template/gradle.properties

@ -2,6 +2,6 @@ org.gradle.jvmargs=-Xmx2048m -Dfile.encoding=UTF-8
android.useAndroidX=true
android.enableJetifier=true
kotlin.code.style=official
kotlin.version=1.7.20
kotlin.version=1.8.0
agp.version=7.1.3
compose.version=1.2.2
compose.version=1.3.0-rc02

4
templates/web-template/gradle.properties

@ -1,4 +1,4 @@
org.gradle.jvmargs=-Xmx2048m -Dfile.encoding=UTF-8
kotlin.code.style=official
kotlin.version=1.7.20
compose.version=1.2.2
kotlin.version=1.8.0
compose.version=1.3.0-rc02

8
tutorials/Getting_Started/README.md

@ -42,8 +42,8 @@ The Compose plugin version used in the wizard above might not be the latest. Upd
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.7.20"
id("org.jetbrains.compose") version "1.2.2"
kotlin("jvm") version "1.8.0"
id("org.jetbrains.compose") version "1.3.0-rc02"
}
```
@ -76,8 +76,8 @@ pluginManagement {
Then create `build.gradle.kts` with the following content:
``` kotlin
plugins {
kotlin("jvm") version "1.7.20"
id("org.jetbrains.compose") version "1.2.2"
kotlin("jvm") version "1.8.0"
id("org.jetbrains.compose") version "1.3.0-rc02"
}
repositories {

4
tutorials/Web/Getting_Started/README.md

@ -40,8 +40,8 @@ pluginManagement {
``` kotlin
// Add compose gradle plugin
plugins {
kotlin("multiplatform") version "1.7.20"
id("org.jetbrains.compose") version "1.2.2"
kotlin("multiplatform") version "1.8.0"
id("org.jetbrains.compose") version "1.3.0-rc02"
}
// Add maven repositories

2
web/gradle.properties

@ -1,4 +1,4 @@
compose.version=1.2.2
compose.version=1.3.0-rc02
compose.web.buildSamples=false
compose.web.tests.integration.withFirefox
compose.web.tests.skip.benchmarks=false

Loading…
Cancel
Save