-
Notifications
You must be signed in to change notification settings - Fork 2.9k
/
build.gradle
37 lines (30 loc) · 884 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
// Sub projects may reference rootProject.version
version = '3.3.0'
wrapper {
distributionType = Wrapper.DistributionType.ALL
}
ext {
compileSdkVersion = 29
minSdkVersion = 7
targetSdkVersion = 25
// common dependencies for Android projects (not to be used in example projects for better copy and paste)
dep = [
androidPlugin: 'com.android.tools.build:gradle:3.5.3',
// Used only in tests, should point to the latest *published* version (not relevant to publishing)
greendaoPlugin: 'org.greenrobot:greendao-gradle-plugin:3.3.1'
]
}
if (JavaVersion.current().isJava8Compatible()) {
allprojects {
tasks.withType(Javadoc) {
options.addStringOption('Xdoclint:none', '-quiet')
}
}
}
subprojects {
repositories {
mavenCentral()
jcenter()
google()
}
}