mirror of
https://github.com/wpilibsuite/allwpilib
synced 2026-06-19 00:41:43 +00:00
Update errorprone config for Java 10 (#1265)
This commit is contained in:
committed by
Peter Johnson
parent
c2ceebfb9c
commit
44099d9a21
@@ -1,6 +1,11 @@
|
||||
apply plugin: 'maven-publish'
|
||||
apply plugin: 'java'
|
||||
apply plugin: 'net.ltgt.errorprone'
|
||||
|
||||
if (JavaVersion.current() == JavaVersion.VERSION_1_8) {
|
||||
apply plugin: 'net.ltgt.errorprone'
|
||||
} else {
|
||||
apply plugin: 'net.ltgt.errorprone-javacplugin'
|
||||
}
|
||||
|
||||
def pubVersion
|
||||
if (project.hasProperty("publishVersion")) {
|
||||
|
||||
Reference in New Issue
Block a user