Skip to content

Ghidra is a software reverse engineering (SRE) framework

Gradle - updated gradle to run when not using standard repo names - review fixes

dragonmacher958b187643e6
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