Added JDK 12 processor argument configuration.
This commit is contained in:
parent
d45e700b6b
commit
7a1ff7ee24
1 changed files with 5 additions and 0 deletions
|
@ -23,6 +23,11 @@ dependencies {
|
|||
implementation semverProcessor
|
||||
}
|
||||
|
||||
// For Java 12+
|
||||
tasks.withType(JavaCompile) {
|
||||
options.compilerArgs += [ "-Asemver.project.dir=$projectDir" ]
|
||||
}
|
||||
|
||||
repositories {
|
||||
mavenLocal()
|
||||
jcenter()
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue