Files
CraftTweaker/settings.gradle
T
Stan Hebben 56b8c9355c - Added /mt blocks and /mt entities commands
- Further preparation of event manager for the event update
- Can now request all blocks and entities using the global game variable
- Improved automatic handling of version numbers
2014-08-21 23:41:08 +02:00

25 lines
648 B
Groovy

rootProject.name = 'MineTweaker3'
// --------------
// building stuff
// --------------
// 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
}