Skip to content

Commit

Permalink
Update Supporting Pane to Kotlin 2
Browse files Browse the repository at this point in the history
  • Loading branch information
Rob Orgiu committed Sep 2, 2024
1 parent 0a4dc5f commit 11692f8
Show file tree
Hide file tree
Showing 3 changed files with 10 additions and 6 deletions.
13 changes: 9 additions & 4 deletions CanonicalLayouts/supporting-pane-compose/app/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,8 @@
plugins {
id 'com.android.application'
id 'org.jetbrains.kotlin.android'
id("org.jetbrains.kotlin.plugin.compose") version "2.0.0"

}

android {
Expand Down Expand Up @@ -52,20 +54,23 @@ android {
buildFeatures {
compose true
}
composeOptions {
kotlinCompilerExtensionVersion '1.3.2'
}
packagingOptions {
resources {
excludes += '/META-INF/{AL2.0,LGPL2.1}'
}
}
}

composeCompiler {
enableStrongSkippingMode = true

reportsDestination = layout.buildDirectory.dir("compose_compiler")
}

dependencies {
def composeBom = platform('androidx.compose:compose-bom:2024.08.00')
implementation(composeBom)

implementation 'androidx.core:core-ktx:1.13.1'
implementation 'androidx.lifecycle:lifecycle-runtime-ktx:2.8.4'
implementation 'androidx.activity:activity-compose:1.9.1'
Expand Down
2 changes: 1 addition & 1 deletion CanonicalLayouts/supporting-pane-compose/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -16,5 +16,5 @@
plugins {
id 'com.android.application' version '8.6.0' apply false
id 'com.android.library' version '8.6.0' apply false
id 'org.jetbrains.kotlin.android' version '1.7.20' apply false
id 'org.jetbrains.kotlin.android' version '2.0.0' apply false
}
1 change: 0 additions & 1 deletion CanonicalLayouts/supporting-pane-compose/gradle.properties
Original file line number Diff line number Diff line change
Expand Up @@ -21,5 +21,4 @@ kotlin.code.style=official
# resources declared in the library itself and none from the library's dependencies,
# thereby reducing the size of the R class for that library
android.nonTransitiveRClass=true
android.defaults.buildfeatures.buildconfig=true
android.nonFinalResIds=false

0 comments on commit 11692f8

Please sign in to comment.