Removed Java 12 syntax.
This commit is contained in:
parent
bf51d1d826
commit
765c07a85e
1 changed files with 1 additions and 3 deletions
|
@ -23,9 +23,7 @@ dependencies {
|
||||||
|
|
||||||
tasks.withType(JavaCompile) {
|
tasks.withType(JavaCompile) {
|
||||||
options.annotationProcessorGeneratedSourcesDirectory = file("${projectDir}/src/generated/java")
|
options.annotationProcessorGeneratedSourcesDirectory = file("${projectDir}/src/generated/java")
|
||||||
if (JavaVersion.current().isJava12Compatible()) {
|
options.compilerArgs += [ "-Asemver.project.dir=$projectDir" ]
|
||||||
options.compilerArgs += [ "-Asemver.project.dir=$projectDir" ]
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
|
|
||||||
repositories {
|
repositories {
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue