blob: 175c7c969c9fb4c84c92a7de6235cbd20477c871 [file] [log] [blame]
John Park7eb90422018-01-27 12:04:57 -08001def testOutputFolder = file("${project(':').buildDir}/integrationTestFiles")
2
3model {
4 tasks {
5 copyWpilibJTestLibrariesToOutput(Copy) {
6 destinationDir testOutputFolder
7 $.binaries.each {
8 if (it in SharedLibraryBinarySpec && it.targetPlatform.architecture.name == 'athena') {
9 def spec = it
10 dependsOn spec.buildTask
11 from(spec.sharedLibraryFile) {
12 into '/libs'
13 }
14 }
15 }
16 outputs.file testOutputFolder
17 outputs.upToDateWhen { false }
18 }
19 build.dependsOn copyWpilibJTestLibrariesToOutput
20 }
21}