Repository navigation
Expand file tree
/
Copy pathbuild.gradle
More file actions
56 lines (52 loc) · 2.07 KB
/
Copy pathbuild.gradle
File metadata and controls
56 lines (52 loc) · 2.07 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
apply plugin: 'com.android.application'
android {
compileSdkVersion 28
//buildToolsVersion "28.0.3"
defaultConfig {
applicationId "com.demo.evolving.net.lib"
minSdkVersion 14
targetSdkVersion 28
versionCode 1
versionName "1.0"
testInstrumentationRunner "android.support.test.runner.AndroidJUnitRunner"
}
buildTypes {
release {
minifyEnabled false
proguardFiles getDefaultProguardFile('proguard-android.txt'), 'proguard-rules.pro'
}
}
}
dependencies {
implementation fileTree(include: ['*.jar'], dir: 'libs')
androidTestImplementation('com.android.support.test.espresso:espresso-core:2.2.2', {
exclude group: 'com.android.support', module: 'support-annotations'
})
implementation 'com.android.support:appcompat-v7:28.0.0'
implementation 'com.android.support.constraint:constraint-layout:1.1.0'
testImplementation 'junit:junit:4.12'
debugImplementation 'com.squareup.leakcanary:leakcanary-android:1.5.4'
releaseImplementation 'com.squareup.leakcanary:leakcanary-android-no-op:1.5.4'
implementation 'com.lzy.widget:ninegridview:0.2.1'
implementation 'com.lzy.widget:imagepicker:0.6.1'
implementation 'com.lzy.widget:view-core:0.2.3'
implementation 'com.github.bumptech.glide:glide:3.7.0'
implementation 'com.squareup.picasso:picasso:2.5.2'
//动态权限申请
implementation 'pub.devrel:easypermissions:1.2.0'
implementation project(':EvolvingBase')
implementation project(':EvolvingNet')
implementation 'com.android.support:design:28.0.0'
implementation 'com.github.nekocode.rxlifecycle:rxlifecycle:2.0'
implementation 'com.github.nekocode.rxlifecycle:rxlifecycle-compact:2.0' // Optional
}
configurations.all {
resolutionStrategy.eachDependency { DependencyResolveDetails details ->
def requested = details.requested
if (requested.group == 'com.android.support') {
if (!requested.name.startsWith("multidex")) {
details.useVersion '28.0.0'
}
}
}
}