-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathbuild.gradle
65 lines (58 loc) · 1.86 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
56
57
58
59
60
61
62
63
64
65
apply plugin: 'com.android.application'
//apply plugin: 'me.tatarka.retrolambda'
apply plugin: 'kotlin-android'
apply plugin: 'kotlin-android-extensions'
apply plugin: 'kotlin-kapt'
android {
// compileSdkVersion 25
// buildToolsVersion "25.0.3"
compileSdkVersion 28
// buildToolsVersion '27.0.3'
defaultConfig {
applicationId "zone.com.zadapter3"
minSdkVersion 16
targetSdkVersion 28
versionCode 1
versionName "1.0"
testInstrumentationRunner "androidx.test.runner.AndroidJUnitRunner"
// jackOptions {
// //支持lambda
// enabled true
// }
// jackOptions {
// enabled false
// }
}
buildTypes {
release {
minifyEnabled false
proguardFiles getDefaultProguardFile('proguard-android.txt'), 'proguard-rules.pro'
}
}
compileOptions {
sourceCompatibility JavaVersion.VERSION_1_8
targetCompatibility JavaVersion.VERSION_1_8
}
}
dependencies {
api fileTree(include: ['*.jar'], dir: 'libs')
androidTestImplementation('androidx.test.espresso:espresso-core:3.1.0-alpha4', {
exclude group: 'com.android.support', module: 'support-annotations'
})
testImplementation 'junit:junit:4.12'
api 'androidx.appcompat:appcompat:1.0.0-beta01'
api 'com.google.android.material:material:1.0.0-beta01'
// compile project(path: ':zadapter3')
api 'com.google.code.gson:gson:2.5'
api project(':zadapter3')
// implementation 'com.github.luhaoaimama1:ZAdapter3KT:1.0.01'
api "org.jetbrains.kotlin:kotlin-stdlib-jre7:$kotlin_version"
api ('com.jakewharton:butterknife:8.8.1'){
exclude module: 'support-compat'
}
kapt 'com.jakewharton:butterknife-compiler:8.8.1'
api 'androidx.recyclerview:recyclerview:1.0.0-beta01'
}
repositories {
mavenCentral()
}