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
|
||||
|
|
|
@ -1,28 +1,16 @@
|
|||
import net.thauvin.erik.gradle.semver.SemverConfig
|
||||
|
||||
buildscript {
|
||||
repositories {
|
||||
mavenLocal()
|
||||
}
|
||||
dependencies {
|
||||
classpath("net.thauvin.erik.gradle:semver:0.9.2-beta")
|
||||
}
|
||||
}
|
||||
|
||||
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.3-beta"
|
||||
}
|
||||
|
||||
apply {
|
||||
plugin("net.thauvin.erik.gradle.semver")
|
||||
}
|
||||
|
||||
|
||||
// ./gradlew
|
||||
// ./gradlew runJava
|
||||
// ./gradlew run runJava
|
||||
// ./gradlew clean incrementPatch run
|
||||
// ./gradlew clean incrementMinor run
|
||||
// ./gradlew clean incrementMajor run
|
||||
|
||||
defaultTasks(ApplicationPlugin.TASK_RUN_NAME)
|
||||
|
||||
|
|
|
@ -1,7 +1,7 @@
|
|||
#Generated by the Semver Plugin for Gradle
|
||||
#Mon Jul 02 01:47:00 PDT 2018
|
||||
#Mon Jul 02 12:30:21 PDT 2018
|
||||
version.prerelease=
|
||||
version.buildmeta=
|
||||
version.patch=0
|
||||
version.major=11
|
||||
version.minor=1
|
||||
version.buildmeta=
|
||||
version.patch=2
|
||||
version.major=11
|
||||
|
|
|
@ -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 incrementMinor run
|
||||
// ./gradlew incrementMajor run
|
||||
|
||||
plugins {
|
||||
id 'java'
|
||||
id 'application'
|
||||
}
|
||||
|
||||
apply plugin: 'net.thauvin.erik.gradle.semver'
|
||||
|
||||
mainClassName = 'App'
|
||||
|
||||
compileJava.options.annotationProcessorGeneratedSourcesDirectory = file("${projectDir}/src/generated")
|
||||
|
|
|
@ -1,7 +1,7 @@
|
|||
#Generated by the Semver Plugin for Gradle
|
||||
#Sun Jul 01 21:42:08 PDT 2018
|
||||
#Mon Jul 02 12:31:48 PDT 2018
|
||||
version.prerelease=
|
||||
version.minor=0
|
||||
version.buildmeta=
|
||||
version.patch=0
|
||||
version.major=1
|
||||
version.minor=0
|
||||
|
|
|
@ -1,21 +1,9 @@
|
|||
import net.thauvin.erik.gradle.semver.SemverConfig
|
||||
|
||||
buildscript {
|
||||
repositories {
|
||||
mavenLocal()
|
||||
}
|
||||
dependencies {
|
||||
classpath("net.thauvin.erik.gradle:semver:0.9.2-beta")
|
||||
}
|
||||
}
|
||||
|
||||
plugins {
|
||||
kotlin("jvm") version "1.2.50"
|
||||
application
|
||||
}
|
||||
|
||||
apply {
|
||||
plugin("net.thauvin.erik.gradle.semver")
|
||||
id("net.thauvin.erik.gradle.semver") version "0.9.3-beta"
|
||||
}
|
||||
|
||||
// ./gradlew
|
||||
|
|
|
@ -1,7 +1,7 @@
|
|||
#Generated by the Semver Plugin for Gradle
|
||||
#Sun Jul 01 22:34:20 PDT 2018
|
||||
#Mon Jul 02 12:34:38 PDT 2018
|
||||
version.prerelease=
|
||||
version.minor=0
|
||||
version.buildmeta=
|
||||
version.patch=0
|
||||
version.major=1
|
||||
version.minor=0
|
||||
|
|
|
@ -3,7 +3,7 @@ buildscript {
|
|||
mavenLocal()
|
||||
}
|
||||
dependencies {
|
||||
classpath "net.thauvin.erik.gradle:semver:0.9.2-beta"
|
||||
classpath "net.thauvin.erik.gradle:semver:0.9.3-beta"
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue