Cleaned examples.
This commit is contained in:
parent
ff77b4e0b6
commit
762ff8553f
9 changed files with 33 additions and 33 deletions
|
@ -1,7 +1,7 @@
|
|||
plugins {
|
||||
id 'java'
|
||||
id 'application'
|
||||
id "net.thauvin.erik.gradle.semver" version "0.9.4-beta"
|
||||
id "net.thauvin.erik.gradle.semver" version "0.9.5-beta"
|
||||
}
|
||||
|
||||
// ./gradlew
|
||||
|
|
|
@ -16,9 +16,9 @@ public final class GeneratedVersion {
|
|||
public final static String BUILDMETA_PREFIX = "+";
|
||||
|
||||
public final static String PROJECT = "";
|
||||
public final static Date BUILDDATE = new Date(1530835680171L);
|
||||
public final static int MAJOR = 1;
|
||||
public final static int MINOR = 2;
|
||||
public final static Date BUILDDATE = new Date(1531013360196L);
|
||||
public final static int MAJOR = 2;
|
||||
public final static int MINOR = 1;
|
||||
public final static int PATCH = 1;
|
||||
public final static String PRERELEASE = "";
|
||||
public final static String BUILDMETA = "";
|
||||
|
|
|
@ -1,7 +1,7 @@
|
|||
#Generated by the Semver Plugin for Gradle
|
||||
#Tue Jul 03 11:59:56 PDT 2018
|
||||
#Sat Jul 07 18:29:19 PDT 2018
|
||||
version.prerelease=
|
||||
version.minor=0
|
||||
version.buildmeta=
|
||||
version.patch=0
|
||||
version.patch=1
|
||||
version.major=2
|
||||
version.minor=1
|
||||
|
|
|
@ -4,7 +4,7 @@ plugins {
|
|||
kotlin("jvm") version "1.2.50"
|
||||
application
|
||||
id("org.jetbrains.kotlin.kapt") version "1.2.50"
|
||||
id("net.thauvin.erik.gradle.semver") version "0.9.4-beta"
|
||||
id("net.thauvin.erik.gradle.semver") version "0.9.5-beta"
|
||||
}
|
||||
|
||||
// ./gradlew
|
||||
|
@ -33,8 +33,8 @@ application {
|
|||
}
|
||||
|
||||
configure<SemverConfig> {
|
||||
//properties = "example.properties"
|
||||
//keysPrefix = "example."
|
||||
//preReleaseKey = "release"
|
||||
//buildMetaKey = "meta"
|
||||
// properties = "example.properties"
|
||||
// keysPrefix = "example."
|
||||
// preReleaseKey = "release"
|
||||
// buildMetaKey = "meta"
|
||||
}
|
||||
|
|
|
@ -1,7 +1,7 @@
|
|||
#Generated by the Semver Plugin for Gradle
|
||||
#Tue Jul 03 12:10:18 PDT 2018
|
||||
#Sat Jul 07 18:29:24 PDT 2018
|
||||
version.prerelease=
|
||||
version.minor=1
|
||||
version.buildmeta=
|
||||
version.patch=2
|
||||
version.patch=1
|
||||
version.major=11
|
||||
version.minor=2
|
||||
|
|
|
@ -1,7 +1,7 @@
|
|||
plugins {
|
||||
id 'java'
|
||||
id 'application'
|
||||
id "net.thauvin.erik.gradle.semver" version "0.9.4-beta"
|
||||
id "net.thauvin.erik.gradle.semver" version "0.9.5-beta"
|
||||
}
|
||||
|
||||
// ./gradlew
|
||||
|
@ -31,10 +31,10 @@ test {
|
|||
}
|
||||
|
||||
semver {
|
||||
// properties = "example.properties"
|
||||
// keysPrefix = "example."
|
||||
// preReleaseKey = "release"
|
||||
// buildMetaKey = "meta"
|
||||
// properties = "example.properties"
|
||||
// keysPrefix = "example."
|
||||
// preReleaseKey = "release"
|
||||
// buildMetaKey = "meta"
|
||||
}
|
||||
|
||||
run {
|
||||
|
@ -42,6 +42,6 @@ run {
|
|||
println "Version: $version"
|
||||
}
|
||||
|
||||
// args = ['example.properties']
|
||||
// args = ['example.properties']
|
||||
args = ['version.properties']
|
||||
}
|
|
@ -1,7 +1,7 @@
|
|||
#Generated by the Semver Plugin for Gradle
|
||||
#Sat Jul 07 01:16:12 PDT 2018
|
||||
#Sat Jul 07 18:29:10 PDT 2018
|
||||
version.prerelease=
|
||||
version.buildmeta=
|
||||
version.patch=2
|
||||
version.patch=1
|
||||
version.major=1
|
||||
version.minor=0
|
||||
version.minor=1
|
||||
|
|
|
@ -3,7 +3,7 @@ import net.thauvin.erik.gradle.semver.SemverConfig
|
|||
plugins {
|
||||
kotlin("jvm") version "1.2.50"
|
||||
application
|
||||
id("net.thauvin.erik.gradle.semver") version "0.9.4-beta"
|
||||
id("net.thauvin.erik.gradle.semver") version "0.9.5-beta"
|
||||
}
|
||||
|
||||
// ./gradlew
|
||||
|
@ -27,10 +27,10 @@ application {
|
|||
}
|
||||
|
||||
configure<SemverConfig> {
|
||||
//properties = "example.properties"
|
||||
//keysPrefix = "example."
|
||||
//preReleaseKey = "release"
|
||||
//buildMetaKey = "meta"
|
||||
// properties = "example.properties"
|
||||
// keysPrefix = "example."
|
||||
// preReleaseKey = "release"
|
||||
// buildMetaKey = "meta"
|
||||
}
|
||||
|
||||
tasks {
|
||||
|
@ -43,7 +43,7 @@ tasks {
|
|||
println("Version: $version")
|
||||
}
|
||||
|
||||
// args = listof("example.properties")
|
||||
// args = listOf("example.properties")
|
||||
args = listOf("version.properties")
|
||||
}
|
||||
}
|
||||
|
|
|
@ -1,7 +1,7 @@
|
|||
#Generated by the Semver Plugin for Gradle
|
||||
#Sat Jul 07 00:50:57 PDT 2018
|
||||
#Sat Jul 07 18:29:14 PDT 2018
|
||||
version.prerelease=
|
||||
version.buildmeta=
|
||||
version.patch=0
|
||||
version.patch=1
|
||||
version.major=1
|
||||
version.minor=0
|
||||
version.minor=2
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue