forked from koral--/android-gif-drawable
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathbuild.gradle
47 lines (40 loc) · 978 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
42
43
44
45
46
47
buildscript {
repositories {
jcenter()
}
dependencies {
classpath 'com.android.tools.build:gradle:1.3.1'
}
}
apply plugin: 'com.android.library'
apply from: 'gradle-mvn-push.gradle'
apply from: 'ndk.gradle'
repositories {
jcenter()
}
android {
compileSdkVersion 23
buildToolsVersion '23.0.1'
compileOptions {
sourceCompatibility JavaVersion.VERSION_1_7
targetCompatibility JavaVersion.VERSION_1_7
}
defaultConfig {
minSdkVersion 8
targetSdkVersion 23
consumerProguardFiles 'consumer-proguard-rules.pro'
}
}
dependencies {
provided 'com.android.support:support-annotations:23.0.1'
testCompile 'junit:junit:4.12'
}
project.version = VERSION_NAME
project.group = GROUP
afterEvaluate { project ->
android.libraryVariants.all { variant ->
tasks.androidJavadocs.doFirst {
classpath += files(variant.javaCompile.classpath.files)
}
}
}