Removed Java 12 syntax.
This commit is contained in:
parent
14a72542ff
commit
1580bfca98
3 changed files with 10 additions and 20 deletions
|
@ -14,7 +14,7 @@ final def semverProcessor = 'net.thauvin.erik:semver:1.2.0'
|
|||
sourceCompatibility = 1.8
|
||||
targetCompatibility = 1.8
|
||||
|
||||
compileJava.options.annotationProcessorGeneratedSourcesDirectory = file("${projectDir}/src/generated/java")
|
||||
compileJava.
|
||||
|
||||
mainClassName = 'com.example.Example'
|
||||
|
||||
|
@ -29,5 +29,6 @@ dependencies {
|
|||
}
|
||||
|
||||
tasks.withType(JavaCompile) {
|
||||
options.compilerArgs += [ "-Asemver.project.dir=${projectDir}/example" ]
|
||||
options.annotationProcessorGeneratedSourcesDirectory = file("${projectDir}/src/generated/java")
|
||||
options.compilerArgs += [ "-Asemver.project.dir=${projectDir}/example" ]
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue