Browse Source

Migrate to 0.3.0-build146 (falling_balls)

pull/328/head
Igor Demin 4 years ago
parent
commit
229e652e25
  1. 15
      examples/falling_balls/.gitignore
  2. 6
      examples/falling_balls/build.gradle.kts
  3. 1
      examples/falling_balls/src/main/kotlin/Game.kt

15
examples/falling_balls/.gitignore vendored

@ -0,0 +1,15 @@
*.iml
.gradle
/local.properties
/.idea
/.idea/caches
/.idea/libraries
/.idea/modules.xml
/.idea/workspace.xml
/.idea/navEditor.xml
/.idea/assetWizardSettings.xml
.DS_Store
build/
/captures
.externalNativeBuild
.cxx

6
examples/falling_balls/build.gradle.kts

@ -3,8 +3,10 @@ import org.jetbrains.compose.desktop.application.dsl.TargetFormat
import org.jetbrains.kotlin.gradle.tasks.KotlinCompile
plugins {
kotlin("jvm") version "1.4.21"
id("org.jetbrains.compose") version "0.3.0-build136"
// __KOTLIN_COMPOSE_VERSION__
kotlin("jvm") version "1.4.21-2"
// __LATEST_COMPOSE_RELEASE_VERSION__
id("org.jetbrains.compose") version "0.3.0-build146"
}
group = "me.user"

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

@ -5,7 +5,6 @@ import androidx.compose.material.Button
import androidx.compose.material.Slider
import androidx.compose.material.Text
import androidx.compose.runtime.*
import androidx.compose.runtime.dispatch.withFrameNanos
import androidx.compose.ui.Modifier
import androidx.compose.ui.graphics.Color
import androidx.compose.ui.layout.onSizeChanged

Loading…
Cancel
Save