Fixed CI issues.
This commit is contained in:
parent
b73e9597c1
commit
351f117d38
2 changed files with 2 additions and 3 deletions
|
@ -1,4 +1,5 @@
|
||||||
language: java
|
language: java
|
||||||
|
dist: trusty
|
||||||
|
|
||||||
env:
|
env:
|
||||||
global:
|
global:
|
||||||
|
|
|
@ -84,9 +84,7 @@ pmd {
|
||||||
tasks.withType(JavaCompile) {
|
tasks.withType(JavaCompile) {
|
||||||
options.encoding = 'UTF-8'
|
options.encoding = 'UTF-8'
|
||||||
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" ]
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
|
|
||||||
compileJava {
|
compileJava {
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue