diff --git a/examples/falling_balls/.gitignore b/examples/falling_balls/.gitignore new file mode 100644 index 0000000000..ba8435b9c5 --- /dev/null +++ b/examples/falling_balls/.gitignore @@ -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 \ No newline at end of file diff --git a/examples/falling_balls/build.gradle.kts b/examples/falling_balls/build.gradle.kts index e5079137f8..f6d80dfb7c 100644 --- a/examples/falling_balls/build.gradle.kts +++ b/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" diff --git a/examples/falling_balls/src/main/kotlin/Game.kt b/examples/falling_balls/src/main/kotlin/Game.kt index c244657931..e1c32cb418 100644 --- a/examples/falling_balls/src/main/kotlin/Game.kt +++ b/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