-
Notifications
You must be signed in to change notification settings - Fork 2
/
settings.gradle
29 lines (25 loc) · 984 Bytes
/
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
// global build settings for the Wes subproject
rootProject.name = 'Wes'
dependencyResolutionManagement {
repositories {
//mavenLocal() // to find libraries installed locally
mavenCentral() // to find libraries released to the Maven Central repository
//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
}