-
Notifications
You must be signed in to change notification settings - Fork 0
/
settings.gradle
30 lines (26 loc) · 1.08 KB
/
settings.gradle
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
// global build settings for the SPORT project
rootProject.name = 'sport'
dependencyResolutionManagement {
repositories {
//mavenLocal() // to find libraries installed locally
mavenCentral() // to find libraries released to the Maven Central repository
//maven { url 'https://oss.sonatype.org/content/repositories/snapshots' } // to find public snapshots of LWJGL
//maven { url 'https://s01.oss.sonatype.org/content/groups/staging' } // to find libraries staged but not yet released
//maven { url 'https://s01.oss.sonatype.org/content/repositories/snapshots' } // to find public snapshots of libraries
}
}
/*
* Enumerate subdirectories in the project's root directory that contain a
* "build.gradle" file. Any subdirectory that contains a "build.gradle" file is
* automatically included as a subproject.
*/
def subDirs = rootDir.listFiles(
new FileFilter() {
boolean accept(File file) {
return file.isDirectory() && new File(file, 'build.gradle').isFile()
}
}
)
subDirs.each { File sub ->
include sub.name
}