mobile-multiplatform-gradle-plugin icon indicating copy to clipboard operation
mobile-multiplatform-gradle-plugin copied to clipboard

The plugin uses deprecated `android()` Kotlin target

Open ALikhachev opened this issue 1 year ago • 2 comments

https://github.com/icerockdev/mobile-multiplatform-gradle-plugin/blob/0d86f0442f29fca50f826b2c64a93614543e1cf1/src/main/kotlin/dev/icerock/gradle/MobileTargetsPlugin.kt#L35

This android() target was deprecated in 1.9.0 and is going to be removed in Kotlin 2.2.0: https://kotlinlang.org/docs/multiplatform-compatibility-guide.html#android-target-rename

ALikhachev avatar Feb 07 '25 08:02 ALikhachev

hi. thx for report. can you please describe what parts of our plugin you use? at now in our projects we successfully migrate to official kotlin multiplatform plugin without our additions.

Alex009 avatar Feb 07 '25 18:02 Alex009

Hey @Alex009, I’m deleting the current android() target from Kotlin Gradle plugin and thus informing you that the plugin stops working after that. I’m not using this plugin 🙂

ALikhachev avatar Feb 08 '25 17:02 ALikhachev