HMCL 2.3.2
This commit is contained in:
20
settings.gradle
Normal file
20
settings.gradle
Normal file
@@ -0,0 +1,20 @@
|
||||
rootProject.name = 'HMCL'
|
||||
|
||||
// Find the directories containing a "build.gradle" file in the root directory
|
||||
// of the project. That is, every directory containing a "build.gradle" will
|
||||
// be automatically the subproject of this project.
|
||||
def subDirs = rootDir.listFiles(new FileFilter() {
|
||||
public boolean accept(File file) {
|
||||
if (!file.isDirectory()) {
|
||||
return false
|
||||
}
|
||||
if (file.name == 'buildSrc') {
|
||||
return false
|
||||
}
|
||||
return new File(file, 'build.gradle').isFile()
|
||||
}
|
||||
});
|
||||
|
||||
subDirs.each { File dir ->
|
||||
include dir.name
|
||||
}
|
||||
Reference in New Issue
Block a user