Slackbot
05/21/2023, 11:50 AMVampire
05/21/2023, 11:58 AMLeandro Borges Ferreira
05/21/2023, 12:01 PMcom.gradle.plugin-publish
. But I would like to keep the configuration in another file, so my build.gradle.kts
gets simpler.
But yeah, if I don’t get type-safe, there’s kinda not point in extracting itLeandro Borges Ferreira
05/21/2023, 12:02 PMbuild.gradle.kts
thenVampire
05/21/2023, 12:03 PM./scripts/publish.gradle.kts
is a script plugin.
One that you apply with apply from
.
=> This is badVampire
05/21/2023, 12:03 PMVampire
05/21/2023, 12:04 PMbuildSrc/src/main/kotlin
or in src/main/kotlin
of any included build, that you apply just like normal plugins using their IDVampire
05/21/2023, 12:04 PMLeandro Borges Ferreira
05/21/2023, 12:06 PMLeandro Borges Ferreira
05/21/2023, 12:31 PMplugins {
`java-library`
checkstyle
-> id("com.gradle.plugin-publish")
}
Inside the sample pre compiled plugin (the one in the documentation), it breaks everything o.OLeandro Borges Ferreira
05/21/2023, 12:34 PMLeandro Borges Ferreira
05/21/2023, 12:34 PMVampire
05/21/2023, 12:39 PMLeandro Borges Ferreira
05/21/2023, 1:54 PM