2015-09-24 20:26:49 -04:00
|
|
|
apply plugin: 'java'
|
|
|
|
|
apply plugin: 'application'
|
|
|
|
|
apply plugin: 'com.github.johnrengelman.shadow'
|
2016-05-20 13:48:41 -04:00
|
|
|
apply plugin: 'net.ltgt.errorprone'
|
|
|
|
|
|
|
|
|
|
configurations.errorprone {
|
|
|
|
|
resolutionStrategy.force 'com.google.errorprone:error_prone_core:2.0.9'
|
|
|
|
|
}
|
2015-09-24 20:26:49 -04:00
|
|
|
|
|
|
|
|
evaluationDependsOn(':wpilibj')
|
|
|
|
|
|
|
|
|
|
mainClassName = 'edu.wpi.first.wpilibj.test.AntJunitLanucher'
|
|
|
|
|
|
|
|
|
|
buildscript {
|
|
|
|
|
repositories { jcenter() }
|
|
|
|
|
dependencies {
|
2016-07-02 16:32:14 -07:00
|
|
|
classpath 'com.github.jengelman.gradle.plugins:shadow:1.2.3'
|
2015-09-24 20:26:49 -04:00
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
def wpilibj = project(':wpilibj')
|
|
|
|
|
|
|
|
|
|
dependencies {
|
2016-07-02 16:32:14 -07:00
|
|
|
compile wpilibj
|
|
|
|
|
compile files(wpilibj.sourceSets.test.output.classesDir)
|
2015-11-25 10:56:30 -05:00
|
|
|
compile 'edu.wpi.first.wpilib.networktables.java:NetworkTables:3.0.0-SNAPSHOT:arm'
|
2015-09-24 20:26:49 -04:00
|
|
|
compile 'junit:junit:4.11'
|
|
|
|
|
compile 'com.googlecode.junit-toolbox:junit-toolbox:2.0'
|
|
|
|
|
compile 'org.apache.ant:ant:1.9.4'
|
|
|
|
|
compile 'org.apache.ant:ant-junit:1.9.4'
|
|
|
|
|
}
|
|
|
|
|
|
2016-05-20 15:15:14 -04:00
|
|
|
compileJava.dependsOn tasks.getByPath(':wpilibj:testClasses')
|
|
|
|
|
|
2015-09-24 20:26:49 -04:00
|
|
|
build.dependsOn shadowJar
|