apply plugin: 'java' apply plugin: 'application' apply plugin: 'com.github.johnrengelman.shadow' evaluationDependsOn(':wpilibj') mainClassName = 'edu.wpi.first.wpilibj.test.AntJunitLanucher' buildscript { repositories { jcenter() } dependencies { classpath 'com.github.jengelman.gradle.plugins:shadow:1.2.1' } } def wpilibj = project(':wpilibj') dependencies { compile wpilibj.sourceSets.shared.output compile wpilibj.sourceSets.athena.output compile files(wpilibj.jar.archivePath) compile 'edu.wpi.first.wpilib.networktables.java:NetworkTables:3.0.0-SNAPSHOT:arm' 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' } build.dependsOn shadowJar jar { wpilibj.binaries.withType(SharedLibraryBinarySpec) { from(file(it.sharedLibraryFile)) { into 'linux-arm' } } dependsOn wpilibj.jar } shadowJar { wpilibj.binaries.withType(SharedLibraryBinarySpec) { from(file(it.sharedLibraryFile)) { into 'linux-arm' } } }