-
Notifications
You must be signed in to change notification settings - Fork 2
Expand file tree
/
Copy pathbuild.gradle
More file actions
54 lines (49 loc) · 1.35 KB
/
build.gradle
File metadata and controls
54 lines (49 loc) · 1.35 KB
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
42
43
44
45
46
47
48
49
50
51
52
53
54
// Top-level build file where you can add configuration options common to all sub-projects/modules.
buildscript {
repositories {
mavenCentral()
jcenter()
maven {
url 'https://maven.google.com/'
name 'Google'
}
}
dependencies {
classpath 'com.android.tools.build:gradle:2.3.0'
classpath 'org.kt3k.gradle.plugin:coveralls-gradle-plugin:2.0.1x'
}
}
allprojects {
repositories {
mavenCentral()
maven {
url 'https://maven.google.com/'
name 'Google'
}
}
}
ext {
compileSdkVersion = 23
buildToolsVersion = "23.0.1"
minSdkVersion = 8
targetSdkVersion = 23
}
task aggregateJavadocs(type: Javadoc) {
destinationDir = file("$buildDir/docs/javadoc")
}
subprojects {
afterEvaluate {
if (plugins.hasPlugin(JavaPlugin)) {
rootProject.tasks.aggregateJavadocs {
source += javadoc.source
classpath += files(javadoc.classpath)
}
}
if (plugins.hasPlugin(com.android.build.gradle.LibraryPlugin)) {
rootProject.tasks.aggregateJavadocs {
source += files(android.sourceSets.main.java.srcDirs)
classpath += files(project.files(android.getBootClasspath().join(File.pathSeparator)))
}
}
}
}