File tree Expand file tree Collapse file tree 2 files changed +7
-9
lines changed
src/main/kotlin/dev/icerock/moko/gradle Expand file tree Collapse file tree 2 files changed +7
-9
lines changed Original file line number Diff line number Diff line change 11[versions ]
2- mokoGradlePluginVersion = " 0.4.2 "
2+ mokoGradlePluginVersion = " 0.4.3 "
33
44kotlinVersion = " 1.9.25"
55androidGradlePluginVerison = " 8.3.2"
Original file line number Diff line number Diff line change 44
55package dev.icerock.moko.gradle
66
7- import com.android.build.gradle.AppExtension
7+ import com.android.build.api.dsl.ApplicationExtension
88import org.gradle.api.Plugin
99import org.gradle.api.Project
1010import org.gradle.kotlin.dsl.configure
@@ -18,7 +18,7 @@ class AndroidAppPlugin : Plugin<Project> {
1818 apply (AndroidBasePlugin ::class .java)
1919 }
2020
21- target.configure<AppExtension > {
21+ target.configure<ApplicationExtension > {
2222 buildTypes {
2323 getByName(" release" ) {
2424 isMinifyEnabled = true
@@ -33,12 +33,10 @@ class AndroidAppPlugin : Plugin<Project> {
3333 }
3434 }
3535
36- packagingOptions {
37- with (resources.excludes) {
38- add(" META-INF/*.kotlin_module" )
39- add(" META-INF/AL2.0" )
40- add(" META-INF/LGPL2.1" )
41- }
36+ packaging {
37+ resources.excludes.add(" META-INF/*.kotlin_module" )
38+ resources.excludes.add(" META-INF/AL2.0" )
39+ resources.excludes.add(" META-INF/LGPL2.1" )
4240 }
4341 }
4442 }
You can’t perform that action at this time.
0 commit comments