From cbdc8e2722ab63e5b85fe57924a00121a69c6f25 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?J=C3=A9luchu?= Date: Sat, 3 Sep 2022 01:38:51 +0200 Subject: [PATCH] =?UTF-8?q?[Fix]=C2=A0Downgrade=20Compose=20Compiler?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- app/build.gradle | 2 +- app/src/main/java/com/jeluchu/composer/MainActivity.kt | 8 -------- build.gradle | 2 +- jchucomponents/build.gradle | 4 ++-- 4 files changed, 4 insertions(+), 12 deletions(-) diff --git a/app/build.gradle b/app/build.gradle index cb5541d3..910435de 100644 --- a/app/build.gradle +++ b/app/build.gradle @@ -35,7 +35,7 @@ android { } composeOptions { - kotlinCompilerExtensionVersion = "1.3.0" + kotlinCompilerExtensionVersion = "1.2.0" } compileOptions { diff --git a/app/src/main/java/com/jeluchu/composer/MainActivity.kt b/app/src/main/java/com/jeluchu/composer/MainActivity.kt index 1b75cfa8..d2eb0621 100644 --- a/app/src/main/java/com/jeluchu/composer/MainActivity.kt +++ b/app/src/main/java/com/jeluchu/composer/MainActivity.kt @@ -56,14 +56,6 @@ class MainActivity : ComponentActivity() { SearchView(state = textState) data class Algo(val id: Int, val name: String) - val test = listOf(Algo(0, "H"), Algo(1, "o"), Algo(2, "l"), Algo(3, "a")) - - ListColumn( - items = test, - key = { it.id } - ) { item -> - Text(text = item.name) - } StoryCard( modifier = Modifier.animateItem(), diff --git a/build.gradle b/build.gradle index c5470b64..6753b524 100644 --- a/build.gradle +++ b/build.gradle @@ -12,7 +12,7 @@ buildscript { } dependencies { classpath 'com.android.tools.build:gradle:7.2.2' - classpath "org.jetbrains.kotlin:kotlin-gradle-plugin:1.7.10" + classpath "org.jetbrains.kotlin:kotlin-gradle-plugin:1.7.0" classpath "org.jetbrains.dokka:dokka-gradle-plugin:1.7.10" } } diff --git a/jchucomponents/build.gradle b/jchucomponents/build.gradle index 39e2df3d..306c9a45 100644 --- a/jchucomponents/build.gradle +++ b/jchucomponents/build.gradle @@ -23,7 +23,7 @@ android { } buildFeatures.compose = true - composeOptions.kotlinCompilerExtensionVersion = "1.3.0" + composeOptions.kotlinCompilerExtensionVersion = "1.2.0" buildTypes { release { @@ -117,7 +117,7 @@ afterEvaluate { from components.release groupId = "com.jeluchu" artifactId = "jchucomponents" - version = "1.0.0-beta01" + version = "1.0.0-beta03" } } }