Download with DownloadManager

This commit is contained in:
topjohnwu
2016-08-27 19:02:41 +08:00
parent c44ce77e95
commit 830fde8007
14 changed files with 217 additions and 224 deletions

View File

@@ -1,5 +1,5 @@
apply plugin: 'com.android.application'
apply plugin: 'android-apt'
//apply plugin: 'android-apt'
android {
compileSdkVersion 24
@@ -11,13 +11,21 @@ android {
targetSdkVersion 24
versionCode 4
versionName "2.0"
jackOptions {
enabled true
}
}
buildTypes {
release {
minifyEnabled false
minifyEnabled true
shrinkResources true
proguardFiles getDefaultProguardFile('proguard-android.txt'), 'proguard-rules.pro'
}
}
compileOptions {
sourceCompatibility JavaVersion.VERSION_1_8
targetCompatibility JavaVersion.VERSION_1_8
}
}
dependencies {
@@ -26,6 +34,6 @@ dependencies {
compile 'com.android.support:cardview-v7:24.2.0'
compile 'com.android.support:design:24.2.0'
compile 'com.jakewharton:butterknife:8.2.1'
apt 'com.jakewharton:butterknife-compiler:8.2.1'
compile 'com.jakewharton:butterknife:8.4.0'
annotationProcessor 'com.jakewharton:butterknife-compiler:8.4.0'
}