-
Notifications
You must be signed in to change notification settings - Fork 78
Expand file tree
/
Copy pathbuild.gradle
More file actions
65 lines (50 loc) · 1.53 KB
/
Copy pathbuild.gradle
File metadata and controls
65 lines (50 loc) · 1.53 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
55
56
57
58
59
60
61
62
63
64
65
apply plugin: 'com.android.library'
apply plugin: 'kotlin-android'
apply plugin: "kotlin-kapt"
android {
compileSdkVersion 27
defaultConfig {
minSdkVersion 15
targetSdkVersion 26
versionCode 1
versionName "1.0"
testInstrumentationRunner "android.support.test.runner.AndroidJUnitRunner"
packageBuildConfig(false)
javaCompileOptions {
annotationProcessorOptions {
arguments = ["logLevel" : "TRACE",
"library" : "true",
"logAppenderConsole": "true"]
}
}
}
buildTypes {
release {
minifyEnabled false
proguardFiles getDefaultProguardFile('proguard-android.txt'), 'proguard-rules.pro'
}
}
compileOptions {
sourceCompatibility JavaVersion.VERSION_1_8
targetCompatibility JavaVersion.VERSION_1_8
}
}
dependencies {
kapt "org.androidannotations:androidannotations:$AAVersion"
api "org.androidannotations:androidannotations-api:$AAVersion"
configurations {
all*.exclude group: 'com.android.support', module: 'support-v13'
}
api files('libs/android-viewbadger.jar')
api files('libs/pinyin4j-2.5.0.jar')
implementation project(':common-third-library')
implementation project(':luban')
}
repositories {
jcenter()
maven { url "https://jitpack.io" }
}
dependencies {
// 图片裁剪,系统的坑太多
api 'com.github.yalantis:ucrop:2.2.2'
}