pda/zhuike/build.gradle

88 lines
3.5 KiB
Groovy

apply plugin: 'com.android.application'
//apply plugin: 'com.jakewharton.butterknife'
// apply plugin: 'com.neenbedankt.android-apt'
android {
compileSdkVersion 28
buildToolsVersion "28.0.3"
defaultConfig {
applicationId "com.novelbook.android"
minSdkVersion 21 //target 19 Android 4.4 以下版本仅占比4.1%
targetSdkVersion 28
versionCode 1
versionName "1.0"
// testInstrumentationRunner "android.support.test.runner.AndroidJUnitRunner"
// vectorDrawables.useSupportLibrary = true
vectorDrawables.useSupportLibrary = true
renderscriptTargetApi 24 //blurkit
renderscriptSupportModeEnabled true //blurkit
}
buildTypes {
release {
minifyEnabled false
proguardFiles getDefaultProguardFile('proguard-android-optimize.txt'), 'proguard-rules.pro'
}
}
sourceSets {
main {
jniLibs.srcDirs = ['libs']
}
}
compileOptions {
sourceCompatibility JavaVersion.VERSION_1_8
targetCompatibility JavaVersion.VERSION_1_8
}
}
dependencies {
implementation fileTree(include: ['*.jar'], dir: 'libs')
implementation 'com.android.support:appcompat-v7:28.0.0'
implementation 'com.android.support:design:28.0.0'
implementation 'com.android.support.constraint:constraint-layout:1.1.3'
implementation 'com.android.support:support-vector-drawable:28.0.0'
implementation 'com.android.support:support-v4:28.0.0'
implementation 'android.arch.lifecycle:extensions:1.1.1'
implementation 'com.google.android.gms:play-services-plus:16.0.0'
testImplementation 'junit:junit:4.12'
androidTestImplementation 'com.android.support.test:runner:1.0.2'
androidTestImplementation 'com.android.support.test.espresso:espresso-core:3.0.2'
api 'com.jakewharton:butterknife:9.0.0'
annotationProcessor 'com.jakewharton:butterknife-compiler:9.0.0'
// api 'com.google.daggerdagger:2.9'
// annotationProcessor 'com.google.dagger:dagger-compiler:2.9'
// api 'com.google.dagger:dagger:2.11'
// annotationProcessor 'com.google.dagger:dagger-compiler:2.11'
implementation 'com.youth.banner:banner:1.4.10'
api 'com.github.bumptech.glide:glide:4.6.1'
implementation 'com.google.code.gson:gson:2.8.5'
// implementation 'com.viewpagerindicator:library:2.4.1'
//implementation 'com.github.auv1107:tablayout-android:-SNAPSHOT'
implementation 'com.flyco.tablayout:FlycoTabLayout_Lib:2.1.2@aar'
implementation 'io.alterac.blurkit:blurkit:1.1.1'
implementation 'org.litepal.android:java:3.0.0'
api 'com.astuetz:pagerslidingtabstrip:1.0.1'
implementation 'com.squareup.retrofit2:retrofit:2.5.0'
implementation 'io.reactivex.rxjava2:rxjava:2.2.7'
implementation 'com.squareup.retrofit2:converter-gson:2.5.0'
implementation 'com.squareup.retrofit2:adapter-rxjava2:2.5.0'
implementation 'com.squareup.okhttp3:logging-interceptor:3.14.0'
implementation 'com.packetzoom:pz-okhttp3-interceptor:3.2.43'
api 'io.reactivex.rxjava2:rxandroid:2.1.0'
implementation 'com.github.bumptech.glide:glide:4.9.0'
implementation 'jp.wasabeef:glide-transformations:2.0.1'
implementation 'com.timqi.collapsibletextview:library:1.1.2'
// implementation 'com.ms-square:expandableTextView:0.1.4'
// implementation 'com.github.tangguna:SearchBox:1.0.1'
implementation 'com.github.chengzipi:Searchbox:v1.0.0'
implementation 'com.github.ixiaow:multilayout:1.0.0'
}