mirror of
https://github.com/wpilibsuite/allwpilib
synced 2026-06-28 02:11:43 +00:00
* Moved version generation to the WPILib versioning plugin. This also moves ntcore and wpilib to the latest available version. * Fixed description string. * Gave full path for ignored files.
31 lines
817 B
Groovy
31 lines
817 B
Groovy
plugins {
|
|
id 'java'
|
|
id 'application'
|
|
id 'com.github.johnrengelman.shadow' version '1.2.3'
|
|
}
|
|
apply plugin: 'net.ltgt.errorprone'
|
|
|
|
configurations.errorprone {
|
|
resolutionStrategy.force 'com.google.errorprone:error_prone_core:2.0.9'
|
|
}
|
|
|
|
evaluationDependsOn(':wpilibj')
|
|
|
|
mainClassName = 'edu.wpi.first.wpilibj.test.AntJunitLanucher'
|
|
|
|
def wpilibj = project(':wpilibj')
|
|
|
|
dependencies {
|
|
compile wpilibj
|
|
compile files(wpilibj.sourceSets.test.output.classesDir)
|
|
compile 'edu.wpi.first.wpilib.networktables.java:NetworkTables:+: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'
|
|
}
|
|
|
|
compileJava.dependsOn tasks.getByPath(':wpilibj:testClasses')
|
|
|
|
build.dependsOn shadowJar
|