forked from clover/clover-android-sdk
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathlib.gradle
36 lines (29 loc) · 775 Bytes
/
lib.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
apply plugin: 'com.android.library'
apply from: file("${project.rootDir}/common.gradle")
apply from: file("${project.rootDir}/versions.gradle")
apply plugin: 'android-maven'
android {
lintOptions {
abortOnError false
}
compileSdkVersion COMPILE_SDK_VERSION
defaultConfig {
minSdkVersion MIN_SDK_VERSION
targetSdkVersion TARGET_SDK_VERSION
}
useLibrary HTTP_LIBRARY
packagingOptions {
exclude 'META-INF/LICENSE'
exclude 'META-INF/NOTICE'
pickFirst 'META-INF/ASL2.0'
}
// tell Android studio that the instrumentTest source set is located in the unit test source set
sourceSets {
main {
manifest.srcFile 'src/main/AndroidManifest.xml'
}
}
}
task listLibraries {
println project.group + ':' + project.name
}