blob: 865b801470db5b2756b87c51eebad1d3cf26285e [file] [log] [blame]
John Park7eb90422018-01-27 12:04:57 -08001plugins {
2 id 'java'
3 id 'application'
4 id 'com.github.johnrengelman.shadow' version '1.2.3'
5}
6
7repositories {
8 mavenCentral()
9}
10
11mainClassName = 'edu.wpi.first.wpilibj.test.AntJunitLanucher'
12
13dependencies {
14 compile project(':wpilibj')
15 compile files(project(':wpilibj').sourceSets.test.output)
16 compile 'edu.wpi.first.wpiutil:wpiutil-java:3.+'
17 compile 'edu.wpi.first.ntcore:ntcore-java:4.+'
18 compile 'org.opencv:opencv-java:3.2.0'
19 compile 'edu.wpi.first.cscore:cscore-java:1.+'
20 compile 'junit:junit:4.11'
21 compile 'com.googlecode.junit-toolbox:junit-toolbox:2.0'
22 compile 'org.apache.ant:ant:1.9.4'
23 compile 'org.apache.ant:ant-junit:1.9.4'
24}
25
26build.dependsOn shadowJar
27
28def testOutputFolder = file("${project(':').buildDir}/integrationTestFiles")
29
30task copyWpilibJIntegrationTestJarToOutput(type: Copy) {
31 destinationDir testOutputFolder
32 dependsOn shadowJar
33 inputs.file shadowJar
34 from (shadowJar) {
35 into 'java'
36 }
37}
38
39build.dependsOn copyWpilibJIntegrationTestJarToOutput