|
|
|
apply plugin: 'com.android.library'
|
|
|
|
|
|
|
|
android {
|
|
|
|
|
|
|
|
compileSdkVersion rootProject.compileSdkVersion
|
|
|
|
buildToolsVersion rootProject.buildToolsVersion
|
|
|
|
|
|
|
|
defaultConfig {
|
|
|
|
minSdkVersion rootProject.minSdkVersion
|
|
|
|
targetSdkVersion rootProject.targetSdkVersion
|
|
|
|
versionCode 1
|
|
|
|
versionName "1.0"
|
|
|
|
}
|
|
|
|
buildTypes {
|
|
|
|
release {
|
|
|
|
minifyEnabled false
|
|
|
|
proguardFiles getDefaultProguardFile('proguard-android.txt'), 'proguard-rules.pro'
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
compileOptions {
|
|
|
|
sourceCompatibility JavaVersion.VERSION_1_8
|
|
|
|
targetCompatibility JavaVersion.VERSION_1_8
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
dependencies {
|
|
|
|
//support
|
|
|
|
implementation androidLibraries.androidCompatV7
|
|
|
|
implementation androidLibraries.androidDesign
|
|
|
|
|
|
|
|
/*imageLoader*/
|
|
|
|
compileOnly thirdLibraries.glide
|
|
|
|
|
|
|
|
implementation('com.bilibili:boxing:1.0.4') {
|
|
|
|
exclude group: 'com.android.support'
|
|
|
|
}
|
|
|
|
|
|
|
|
implementation('com.bilibili:boxing-impl:1.0.4') {
|
|
|
|
exclude group: 'com.android.support'
|
|
|
|
}
|
|
|
|
|
|
|
|
implementation('com.chensl.rotatephotoview:rotatephotoview:1.0.5') {
|
|
|
|
exclude group: 'com.android.support', module: 'appcompat'
|
|
|
|
exclude group: 'com.android.support', module: 'support-v4'
|
|
|
|
exclude module: 'recyclerview-v7'
|
|
|
|
}
|
|
|
|
|
|
|
|
implementation('com.yalantis:ucrop:2.2.0') {
|
|
|
|
exclude group: 'com.android.support'
|
|
|
|
exclude group: 'com.squareup.okio'
|
|
|
|
exclude group: 'com.squareup.okhttp3'
|
|
|
|
}
|
|
|
|
}
|