Squashed 'third_party/allwpilib_2019/' content from commit bd05dfa1c
Change-Id: I2b1c2250cdb9b055133780c33593292098c375b7
git-subtree-dir: third_party/allwpilib_2019
git-subtree-split: bd05dfa1c7cca74c4fac451e7b9d6a37e7b53447
diff --git a/wpilibjIntegrationTests/build.gradle b/wpilibjIntegrationTests/build.gradle
new file mode 100644
index 0000000..2fc6793
--- /dev/null
+++ b/wpilibjIntegrationTests/build.gradle
@@ -0,0 +1,49 @@
+plugins {
+ id 'java'
+ id 'application'
+}
+
+ext {
+ useJava = true
+ useCpp = false
+ skipDev = true
+}
+
+apply from: "${rootDir}/shared/opencv.gradle"
+
+mainClassName = 'edu.wpi.first.wpilibj.test.AntJunitLanucher'
+
+apply plugin: 'com.github.johnrengelman.shadow'
+
+repositories {
+ mavenCentral()
+}
+
+dependencies {
+ compile project(':wpilibj')
+ compile project(':hal')
+ compile project(':wpiutil')
+ compile project(':ntcore')
+ compile project(':cscore')
+ compile project(':cameraserver')
+ compile 'junit:junit:4.11'
+ testCompile 'org.hamcrest:hamcrest-all:1.3'
+ 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
+
+def testOutputFolder = file("${project(':').buildDir}/integrationTestFiles")
+
+task copyWpilibJIntegrationTestJarToOutput(type: Copy) {
+ destinationDir testOutputFolder
+ dependsOn shadowJar
+ inputs.file shadowJar.archivePath
+ from(shadowJar) {
+ into 'java'
+ }
+}
+
+build.dependsOn copyWpilibJIntegrationTestJarToOutput