mirror of
https://github.com/wpilibsuite/allwpilib
synced 2026-06-20 00:51:42 +00:00
22 lines
710 B
Groovy
22 lines
710 B
Groovy
|
|
def testOutputFolder = file("${project(':').buildDir}/integrationTestFiles")
|
||
|
|
|
||
|
|
model {
|
||
|
|
tasks {
|
||
|
|
copyWpilibJTestLibrariesToOutput(Copy) {
|
||
|
|
destinationDir testOutputFolder
|
||
|
|
$.binaries.each {
|
||
|
|
if (it in SharedLibraryBinarySpec && it.targetPlatform.architecture.name == 'athena') {
|
||
|
|
def spec = it
|
||
|
|
dependsOn spec.buildTask
|
||
|
|
from(spec.sharedLibraryFile) {
|
||
|
|
into '/libs'
|
||
|
|
}
|
||
|
|
}
|
||
|
|
}
|
||
|
|
outputs.file testOutputFolder
|
||
|
|
outputs.upToDateWhen { false }
|
||
|
|
}
|
||
|
|
build.dependsOn copyWpilibJTestLibrariesToOutput
|
||
|
|
}
|
||
|
|
}
|