mirror of
https://github.com/GTNewHorizons/CraftTweaker.git
synced 2026-11-12 16:27:40 +00:00
- 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
25 lines
648 B
Groovy
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
|
|
}
|