##// END OF EJS Templates
Minor fixes in build settings and documentation
cin -
r3:3065e34e2bec default
parent child
Show More
@@ -0,0 +1,5
1 subprojects { p ->
2 plugins.withId('java') {
3 p.archivesBaseName = "$rootProject.name-$p.name";
4 }
5 } No newline at end of file
@@ -1,6 +1,8
1 plugins {
1 plugins {
2 id "java-gradle-plugin"
2 id "java-gradle-plugin"
3 id "com.gradle.plugin-publish" version "0.16.0"
3 id "com.gradle.plugin-publish" version "0.20.0"
4 // Apply the Maven Publish Plugin to have it generate the publication metadata
5 id 'maven-publish'
4 }
6 }
5
7
6 repositories {
8 repositories {
@@ -12,8 +14,6 gradlePlugin {
12 mercurialPlugin {
14 mercurialPlugin {
13 id = 'org.implab.gradle-mercurial'
15 id = 'org.implab.gradle-mercurial'
14 implementationClass = 'org.implab.gradle.mercurial.MercurialPlugin'
16 implementationClass = 'org.implab.gradle.mercurial.MercurialPlugin'
15 displayName = "Integrates mercurial into the build script"
16 description = 'Automatically calculates version using tags. Simple wrapper around cli.'
17 }
17 }
18 }
18 }
19 }
19 }
@@ -22,5 +22,17 pluginBundle {
22 website = 'https://code.implab.org/implab/gradle-mercurial-plugin'
22 website = 'https://code.implab.org/implab/gradle-mercurial-plugin'
23 vcsUrl = 'https://code.implab.org/implab/gradle-mercurial-plugin'
23 vcsUrl = 'https://code.implab.org/implab/gradle-mercurial-plugin'
24
24
25 tags = ['hg', 'mercurial']
25 plugins {
26 mercurialPlugin {
27 displayName = "Integrates mercurial into the build script"
28 description = 'Automatically calculates version using tags. Simple wrapper around cli.'
29 tags = ['hg', 'mercurial', 'versioning']
30 }
31 }
26 }
32 }
33
34 task printVersion {
35 doLast {
36 println "${->jar.archiveFileName.get()}"
37 }
38 } No newline at end of file
@@ -5,7 +5,7
5 ```groovy
5 ```groovy
6
6
7 plugins {
7 plugins {
8 id 'org.implab.gradle-mercurial' version '1.0'
8 id 'org.implab.gradle-mercurial' version '1.0.0' // or specify latest version
9 }
9 }
10
10
11 mercurial {
11 mercurial {
@@ -8,6 +8,6
8 * in the user guide at https://docs.gradle.org/3.5/userguide/multi_project_builds.html
8 * in the user guide at https://docs.gradle.org/3.5/userguide/multi_project_builds.html
9 */
9 */
10
10
11 rootProject.name = 'plugins'
11 rootProject.name = 'implab-gradle'
12
12
13 include 'mercurial'
13 include 'mercurial'
General Comments 0
You need to be logged in to leave comments. Login now