You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I don't think we can avoid this on our side unfortunately, it's how Gradle's classloaders work and we need the Kotlin Gradle plugin to be available on the classpath if this plugin is used on a Kotlin project. I agree on the documentation though and we could also have a nicer error message.
I moved the plugin extension configuration mainly to a convention plugin in the
buildSrc
project.buildSrc/build.gradle.kts
buildSrc/src/main/kotlin/custom-maven-publish.gradle.kts
When I apply the plugin, I get the following crash:
Stacktrace
I managed to find a workaround by additionally adding the kotlin gradle plugin to the
buildSrc
project.buildSrc/build.gradle.kts
But it would be nice, if this wouldn't be needed, or at least mentioned in the documentation.
The text was updated successfully, but these errors were encountered: