File tree 7 files changed +77
-0
lines changed
clojure/gradle-build-logic/java-plugins
groovy/gradle-build-logic/java-plugins
groovy-dsl/gradle-build-logic/java-plugins
java/gradle-build-logic/java-plugins
kotlin/gradle-build-logic/java-plugins
kotlin-dsl/gradle-build-logic/java-plugins
scala/gradle-build-logic/java-plugins
7 files changed +77
-0
lines changed Original file line number Diff line number Diff line change 1
1
plugins {
2
2
id(" java-gradle-plugin" )
3
3
id(" dev.clojurephant.clojure" ) version " 0.6.0"
4
+ id(" maven-publish" ) // if you never publish the plugin, you may remove this (but it also does not hurt)
5
+ id(" com.gradle.plugin-publish" ) version " 1.0.0" // if you do not publish to the Gradle Plugin Portal, you may remove this (but it also does not hurt)
4
6
}
5
7
6
8
// clojurephant plugin specifics
@@ -30,3 +32,12 @@ dependencies {
30
32
because(" Provides the 'com.diffplug.spotless' formatting plugin" )
31
33
}
32
34
}
35
+
36
+ // if you do not publish, the following is optional
37
+ version = " 1.0"
38
+ publishing.repositories.maven(" ../../../_gradle-plugins-repository" ) // own repository to publish to (if needed) - run ':publish' task
39
+ pluginBundle { // Plugin Portal Metadata (only needed if you publish to Gradle Plugin Portal) - run ':publishPlugins' task
40
+ website = " https://github.com/jjohannes/gradle-plugins-howto"
41
+ vcsUrl = " https://github.com/jjohannes/gradle-plugins-howto.git"
42
+ tags = listOf (" example" )
43
+ }
Original file line number Diff line number Diff line change 1
1
plugins {
2
2
id(" groovy-gradle-plugin" )
3
+ id(" maven-publish" ) // if you never publish the plugin, you may remove this (but it also does not hurt)
4
+ id(" com.gradle.plugin-publish" ) version " 1.0.0" // if you do not publish to the Gradle Plugin Portal, you may remove this (but it also does not hurt)
3
5
}
4
6
5
7
group = " software.onepiece.gradle.pluginshowto"
@@ -11,3 +13,12 @@ dependencies {
11
13
because(" Provides the 'com.diffplug.spotless' formatting plugin" )
12
14
}
13
15
}
16
+
17
+ // if you do not publish, the following is optional
18
+ version = " 1.0"
19
+ publishing.repositories.maven(" ../../../_gradle-plugins-repository" ) // own repository to publish to (if needed) - run ':publish' task
20
+ pluginBundle { // Plugin Portal Metadata (only needed if you publish to Gradle Plugin Portal) - run ':publishPlugins' task
21
+ website = " https://github.com/jjohannes/gradle-plugins-howto"
22
+ vcsUrl = " https://github.com/jjohannes/gradle-plugins-howto.git"
23
+ tags = listOf (" example" )
24
+ }
Original file line number Diff line number Diff line change 1
1
plugins {
2
2
id(" java-gradle-plugin" )
3
3
id(" groovy" )
4
+ id(" maven-publish" ) // if you never publish the plugin, you may remove this (but it also does not hurt)
5
+ id(" com.gradle.plugin-publish" ) version " 1.0.0" // if you do not publish to the Gradle Plugin Portal, you may remove this (but it also does not hurt)
4
6
}
5
7
6
8
group = " software.onepiece.gradle.pluginshowto"
@@ -26,3 +28,12 @@ dependencies {
26
28
because(" Provides the 'com.diffplug.spotless' formatting plugin" )
27
29
}
28
30
}
31
+
32
+ // if you do not publish, the following is optional
33
+ version = " 1.0"
34
+ publishing.repositories.maven(" ../../../_gradle-plugins-repository" ) // own repository to publish to (if needed) - run ':publish' task
35
+ pluginBundle { // Plugin Portal Metadata (only needed if you publish to Gradle Plugin Portal) - run ':publishPlugins' task
36
+ website = " https://github.com/jjohannes/gradle-plugins-howto"
37
+ vcsUrl = " https://github.com/jjohannes/gradle-plugins-howto.git"
38
+ tags = listOf (" example" )
39
+ }
Original file line number Diff line number Diff line change 1
1
plugins {
2
2
id(" java-gradle-plugin" )
3
+ id(" maven-publish" ) // if you never publish the plugin, you may remove this (but it also does not hurt)
4
+ id(" com.gradle.plugin-publish" ) version " 1.0.0" // if you do not publish to the Gradle Plugin Portal, you may remove this (but it also does not hurt)
3
5
}
4
6
5
7
group = " software.onepiece.gradle.pluginshowto"
@@ -25,3 +27,12 @@ dependencies {
25
27
because(" Provides the 'com.diffplug.spotless' formatting plugin" )
26
28
}
27
29
}
30
+
31
+ // if you do not publish, the following is optional
32
+ version = " 1.0"
33
+ publishing.repositories.maven(" ../../../_gradle-plugins-repository" ) // own repository to publish to (if needed) - run ':publish' task
34
+ pluginBundle { // Plugin Portal Metadata (only needed if you publish to Gradle Plugin Portal) - run ':publishPlugins' task
35
+ website = " https://github.com/jjohannes/gradle-plugins-howto"
36
+ vcsUrl = " https://github.com/jjohannes/gradle-plugins-howto.git"
37
+ tags = listOf (" example" )
38
+ }
Original file line number Diff line number Diff line change 1
1
plugins {
2
2
`kotlin- dsl`
3
+ id(" maven-publish" ) // if you never publish the plugin, you may remove this (but it also does not hurt)
4
+ id(" com.gradle.plugin-publish" ) version " 1.0.0" // if you do not publish to the Gradle Plugin Portal, you may remove this (but it also does not hurt)
3
5
}
4
6
5
7
group = " software.onepiece.gradle.pluginshowto"
@@ -11,3 +13,12 @@ dependencies {
11
13
because(" Provides the 'com.diffplug.spotless' formatting plugin" )
12
14
}
13
15
}
16
+
17
+ // if you do not publish, the following is optional
18
+ version = " 1.0"
19
+ publishing.repositories.maven(" ../../../_gradle-plugins-repository" ) // own repository to publish to (if needed) - run ':publish' task
20
+ pluginBundle { // Plugin Portal Metadata (only needed if you publish to Gradle Plugin Portal) - run ':publishPlugins' task
21
+ website = " https://github.com/jjohannes/gradle-plugins-howto"
22
+ vcsUrl = " https://github.com/jjohannes/gradle-plugins-howto.git"
23
+ tags = listOf (" example" )
24
+ }
Original file line number Diff line number Diff line change 1
1
plugins {
2
2
id(" java-gradle-plugin" )
3
3
id(" org.jetbrains.kotlin.jvm" ) version " 1.5.21" // caveat: version should match version embedded in Gradle version you are using
4
+ id(" maven-publish" ) // if you never publish the plugin, you may remove this (but it also does not hurt)
5
+ id(" com.gradle.plugin-publish" ) version " 1.0.0" // if you do not publish to the Gradle Plugin Portal, you may remove this (but it also does not hurt)
4
6
}
5
7
6
8
group = " software.onepiece.gradle.pluginshowto"
@@ -26,3 +28,12 @@ dependencies {
26
28
because(" Provides the 'com.diffplug.spotless' formatting plugin" )
27
29
}
28
30
}
31
+
32
+ // if you do not publish, the following is optional
33
+ version = " 1.0"
34
+ publishing.repositories.maven(" ../../../_gradle-plugins-repository" ) // own repository to publish to (if needed) - run ':publish' task
35
+ pluginBundle { // Plugin Portal Metadata (only needed if you publish to Gradle Plugin Portal) - run ':publishPlugins' task
36
+ website = " https://github.com/jjohannes/gradle-plugins-howto"
37
+ vcsUrl = " https://github.com/jjohannes/gradle-plugins-howto.git"
38
+ tags = listOf (" example" )
39
+ }
Original file line number Diff line number Diff line change 1
1
plugins {
2
2
id(" java-gradle-plugin" )
3
3
id(" scala" )
4
+ id(" maven-publish" ) // if you never publish the plugin, you may remove this (but it also does not hurt)
5
+ id(" com.gradle.plugin-publish" ) version " 1.0.0" // if you do not publish to the Gradle Plugin Portal, you may remove this (but it also does not hurt)
4
6
}
5
7
6
8
dependencies { implementation(" org.scala-lang:scala-library:2.13.6" ) }
@@ -28,3 +30,12 @@ dependencies {
28
30
because(" Provides the 'com.diffplug.spotless' formatting plugin" )
29
31
}
30
32
}
33
+
34
+ // if you do not publish, the following is optional
35
+ version = " 1.0"
36
+ publishing.repositories.maven(" ../../../_gradle-plugins-repository" ) // own repository to publish to (if needed) - run ':publish' task
37
+ pluginBundle { // Plugin Portal Metadata (only needed if you publish to Gradle Plugin Portal) - run ':publishPlugins' task
38
+ website = " https://github.com/jjohannes/gradle-plugins-howto"
39
+ vcsUrl = " https://github.com/jjohannes/gradle-plugins-howto.git"
40
+ tags = listOf (" example" )
41
+ }
You can’t perform that action at this time.
0 commit comments