Fixes athena runtime zip not being built at the correct times (#306)

This commit is contained in:
Thad House
2016-10-27 22:01:28 -07:00
committed by Peter Johnson
parent 247cef5ec2
commit e75e9092a8

View File

@@ -156,7 +156,7 @@ task athenaRuntimeZip(type: Zip) {
// Add the hal static and shared libraries as a dependency
project(':hal').tasks.whenTaskAdded { task ->
if (task.name.toLowerCase() == 'halathenastaticlibrary' || task.name.toLowerCase() == 'halathenasharedlibrary') {
halZip.dependsOn task
athenaRuntimeZip.dependsOn task
}
}
}
@@ -182,3 +182,6 @@ publishing {
setupWpilibRepo(it)
}
build.dependsOn halZip
build.dependsOn athenaRuntimeZip