Added new example with custom properties and template.

This commit is contained in:
Erik C. Thauvin 2019-04-27 20:10:50 -07:00
parent 0fb4324d8d
commit f801ce03fe
28 changed files with 533 additions and 65 deletions

View file

@ -4,7 +4,8 @@ plugins {
id 'com.github.ben-manes.versions' version '0.21.0'
}
// ./gradlew
// ./gradlew run
// ./gradlew runExample
defaultTasks 'run'
@ -15,7 +16,7 @@ targetCompatibility = 1.8
compileJava.options.annotationProcessorGeneratedSourcesDirectory = file("${projectDir}/src/generated/java")
mainClassName = 'com.example.Example'
mainClassName = 'com.example.App'
repositories {
mavenLocal()
@ -26,3 +27,10 @@ dependencies {
annotationProcessor semverProcessor
compileOnly semverProcessor
}
task runExample(type: JavaExec) {
group = 'application'
classpath = sourceSets.main.runtimeClasspath
main = 'com.example.Example'
}