Open blackwiz4rd opened 2 days ago
The androidTarget() is missing in the generation of kotlin multiplatform code, as well as proguard rules.
androidTarget()
Changes requested:
build.gradle.kts
plugins { id("com.android.library") } kotlin { ... androidTarget() ... } android { namespace = "${moduleName}" buildTypes { getByName("release") { isMinifyEnabled = true proguardFiles( getDefaultProguardFile("proguard-android-optimize.txt"), "proguard-rules.pro" ) } } .... (defaultConfig, compileOptions) kotlin { jvmToolchain(LATEST_JAVA_VERSION) } }
proguard-rules.pro:
proguard-rules.pro
-dontwarn java.lang.invoke.StringConcatFactory
Manually add to gradle config.
can you please file a PR with the suggested change? thanks
Is your feature request related to a problem? Please describe.
The
androidTarget()
is missing in the generation of kotlin multiplatform code, as well as proguard rules.Describe the solution you'd like
Changes requested:
build.gradle.kts
proguard-rules.pro
:Describe alternatives you've considered
Manually add to gradle config.