mirror of
https://github.com/NationalSecurityAgency/ghidra.git
synced 2026-05-31 13:20:09 +08:00
Gradle - updated gradle to run when not using standard repo names -
review fixes
This commit is contained in:
@@ -41,13 +41,7 @@ ext.includeProjectNamed = { name, dirName, path, mustExist ->
|
|||||||
**************************************************************************************/
|
**************************************************************************************/
|
||||||
ext.includeProjects = { path ->
|
ext.includeProjects = { path ->
|
||||||
|
|
||||||
|
FileTree fileTree = fileTree(rootProject.projectDir.absolutePath + "/" + path) {
|
||||||
String fullPath = path
|
|
||||||
if (!fullPath.startsWith(File.separator)) {
|
|
||||||
fullPath = rootProject.projectDir.absolutePath + "/" + path
|
|
||||||
}
|
|
||||||
|
|
||||||
FileTree fileTree = fileTree(fullPath) {
|
|
||||||
include '*/build.gradle'
|
include '*/build.gradle'
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user