-
Notifications
You must be signed in to change notification settings - Fork 17
/
Copy pathbuild.gradle
46 lines (39 loc) · 1.04 KB
/
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
apply plugin: 'com.android.library'
android {
compileSdkVersion 23
buildToolsVersion '25.0.0'
defaultConfig {
minSdkVersion 9
targetSdkVersion 19
}
lintOptions {
checkReleaseBuilds false
// Or, if you prefer, you can continue to check for errors in release builds,
// but continue the build even when errors are found:
abortOnError false
}
buildTypes {
release {
minifyEnabled false
proguardFiles getDefaultProguardFile('proguard-android.txt'), 'proguard-rules.txt'
}
}
libraryVariants.all { variant ->
variant.outputs.each {
copy {
from 'build/outputs/aar'
into '../libs/' + archivesBaseName
include '**/*.aar'
}
}
}
sourceSets {
main {
java.srcDirs=['src/main/java','src/main/aidl']
}
}
}
dependencies {
compile 'com.android.support:support-v4:23.0.0'
compile 'org.greenrobot:eventbus:3.0.0'
}