Browse Source

Move few examples to 1.0.0-alpha1-rc1

pull/966/head
Nikolay Igotti 3 years ago
parent
commit
0d232be23a
  1. 2
      compose/frameworks/support
  2. 4
      examples/codeviewer/build.gradle.kts
  3. 4
      examples/falling_balls/build.gradle.kts
  4. 2
      examples/falling_balls/src/main/kotlin/Game.kt
  5. 4
      examples/widgetsgallery/build.gradle.kts

2
compose/frameworks/support

@ -1 +1 @@
Subproject commit 883fe193e46c2ad23b3aa50d4122f97a679b56ea
Subproject commit 9b5ede8dc435293ac09419421528921b8fed27fb

4
examples/codeviewer/build.gradle.kts

@ -8,10 +8,10 @@ buildscript {
dependencies {
// __LATEST_COMPOSE_RELEASE_VERSION__
classpath("org.jetbrains.compose:compose-gradle-plugin:0.4.0")
classpath("org.jetbrains.compose:compose-gradle-plugin:1.0.0-alpha1-rc1")
classpath("com.android.tools.build:gradle:4.0.1")
// __KOTLIN_COMPOSE_VERSION__
classpath(kotlin("gradle-plugin", version = "1.5.10"))
classpath(kotlin("gradle-plugin", version = "1.5.21"))
}
}

4
examples/falling_balls/build.gradle.kts

@ -6,7 +6,7 @@ plugins {
// __KOTLIN_COMPOSE_VERSION__
kotlin("jvm") version "1.5.21"
// __LATEST_COMPOSE_RELEASE_VERSION__
id("org.jetbrains.compose") version "0.5.0-build270"
id("org.jetbrains.compose") version "1.0.0-alpha1-rc1"
}
group = "me.user"
@ -14,12 +14,12 @@ version = "1.0"
repositories {
mavenCentral()
google()
maven { url = uri("https://maven.pkg.jetbrains.space/public/p/compose/dev") }
}
dependencies {
implementation(compose.desktop.currentOs)
implementation(compose.uiTooling)
}
tasks.withType<KotlinCompile>() {

2
examples/falling_balls/src/main/kotlin/Game.kt

@ -28,7 +28,7 @@ class Game {
var elapsed by mutableStateOf(0L)
var score by mutableStateOf(0)
var clicked by mutableStateOf(0)
private var clicked by mutableStateOf(0)
var started by mutableStateOf(false)
var paused by mutableStateOf(false)

4
examples/widgetsgallery/build.gradle.kts

@ -8,10 +8,10 @@ buildscript {
dependencies {
// __LATEST_COMPOSE_RELEASE_VERSION__
classpath("org.jetbrains.compose:compose-gradle-plugin:0.4.0")
classpath("org.jetbrains.compose:compose-gradle-plugin:1.0.0-alpha1-rc1")
classpath("com.android.tools.build:gradle:4.0.1")
// __KOTLIN_COMPOSE_VERSION__
classpath(kotlin("gradle-plugin", version = "1.5.10"))
classpath(kotlin("gradle-plugin", version = "1.5.21"))
}
}

Loading…
Cancel
Save