-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathbuild.gradle
55 lines (50 loc) · 1.39 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
46
47
48
49
50
51
52
53
54
55
apply plugin: 'com.android.library'
android {
namespace 'com.laxture.lib'
compileSdk 34
buildToolsVersion "$android_buildToolsVersion"
defaultConfig {
minSdk 18
targetSdk 34
}
buildTypes {
release {
minifyEnabled false
proguardFiles getDefaultProguardFile('proguard-android.txt'), 'proguard-rules.pro'
}
}
buildFeatures {
buildConfig true
}
sourceSets {
main {
java.srcDirs "src/main/java"
res.srcDirs "src/main/res"
}
androidTest.setRoot('tests')
androidTest.java.srcDirs = ['tests/src']
}
compileOptions {
sourceCompatibility JavaVersion.VERSION_1_8
targetCompatibility JavaVersion.VERSION_1_8
}
packagingOptions {
exclude 'META-INF/DEPENDENCIES.txt'
exclude 'META-INF/LICENSE.txt'
exclude 'META-INF/NOTICE.txt'
exclude 'META-INF/NOTICE'
exclude 'META-INF/LICENSE'
exclude 'META-INF/DEPENDENCIES'
exclude 'META-INF/notice.txt'
exclude 'META-INF/license.txt'
exclude 'META-INF/dependencies.txt'
exclude 'META-INF/LGPL2.1'
}
}
dependencies {
api 'joda-time:joda-time:2.12.5'
api 'androidx.legacy:legacy-support-v4:1.0.0'
implementation('org.apache.httpcomponents:httpmime:4.1.1') {
exclude module: "commons-logging"
}
}