From 958b187643e60d7574c4f2ed1c8e2b43547499d0 Mon Sep 17 00:00:00 2001 From: dragonmacher <48328597+dragonmacher@users.noreply.github.com> Date: Tue, 13 Aug 2019 18:50:11 -0400 Subject: [PATCH] Gradle - updated gradle to run when not using standard repo names - review fixes --- build.gradle | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/build.gradle b/build.gradle index 8d134329f1..bd26cb6378 100644 --- a/build.gradle +++ b/build.gradle @@ -53,6 +53,13 @@ if (file("flatRepo").isDirectory()) { } } } +else { + File f = new File("ghidra.repos.config"); + if (!f.exists()) { + throw new GradleException("\n\nUnable to find the local maven repo." + + " Ensure you have created the ${f.getName()} file.\n\n"); + } +} /**************************************************************************** * Create a set containing all the platforms we need when building native