Skip to content

Commit

Permalink
Migrate to kotlin 2.0
Browse files Browse the repository at this point in the history
  • Loading branch information
atick-faisal committed Jul 4, 2024
1 parent 886653f commit 8d6928a
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 8 deletions.
4 changes: 3 additions & 1 deletion .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -87,4 +87,6 @@ lint/tmp/
# lint/reports/

# Android Profiling
*.hprof
*.hprof

.kotlin
1 change: 1 addition & 0 deletions build.gradle.kts
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
plugins {
id("com.android.library") version "8.5.0" apply false
id("org.jetbrains.kotlin.android") version "2.0.0" apply false
id("org.jetbrains.kotlin.plugin.compose") version "2.0.0" apply false
}
9 changes: 2 additions & 7 deletions material-color/build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -14,13 +14,14 @@
* limitations under the License.
*/

val libraryVersion = "5.0.0"
val libraryVersion = "5.1.0"
val composeVersion = "1.6.8"
val composeCompilerVersion = "1.5.14"

plugins {
id("com.android.library")
id("kotlin-android")
id("org.jetbrains.kotlin.plugin.compose")
id("maven-publish")
}

Expand All @@ -32,7 +33,6 @@ android {
consumerProguardFiles("consumer-rules.pro")
}

@Suppress("UnstableApiUsage")
buildTypes {
release {
isMinifyEnabled = true
Expand All @@ -52,15 +52,10 @@ android {
jvmTarget = "17"
}

@Suppress("UnstableApiUsage")
buildFeatures {
compose = true
}

composeOptions {
kotlinCompilerExtensionVersion = composeCompilerVersion
}

publishing {
singleVariant("release") {
withSourcesJar()
Expand Down

0 comments on commit 8d6928a

Please # to comment.