From e75e9092a89b32015b25f4bfe32c6d420f52c0e5 Mon Sep 17 00:00:00 2001 From: Thad House Date: Thu, 27 Oct 2016 22:01:28 -0700 Subject: [PATCH] Fixes athena runtime zip not being built at the correct times (#306) --- hal/build.gradle | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/hal/build.gradle b/hal/build.gradle index a0ddb52ee6..d00e8fc09a 100644 --- a/hal/build.gradle +++ b/hal/build.gradle @@ -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