File tree Expand file tree Collapse file tree 1 file changed +8
-5
lines changed Expand file tree Collapse file tree 1 file changed +8
-5
lines changed Original file line number Diff line number Diff line change @@ -17,16 +17,19 @@ dependencies {
1717 testImplementation(" org.spockframework:spock-core:2.1-groovy-3.0" )
1818}
1919
20+ val pluginId = " de.jjohannes.extra-java-module-info"
21+ val pluginClass = " de.jjohannes.gradle.javamodules.ExtraModuleInfoPlugin"
2022val pluginName = " Extra Java Module Info Gradle Plugin"
2123val pluginDescription = " Add module information to legacy Java libraries."
24+ val pluginBundleTags = listOf (" java" , " modularity" , " jigsaw" , " jpms" )
2225val pluginGitHub = " https://github.com/jjohannes/extra-java-module-info"
2326
2427gradlePlugin {
2528 plugins {
26- create(" extra-java-module-info " ) {
27- id = " de.jjohannes.extra-java-module-info "
28- implementationClass = " de.jjohannes.gradle.javamodules.ExtraModuleInfoPlugin "
29- displayName = pluginDescription
29+ create(project.name ) {
30+ id = pluginId
31+ implementationClass = pluginClass
32+ displayName = pluginName
3033 description = pluginDescription
3134 }
3235 }
@@ -35,7 +38,7 @@ gradlePlugin {
3538pluginBundle {
3639 website = pluginGitHub
3740 vcsUrl = pluginGitHub
38- tags = listOf ( " java " , " modularity " , " jigsaw " , " jpms " )
41+ tags = pluginBundleTags
3942}
4043
4144publishing {
You can’t perform that action at this time.
0 commit comments