Changed examples to point to published plugin.
This commit is contained in:
parent
4232328cd6
commit
e626476fab
27 changed files with 331 additions and 232 deletions
|
@ -1,10 +1,7 @@
|
|||
buildscript {
|
||||
repositories {
|
||||
mavenLocal()
|
||||
}
|
||||
dependencies {
|
||||
classpath "net.thauvin.erik.gradle:semver:0.9.2-beta"
|
||||
}
|
||||
plugins {
|
||||
id 'java'
|
||||
id 'application'
|
||||
id "net.thauvin.erik.gradle.semver" version "0.9.3-beta"
|
||||
}
|
||||
|
||||
// ./gradlew
|
||||
|
@ -12,13 +9,6 @@ buildscript {
|
|||
// ./gradlew clean incrementMinor run
|
||||
// ./gradlew clean incrementMajor run
|
||||
|
||||
plugins {
|
||||
id 'java'
|
||||
id 'application'
|
||||
}
|
||||
|
||||
apply plugin: 'net.thauvin.erik.gradle.semver'
|
||||
|
||||
mainClassName = 'com.example.Example'
|
||||
|
||||
defaultTasks 'run'
|
||||
|
|
|
@ -16,7 +16,7 @@ public final class GeneratedVersion {
|
|||
public final static String BUILDMETA_PREFIX = "+";
|
||||
|
||||
public final static String PROJECT = "";
|
||||
public final static Date BUILDDATE = new Date(1530516790148L);
|
||||
public final static Date BUILDDATE = new Date(1530560225038L);
|
||||
public final static int MAJOR = 1;
|
||||
public final static int MINOR = 0;
|
||||
public final static int PATCH = 0;
|
||||
|
|
|
@ -1,7 +1,7 @@
|
|||
#Generated by the Semver Plugin for Gradle
|
||||
#Mon Jul 02 00:24:34 PDT 2018
|
||||
#Mon Jul 02 12:23:13 PDT 2018
|
||||
version.prerelease=
|
||||
version.minor=0
|
||||
version.buildmeta=
|
||||
version.patch=0
|
||||
version.major=2
|
||||
version.minor=0
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue