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

review fixes
This commit is contained in:
dragonmacher 2019-08-13 18:50:11 -04:00
parent 68931f01d6
commit 958b187643

View file

@ -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 * Create a set containing all the platforms we need when building native