mirror of
https://github.com/wpilibsuite/allwpilib
synced 2026-06-23 01:21:42 +00:00
35 lines
885 B
Groovy
35 lines
885 B
Groovy
apply plugin: 'java'
|
|
apply plugin: 'maven-publish'
|
|
apply plugin: 'net.ltgt.errorprone'
|
|
|
|
configurations.errorprone {
|
|
resolutionStrategy.force 'com.google.errorprone:error_prone_core:2.0.9'
|
|
}
|
|
|
|
sourceSets {
|
|
shared
|
|
}
|
|
|
|
dependencies {
|
|
sharedCompile 'edu.wpi.first.wpilib.networktables.java:NetworkTables:3.0.0-SNAPSHOT:arm'
|
|
sharedRuntime 'edu.wpi.first.wpilib.networktables.java:NetworkTables:3.0.0-SNAPSHOT:arm'
|
|
testCompile 'org.hamcrest:hamcrest-all:1.3'
|
|
testCompile 'junit:junit:4.12'
|
|
testCompile 'edu.wpi.first.wpilib.networktables.java:NetworkTables:3.0.0-SNAPSHOT:desktop'
|
|
testCompile 'com.google.guava:guava:19.0'
|
|
testCompile sourceSets.shared.output
|
|
}
|
|
|
|
apply from: 'athena.gradle'
|
|
|
|
if (project.hasProperty('makeSim')) {
|
|
apply from: 'simulation.gradle'
|
|
}
|
|
|
|
test {
|
|
testLogging {
|
|
events "failed"
|
|
exceptionFormat "full"
|
|
}
|
|
}
|