-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathbuild.gradle
70 lines (64 loc) · 2.15 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
66
67
68
69
70
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 27
buildToolsVersion '27.0.3'
defaultConfig {
applicationId "zone.com.zadapter3"
minSdkVersion 16
targetSdkVersion 25
versionCode 1
versionName "1.0"
testInstrumentationRunner "android.support.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('com.android.support.test.espresso:espresso-core:2.2.2', {
exclude group: 'com.android.support', module: 'support-annotations'
})
testImplementation 'junit:junit:4.12'
api 'com.android.support:appcompat-v7:25.3.1'
api 'com.android.support:design:23.2.1'
// compile project(path: ':zadapter3')
// compile 'com.jakewharton:butterknife:7.0.1'
api 'com.google.code.gson:gson:2.5'
api('com.github.luhaoaimama1:ZRefreshLayout:1.0.15', {
exclude group: 'com.android.support', module: 'recyclerview-v7'
})
// compile 'com.android.support:recyclerview-v7:23.2.1'
api project(':zadapter3')
// implementation 'com.github.luhaoaimama1:ZAdapter3KT:1.0.0'
// implementation 'com.github.luhaoaimama1:ZAdapter3KT:1.0.01'
api 'com.github.luhaoaimama1:ZView:1.0.35'
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'
}
repositories {
mavenCentral()
}