Reworked the examples.
This commit is contained in:
parent
20914f19b4
commit
e00dfe2c7b
28 changed files with 458 additions and 180 deletions
25
examples/java/build.gradle
Normal file
25
examples/java/build.gradle
Normal 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
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue