##// END OF EJS Templates
java/org/implab/gradle/Utils rmoved to org/implab/gradle/mercurial/Utils to resolve conflicts with other plugins
cin -
r4:645e2e6a0875 v1.0.1 default
parent child
Show More
@@ -1,2 +1,2
1 group=org.implab.gradle
1 group=org.implab.gradle
2 version=1.0.0 No newline at end of file
2 version=1.0.1 No newline at end of file
@@ -11,7 +11,6 import java.util.regex.Matcher;
11 import java.util.regex.Pattern;
11 import java.util.regex.Pattern;
12
12
13 import org.gradle.api.Project;
13 import org.gradle.api.Project;
14 import org.implab.gradle.Utils;
15
14
16 import groovy.lang.Closure;
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 import java.io.ByteArrayOutputStream;
3 import java.io.ByteArrayOutputStream;
4 import java.io.Closeable;
4 import java.io.Closeable;
@@ -12,8 +12,8 import org.gradle.api.provider.ListPrope
12 import org.gradle.api.provider.Property;
12 import org.gradle.api.provider.Property;
13 import org.gradle.api.tasks.Internal;
13 import org.gradle.api.tasks.Internal;
14 import org.gradle.api.tasks.TaskAction;
14 import org.gradle.api.tasks.TaskAction;
15 import org.implab.gradle.Utils;
16 import org.implab.gradle.mercurial.MercurialExtension;
15 import org.implab.gradle.mercurial.MercurialExtension;
16 import org.implab.gradle.mercurial.Utils;
17
17
18 public class HgBookmark extends DefaultTask {
18 public class HgBookmark extends DefaultTask {
19
19
@@ -12,8 +12,8 import org.gradle.api.provider.ListPrope
12 import org.gradle.api.provider.Property;
12 import org.gradle.api.provider.Property;
13 import org.gradle.api.tasks.Internal;
13 import org.gradle.api.tasks.Internal;
14 import org.gradle.api.tasks.TaskAction;
14 import org.gradle.api.tasks.TaskAction;
15 import org.implab.gradle.Utils;
16 import org.implab.gradle.mercurial.MercurialExtension;
15 import org.implab.gradle.mercurial.MercurialExtension;
16 import org.implab.gradle.mercurial.Utils;
17
17
18 public class HgTag extends DefaultTask {
18 public class HgTag extends DefaultTask {
19
19
@@ -9,8 +9,8 import org.gradle.api.provider.Property;
9 import org.gradle.api.provider.Provider;
9 import org.gradle.api.provider.Provider;
10 import org.gradle.api.tasks.Internal;
10 import org.gradle.api.tasks.Internal;
11 import org.gradle.api.tasks.TaskAction;
11 import org.gradle.api.tasks.TaskAction;
12 import org.implab.gradle.Utils;
13 import org.implab.gradle.mercurial.MercurialExtension;
12 import org.implab.gradle.mercurial.MercurialExtension;
13 import org.implab.gradle.mercurial.Utils;
14
14
15 public class HgTask extends DefaultTask {
15 public class HgTask extends DefaultTask {
16
16
@@ -5,7 +5,7
5 ```groovy
5 ```groovy
6
6
7 plugins {
7 plugins {
8 id 'org.implab.gradle-mercurial' version '1.0.0' // or specify latest version
8 id 'org.implab.gradle-mercurial' version '1.0.1' // specify the latest version
9 }
9 }
10
10
11 mercurial {
11 mercurial {
@@ -15,7 +15,7 mercurial {
15 // this is the default behaviour
15 // this is the default behaviour
16 .addPatch(1)
16 .addPatch(1)
17 .withPreRelease('snapshot')
17 .withPreRelease('snapshot')
18 .withMeta('changeset')
18 .withMeta(changeset)
19 }
19 }
20
20
21 // get version from repository and apply it to the project
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