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
|
implementation semverProcessor
|
||||||
}
|
}
|
||||||
|
|
||||||
|
// For Java 12+
|
||||||
|
tasks.withType(JavaCompile) {
|
||||||
|
options.compilerArgs += [ "-Asemver.project.dir=$projectDir" ]
|
||||||
|
}
|
||||||
|
|
||||||
repositories {
|
repositories {
|
||||||
mavenLocal()
|
mavenLocal()
|
||||||
jcenter()
|
jcenter()
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue