|
|
|
|
apply plugin: 'com.android.application'
|
|
|
|
|
|
|
|
|
|
android {
|
|
|
|
|
compileSdkVersion 28
|
|
|
|
|
buildToolsVersion "25.0.3"
|
|
|
|
|
|
|
|
|
|
defaultConfig {
|
|
|
|
|
applicationId "com.nice.mydiary"
|
|
|
|
|
minSdkVersion 21
|
|
|
|
|
targetSdkVersion 28
|
|
|
|
|
versionCode 1
|
|
|
|
|
versionName "1.0"
|
|
|
|
|
}
|
|
|
|
|
buildTypes {
|
|
|
|
|
release {
|
|
|
|
|
minifyEnabled false
|
|
|
|
|
proguardFiles getDefaultProguardFile('proguard-android.txt'), 'proguard-rules.pro'
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
dependencies {
|
|
|
|
|
compile fileTree(dir: 'libs', include: ['*.jar'])
|
|
|
|
|
testCompile 'junit:junit:4.12'
|
|
|
|
|
compile 'com.android.support:appcompat-v7:23.4.0'
|
|
|
|
|
compile 'com.orhanobut:logger:1.15'
|
|
|
|
|
compile 'com.android.support:cardview-v7:23.4.0'
|
|
|
|
|
compile 'com.jakewharton:butterknife:7.0.1'
|
|
|
|
|
compile 'com.android.support:support-annotations:23.1.1'
|
|
|
|
|
compile 'org.greenrobot:eventbus:3.0.0'
|
|
|
|
|
compile 'com.google.code.gson:gson:2.4'
|
|
|
|
|
compile 'com.android.support:recyclerview-v7:23.+'
|
|
|
|
|
compile 'com.android.support:design:23.4.0'
|
|
|
|
|
compile 'com.getbase:floatingactionbutton:1.5.1'
|
|
|
|
|
compile 'com.github.clans:fab:1.6.4'
|
|
|
|
|
compile 'com.oguzdev:CircularFloatingActionMenu:1.0.2'
|
|
|
|
|
compile 'io.github.yavski:fab-speed-dial:1.0.1'
|
|
|
|
|
compile 'cc.trity.floatingactionbutton:library:1.0.0'
|
|
|
|
|
compile 'com.github.Gennki:QRichText:v1.0.3'
|
|
|
|
|
debugCompile 'com.squareup.leakcanary:leakcanary-android:1.5.1'
|
|
|
|
|
releaseCompile 'com.squareup.leakcanary:leakcanary-android-no-op:1.5.1'
|
|
|
|
|
testCompile 'com.squareup.leakcanary:leakcanary-android-no-op:1.5.1'
|
|
|
|
|
}
|
|
|
|
|
configurations.all {
|
|
|
|
|
resolutionStrategy.eachDependency { details ->
|
|
|
|
|
def requested = details.requested
|
|
|
|
|
if (requested.group == 'com.android.support') {
|
|
|
|
|
if (!requested.name.startsWith("multidex")) {
|
|
|
|
|
//这里写你想统一的版本是多少,前提是你sdk里有
|
|
|
|
|
details.useVersion '23.4.0'
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
}
|