Removed Java 12 syntax.
This commit is contained in:
parent
14a72542ff
commit
1580bfca98
3 changed files with 10 additions and 20 deletions
|
@ -28,9 +28,7 @@ dependencies {
|
|||
|
||||
tasks.withType(JavaCompile) {
|
||||
options.annotationProcessorGeneratedSourcesDirectory = file("${projectDir}/src/generated/java")
|
||||
if (JavaVersion.current().isJava12Compatible()) {
|
||||
options.compilerArgs += [ "-Asemver.project.dir=$projectDir" ]
|
||||
}
|
||||
options.compilerArgs += [ "-Asemver.project.dir=$projectDir" ]
|
||||
}
|
||||
|
||||
task runExample(type: JavaExec) {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue