Wojciech Zięba
04/20/2021, 3:51 PMlibA
and libB
. In libA
I apply org.jetbrains.kotlin.android
and in libB
: org.jetbrains.kotlin.jvm
. Plugins are managed via pluginManagement { ... }
in settings.gradle
.
The issue I have is that Kotlin Gradle plugin prints out a warning that The Kotlin Gradle plugin was loaded multiple times in different subprojects, which is not supported and may break the build.
Is it a false positive or plugin has been indeed loaded two times? If yes - why? And what is the suggested way to use Kotlin Gradle Plugin with Plugin DSL?
Issue with reproduction project is available heretapchicoma
04/20/2021, 7:56 PMWojciech Zięba
04/21/2021, 8:07 AM