Skip to content

Commit

Permalink
Update to Compose Compiler 1.2.0 and Kotlin 1.7.0
Browse files Browse the repository at this point in the history
  • Loading branch information
Nick Rout committed Jun 30, 2022
1 parent 79dc0e5 commit 3e021df
Show file tree
Hide file tree
Showing 4 changed files with 5 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ object Libs {
const val mdc = "com.google.android.material:material:1.7.0-alpha02"

object Kotlin {
const val version = "1.6.21"
const val version = "1.7.0"
const val stdlib = "org.jetbrains.kotlin:kotlin-stdlib:$version"
const val gradlePlugin = "org.jetbrains.kotlin:kotlin-gradle-plugin:$version"

Expand All @@ -53,6 +53,7 @@ object Libs {
}

const val version = "1.2.0-rc03"
const val compilerVersion = "1.2.0"

const val runtime = "androidx.compose.runtime:runtime:$version"
const val foundation = "androidx.compose.foundation:foundation:${version}"
Expand Down
2 changes: 1 addition & 1 deletion material3Lib/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@ android {
}

composeOptions {
kotlinCompilerExtensionVersion Libs.AndroidX.Compose.version
kotlinCompilerExtensionVersion Libs.AndroidX.Compose.compilerVersion
}

lintOptions {
Expand Down
2 changes: 1 addition & 1 deletion materialLib/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@ android {
}

composeOptions {
kotlinCompilerExtensionVersion Libs.AndroidX.Compose.version
kotlinCompilerExtensionVersion Libs.AndroidX.Compose.compilerVersion
}

lintOptions {
Expand Down
2 changes: 1 addition & 1 deletion sample/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@ android {
}

composeOptions {
kotlinCompilerExtensionVersion Libs.AndroidX.Compose.version
kotlinCompilerExtensionVersion Libs.AndroidX.Compose.compilerVersion
}

buildTypes {
Expand Down

0 comments on commit 3e021df

Please sign in to comment.