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 | |
} | |
} |