GT-2897: Moving flatRepo to installation dir.

This commit is contained in:
Ryan Kurtz
2019-06-26 11:05:42 -04:00
parent 5e1ea55a6a
commit b69e737a60
4 changed files with 54 additions and 77 deletions

View File

@@ -39,6 +39,19 @@ allprojects {
}
}
/*********************************************************************************
* Use flat directory-style repository if flatRepo directory is present.
*********************************************************************************/
if (file("flatRepo").isDirectory()) {
allprojects {
repositories {
mavenCentral()
jcenter()
flatDir name: "flat", dirs:["$rootProject.projectDir/flatRepo"]
}
}
}
/*********************************************************************************
* load properties from Ghidra/application.properties file
*********************************************************************************/