-
Notifications
You must be signed in to change notification settings - Fork 7
Open
Description
To migrate from legacy apply plugin to plugins block, the alternative of:
buildscript {
repositories {
mavenLocal()
mavenCentral()
}
dependencies {
classpath 'org.mini2Dx:gettext-gradle-plugin:1.7.1'
}
}
project(":your-project") {
apply plugin: "org.mini2Dx.gettext"
...
would be:
plugins {
id("org.mini2Dx.gettext") version "1.11.0"
}But it didn't work for some reason, any idea?
I asked on Slack and a developer called Björn Kautler (@Vampire on Slack) said:
it does not publish the marker artifacts that are necessary to translate from the Plugin ID to the actual code artifact.
The reason I'm interested in using the plugins block is not only for migrating to the new way of doing things but also for adding support to Gradle Kotlin DSL, you don't have to write it in Kotlin DSL (.KTS), only the publishing bug needs to be fixed, he also said Type-safe accessors are only generated for plugins you apply in the plugins { ... ] block
Thank you.
hakanai
Metadata
Metadata
Assignees
Labels
No labels