-
Notifications
You must be signed in to change notification settings - Fork 21
/
Copy pathbuild.gradle
41 lines (34 loc) · 1010 Bytes
/
build.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
31
32
33
34
35
36
37
38
39
40
41
buildscript {
apply from: "${rootDir}/buildscript/dependencies.gradle"
repositories {
maven {
url 'https://plugins.gradle.org/m2/'
}
jcenter()
}
dependencies {
pluginLibraries.each { name, dependency ->
classpath dependency
}
}
}
apply plugin: 'com.github.ben-manes.versions'
allprojects {
repositories {
jcenter()
}
}
subprojects {
apply from: "${rootDir}/buildscript/configuration.gradle"
apply from: "${rootDir}/buildscript/dependencies.gradle"
}
task clean(type: Delete, description: 'Cleans the root project build directory.') {
delete rootProject.buildDir
delete fileTree(dir: rootDir, include: 'Thumbs.db')
}
task wrapper(type: Wrapper, description: 'Updates the gradle wrapper version.') {
gradleVersion = '3.1'
}
task updateSubmodules(type: Exec, group: 'git', description: 'Updates git submodules') {
commandLine 'git', 'submodule', 'update', '--init', '--recursive'
}