-
Notifications
You must be signed in to change notification settings - Fork 6
Expand file tree
/
Copy pathsettings.gradle
More file actions
31 lines (27 loc) · 880 Bytes
/
settings.gradle
File metadata and controls
31 lines (27 loc) · 880 Bytes
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
31
// global build settings for the Heart project
rootProject.name = 'Heart'
dependencyResolutionManagement {
repositories {
//mavenLocal() // to find libraries installed locally
mavenCentral() // to find libraries released to the Maven Central repository
maven {
name = 'Central Portal Snapshots'
url = 'https://central.sonatype.com/repository/maven-snapshots/'
}
}
}
/*
* 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
}