Michael Paus
06/24/2024, 1:35 PMmohamed rejeb
06/24/2024, 1:56 PMMichael Paus
06/24/2024, 2:01 PMmohamed rejeb
06/24/2024, 2:07 PMMichael Paus
06/24/2024, 2:12 PMkotlin {
jvm("desktop") {
withJava() // In order to be able to compile Java code too.
}
...
in my build.gradle.kts but I only get a
Caused by: org.gradle.api.InvalidUserCodeException: 'withJava()' is not compatible with Android Plugins
when I sync it.hfhbd
06/24/2024, 5:52 PMwithJava
to compile Java code. The withJava
applies the java Gradle plugin and this plugin is incompatible with the Android plugin.Michael Paus
06/24/2024, 8:03 PMephemient
06/24/2024, 11:16 PM