Reworked the examples.

This commit is contained in:
Erik C. Thauvin 2018-06-30 18:15:35 -07:00
parent 20914f19b4
commit e00dfe2c7b
28 changed files with 458 additions and 180 deletions

View file

@ -0,0 +1,25 @@
apply plugin: 'java'
apply plugin: 'application'
// ./gradlew
defaultTasks 'run'
def semverProcessor = 'net.thauvin.erik:semver:1.0.1'
sourceCompatibility = 1.8
targetCompatibility = 1.8
compileJava.options.annotationProcessorGeneratedSourcesDirectory = file("${projectDir}/src/generated")
mainClassName = 'com.example.Example'
repositories {
mavenLocal()
mavenCentral()
}
dependencies {
annotationProcessor semverProcessor
compileOnly semverProcessor
}