@@ -1,2 +1,2 | |||
|
1 | 1 | group=org.implab.gradle |
|
2 |
version=1.0. |
|
|
2 | version=1.0.1 No newline at end of file |
@@ -11,7 +11,6 import java.util.regex.Matcher; | |||
|
11 | 11 | import java.util.regex.Pattern; |
|
12 | 12 | |
|
13 | 13 | import org.gradle.api.Project; |
|
14 | import org.implab.gradle.Utils; | |
|
15 | 14 | |
|
16 | 15 | import groovy.lang.Closure; |
|
17 | 16 |
@@ -1,4 +1,4 | |||
|
1 | package org.implab.gradle; | |
|
1 | package org.implab.gradle.mercurial; | |
|
2 | 2 | |
|
3 | 3 | import java.io.ByteArrayOutputStream; |
|
4 | 4 | import java.io.Closeable; |
@@ -12,8 +12,8 import org.gradle.api.provider.ListPrope | |||
|
12 | 12 | import org.gradle.api.provider.Property; |
|
13 | 13 | import org.gradle.api.tasks.Internal; |
|
14 | 14 | import org.gradle.api.tasks.TaskAction; |
|
15 | import org.implab.gradle.Utils; | |
|
16 | 15 | import org.implab.gradle.mercurial.MercurialExtension; |
|
16 | import org.implab.gradle.mercurial.Utils; | |
|
17 | 17 | |
|
18 | 18 | public class HgBookmark extends DefaultTask { |
|
19 | 19 |
@@ -12,8 +12,8 import org.gradle.api.provider.ListPrope | |||
|
12 | 12 | import org.gradle.api.provider.Property; |
|
13 | 13 | import org.gradle.api.tasks.Internal; |
|
14 | 14 | import org.gradle.api.tasks.TaskAction; |
|
15 | import org.implab.gradle.Utils; | |
|
16 | 15 | import org.implab.gradle.mercurial.MercurialExtension; |
|
16 | import org.implab.gradle.mercurial.Utils; | |
|
17 | 17 | |
|
18 | 18 | public class HgTag extends DefaultTask { |
|
19 | 19 |
@@ -9,8 +9,8 import org.gradle.api.provider.Property; | |||
|
9 | 9 | import org.gradle.api.provider.Provider; |
|
10 | 10 | import org.gradle.api.tasks.Internal; |
|
11 | 11 | import org.gradle.api.tasks.TaskAction; |
|
12 | import org.implab.gradle.Utils; | |
|
13 | 12 | import org.implab.gradle.mercurial.MercurialExtension; |
|
13 | import org.implab.gradle.mercurial.Utils; | |
|
14 | 14 | |
|
15 | 15 | public class HgTask extends DefaultTask { |
|
16 | 16 |
@@ -5,7 +5,7 | |||
|
5 | 5 | ```groovy |
|
6 | 6 | |
|
7 | 7 | plugins { |
|
8 |
id 'org.implab.gradle-mercurial' version '1.0. |
|
|
8 | id 'org.implab.gradle-mercurial' version '1.0.1' // specify the latest version | |
|
9 | 9 | } |
|
10 | 10 | |
|
11 | 11 | mercurial { |
@@ -15,7 +15,7 mercurial { | |||
|
15 | 15 | // this is the default behaviour |
|
16 | 16 | .addPatch(1) |
|
17 | 17 | .withPreRelease('snapshot') |
|
18 |
.withMeta( |
|
|
18 | .withMeta(changeset) | |
|
19 | 19 | } |
|
20 | 20 | |
|
21 | 21 | // get version from repository and apply it to the project |
General Comments 0
You need to be logged in to leave comments.
Login now