Skip to content

Commit

Permalink
[Fix] Downgrade Compose Compiler
Browse files Browse the repository at this point in the history
  • Loading branch information
jeluchu committed Sep 2, 2022
1 parent 1f11201 commit 8c1c4bb
Show file tree
Hide file tree
Showing 4 changed files with 3 additions and 11 deletions.
2 changes: 1 addition & 1 deletion app/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@ android {
}

composeOptions {
kotlinCompilerExtensionVersion = "1.3.0"
kotlinCompilerExtensionVersion = "1.2.0"
}

compileOptions {
Expand Down
8 changes: 0 additions & 8 deletions app/src/main/java/com/jeluchu/composer/MainActivity.kt
Original file line number Diff line number Diff line change
Expand Up @@ -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(),
Expand Down
2 changes: 1 addition & 1 deletion build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -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"
}
}
Expand Down
2 changes: 1 addition & 1 deletion jchucomponents/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ android {
}

buildFeatures.compose = true
composeOptions.kotlinCompilerExtensionVersion = "1.3.0"
composeOptions.kotlinCompilerExtensionVersion = "1.2.0"

buildTypes {
release {
Expand Down

0 comments on commit 8c1c4bb

Please sign in to comment.