Fixed CI issues.

This commit is contained in:
Erik C. Thauvin 2019-07-28 17:00:27 -07:00
parent b73e9597c1
commit 351f117d38
2 changed files with 2 additions and 3 deletions

View file

@ -1,4 +1,5 @@
language: java language: java
dist: trusty
env: env:
global: global:

View file

@ -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 {