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 {
|
plugins {
|
||||||
id 'java'
|
id 'java'
|
||||||
id 'application'
|
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
|
// ./gradlew
|
||||||
|
|
|
@ -16,9 +16,9 @@ public final class GeneratedVersion {
|
||||||
public final static String BUILDMETA_PREFIX = "+";
|
public final static String BUILDMETA_PREFIX = "+";
|
||||||
|
|
||||||
public final static String PROJECT = "";
|
public final static String PROJECT = "";
|
||||||
public final static Date BUILDDATE = new Date(1530835680171L);
|
public final static Date BUILDDATE = new Date(1531013360196L);
|
||||||
public final static int MAJOR = 1;
|
public final static int MAJOR = 2;
|
||||||
public final static int MINOR = 2;
|
public final static int MINOR = 1;
|
||||||
public final static int PATCH = 1;
|
public final static int PATCH = 1;
|
||||||
public final static String PRERELEASE = "";
|
public final static String PRERELEASE = "";
|
||||||
public final static String BUILDMETA = "";
|
public final static String BUILDMETA = "";
|
||||||
|
|
|
@ -1,7 +1,7 @@
|
||||||
#Generated by the Semver Plugin for Gradle
|
#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.prerelease=
|
||||||
version.minor=0
|
|
||||||
version.buildmeta=
|
version.buildmeta=
|
||||||
version.patch=0
|
version.patch=1
|
||||||
version.major=2
|
version.major=2
|
||||||
|
version.minor=1
|
||||||
|
|
|
@ -4,7 +4,7 @@ plugins {
|
||||||
kotlin("jvm") version "1.2.50"
|
kotlin("jvm") version "1.2.50"
|
||||||
application
|
application
|
||||||
id("org.jetbrains.kotlin.kapt") version "1.2.50"
|
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
|
// ./gradlew
|
||||||
|
@ -33,8 +33,8 @@ application {
|
||||||
}
|
}
|
||||||
|
|
||||||
configure<SemverConfig> {
|
configure<SemverConfig> {
|
||||||
//properties = "example.properties"
|
// properties = "example.properties"
|
||||||
//keysPrefix = "example."
|
// keysPrefix = "example."
|
||||||
//preReleaseKey = "release"
|
// preReleaseKey = "release"
|
||||||
//buildMetaKey = "meta"
|
// buildMetaKey = "meta"
|
||||||
}
|
}
|
||||||
|
|
|
@ -1,7 +1,7 @@
|
||||||
#Generated by the Semver Plugin for Gradle
|
#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.prerelease=
|
||||||
version.minor=1
|
|
||||||
version.buildmeta=
|
version.buildmeta=
|
||||||
version.patch=2
|
version.patch=1
|
||||||
version.major=11
|
version.major=11
|
||||||
|
version.minor=2
|
||||||
|
|
|
@ -1,7 +1,7 @@
|
||||||
plugins {
|
plugins {
|
||||||
id 'java'
|
id 'java'
|
||||||
id 'application'
|
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
|
// ./gradlew
|
||||||
|
@ -31,10 +31,10 @@ test {
|
||||||
}
|
}
|
||||||
|
|
||||||
semver {
|
semver {
|
||||||
// properties = "example.properties"
|
// properties = "example.properties"
|
||||||
// keysPrefix = "example."
|
// keysPrefix = "example."
|
||||||
// preReleaseKey = "release"
|
// preReleaseKey = "release"
|
||||||
// buildMetaKey = "meta"
|
// buildMetaKey = "meta"
|
||||||
}
|
}
|
||||||
|
|
||||||
run {
|
run {
|
||||||
|
@ -42,6 +42,6 @@ run {
|
||||||
println "Version: $version"
|
println "Version: $version"
|
||||||
}
|
}
|
||||||
|
|
||||||
// args = ['example.properties']
|
// args = ['example.properties']
|
||||||
args = ['version.properties']
|
args = ['version.properties']
|
||||||
}
|
}
|
|
@ -1,7 +1,7 @@
|
||||||
#Generated by the Semver Plugin for Gradle
|
#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.prerelease=
|
||||||
version.buildmeta=
|
version.buildmeta=
|
||||||
version.patch=2
|
version.patch=1
|
||||||
version.major=1
|
version.major=1
|
||||||
version.minor=0
|
version.minor=1
|
||||||
|
|
|
@ -3,7 +3,7 @@ import net.thauvin.erik.gradle.semver.SemverConfig
|
||||||
plugins {
|
plugins {
|
||||||
kotlin("jvm") version "1.2.50"
|
kotlin("jvm") version "1.2.50"
|
||||||
application
|
application
|
||||||
id("net.thauvin.erik.gradle.semver") version "0.9.4-beta"
|
id("net.thauvin.erik.gradle.semver") version "0.9.5-beta"
|
||||||
}
|
}
|
||||||
|
|
||||||
// ./gradlew
|
// ./gradlew
|
||||||
|
@ -27,10 +27,10 @@ application {
|
||||||
}
|
}
|
||||||
|
|
||||||
configure<SemverConfig> {
|
configure<SemverConfig> {
|
||||||
//properties = "example.properties"
|
// properties = "example.properties"
|
||||||
//keysPrefix = "example."
|
// keysPrefix = "example."
|
||||||
//preReleaseKey = "release"
|
// preReleaseKey = "release"
|
||||||
//buildMetaKey = "meta"
|
// buildMetaKey = "meta"
|
||||||
}
|
}
|
||||||
|
|
||||||
tasks {
|
tasks {
|
||||||
|
@ -43,7 +43,7 @@ tasks {
|
||||||
println("Version: $version")
|
println("Version: $version")
|
||||||
}
|
}
|
||||||
|
|
||||||
// args = listof("example.properties")
|
// args = listOf("example.properties")
|
||||||
args = listOf("version.properties")
|
args = listOf("version.properties")
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
|
@ -1,7 +1,7 @@
|
||||||
#Generated by the Semver Plugin for Gradle
|
#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.prerelease=
|
||||||
version.buildmeta=
|
version.buildmeta=
|
||||||
version.patch=0
|
version.patch=1
|
||||||
version.major=1
|
version.major=1
|
||||||
version.minor=0
|
version.minor=2
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue