diff --git a/gradle.properties b/gradle.properties --- a/gradle.properties +++ b/gradle.properties @@ -1,2 +1,2 @@ group=org.implab.gradle -version=1.0.0 \ No newline at end of file +version=1.0.1 \ No newline at end of file diff --git a/mercurial/src/main/java/org/implab/gradle/mercurial/MercurialExtension.java b/mercurial/src/main/java/org/implab/gradle/mercurial/MercurialExtension.java --- a/mercurial/src/main/java/org/implab/gradle/mercurial/MercurialExtension.java +++ b/mercurial/src/main/java/org/implab/gradle/mercurial/MercurialExtension.java @@ -11,7 +11,6 @@ import java.util.regex.Matcher; import java.util.regex.Pattern; import org.gradle.api.Project; -import org.implab.gradle.Utils; import groovy.lang.Closure; diff --git a/mercurial/src/main/java/org/implab/gradle/Utils.java b/mercurial/src/main/java/org/implab/gradle/mercurial/Utils.java rename from mercurial/src/main/java/org/implab/gradle/Utils.java rename to mercurial/src/main/java/org/implab/gradle/mercurial/Utils.java --- a/mercurial/src/main/java/org/implab/gradle/Utils.java +++ b/mercurial/src/main/java/org/implab/gradle/mercurial/Utils.java @@ -1,4 +1,4 @@ -package org.implab.gradle; +package org.implab.gradle.mercurial; import java.io.ByteArrayOutputStream; import java.io.Closeable; diff --git a/mercurial/src/main/java/org/implab/gradle/mercurial/tasks/HgBookmark.java b/mercurial/src/main/java/org/implab/gradle/mercurial/tasks/HgBookmark.java --- a/mercurial/src/main/java/org/implab/gradle/mercurial/tasks/HgBookmark.java +++ b/mercurial/src/main/java/org/implab/gradle/mercurial/tasks/HgBookmark.java @@ -12,8 +12,8 @@ import org.gradle.api.provider.ListPrope import org.gradle.api.provider.Property; import org.gradle.api.tasks.Internal; import org.gradle.api.tasks.TaskAction; -import org.implab.gradle.Utils; import org.implab.gradle.mercurial.MercurialExtension; +import org.implab.gradle.mercurial.Utils; public class HgBookmark extends DefaultTask { diff --git a/mercurial/src/main/java/org/implab/gradle/mercurial/tasks/HgTag.java b/mercurial/src/main/java/org/implab/gradle/mercurial/tasks/HgTag.java --- a/mercurial/src/main/java/org/implab/gradle/mercurial/tasks/HgTag.java +++ b/mercurial/src/main/java/org/implab/gradle/mercurial/tasks/HgTag.java @@ -12,8 +12,8 @@ import org.gradle.api.provider.ListPrope import org.gradle.api.provider.Property; import org.gradle.api.tasks.Internal; import org.gradle.api.tasks.TaskAction; -import org.implab.gradle.Utils; import org.implab.gradle.mercurial.MercurialExtension; +import org.implab.gradle.mercurial.Utils; public class HgTag extends DefaultTask { diff --git a/mercurial/src/main/java/org/implab/gradle/mercurial/tasks/HgTask.java b/mercurial/src/main/java/org/implab/gradle/mercurial/tasks/HgTask.java --- a/mercurial/src/main/java/org/implab/gradle/mercurial/tasks/HgTask.java +++ b/mercurial/src/main/java/org/implab/gradle/mercurial/tasks/HgTask.java @@ -9,8 +9,8 @@ import org.gradle.api.provider.Property; import org.gradle.api.provider.Provider; import org.gradle.api.tasks.Internal; import org.gradle.api.tasks.TaskAction; -import org.implab.gradle.Utils; import org.implab.gradle.mercurial.MercurialExtension; +import org.implab.gradle.mercurial.Utils; public class HgTask extends DefaultTask { diff --git a/readme.md b/readme.md --- a/readme.md +++ b/readme.md @@ -5,7 +5,7 @@ ```groovy plugins { - id 'org.implab.gradle-mercurial' version '1.0.0' // or specify latest version + id 'org.implab.gradle-mercurial' version '1.0.1' // specify the latest version } mercurial { @@ -15,7 +15,7 @@ mercurial { // this is the default behaviour .addPatch(1) .withPreRelease('snapshot') - .withMeta('changeset') + .withMeta(changeset) } // get version from repository and apply it to the project