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
* What went wrong:
Plugin with id 'gradle-plugin' not found.
The documentation describes this as "the old way", but the new way documented doesn't work unless you're in the main build file, which I am not.
Describe the solution you'd like
Documentation gives a working example of how to apply the plugin for Gradle Kotlin DSL.
Documentation does not use the wording "the old way" unless it also describes a newer alternative which works in files which are not the main build script.
The text was updated successfully, but these errors were encountered:
What is your use-case and why do you need this feature?
I was trying to use
kotlinx.serialization
from a Gradle build script which is not the main build script.So far, I have verified that this is legal:
The documentation for applying it for Groovy in Kotlin syntax ends up as this:
But this fails the build with:
The documentation describes this as "the old way", but the new way documented doesn't work unless you're in the main build file, which I am not.
Describe the solution you'd like
The text was updated successfully, but these errors were encountered: