mirror of
https://github.com/wpilibsuite/allwpilib
synced 2026-06-19 00:41:43 +00:00
Updates the gradle version to 2.14. In doing so, some model elements have changed. Additionally, some redundant elements have been removed from the gradle scripts.
36 lines
965 B
Groovy
36 lines
965 B
Groovy
apply plugin: 'java'
|
|
apply plugin: 'application'
|
|
apply plugin: 'com.github.johnrengelman.shadow'
|
|
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'
|
|
|
|
buildscript {
|
|
repositories { jcenter() }
|
|
dependencies {
|
|
classpath 'com.github.jengelman.gradle.plugins:shadow:1.2.3'
|
|
}
|
|
}
|
|
|
|
def wpilibj = project(':wpilibj')
|
|
|
|
dependencies {
|
|
compile wpilibj
|
|
compile files(wpilibj.sourceSets.test.output.classesDir)
|
|
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'
|
|
}
|
|
|
|
compileJava.dependsOn tasks.getByPath(':wpilibj:testClasses')
|
|
|
|
build.dependsOn shadowJar
|