Video-Bdsp_wyjs/BookReader/build.gradle

75 lines
2.1 KiB
Groovy
Raw Permalink Normal View History

2025-05-28 17:30:57 +08:00
apply plugin: 'com.android.library'
apply plugin: 'org.greenrobot.greendao'
android {
namespace "com.tfq.book"
compileSdkVersion build_versions.target_sdk
// buildToolsVersion build_versions.tools_version
defaultConfig {
// applicationId "com.example.newbiechen.ireader"
minSdkVersion build_versions.min_sdk
targetSdkVersion build_versions.target_sdk
versionCode 1
versionName "1.0"
testInstrumentationRunner "android.support.test.runner.AndroidJUnitRunner"
multiDexEnabled true
}
buildTypes {
release {
minifyEnabled false
proguardFiles getDefaultProguardFile('proguard-android.txt'), 'proguard-rules.pro'
}
}
compileOptions {
sourceCompatibility JavaVersion.VERSION_1_8
targetCompatibility JavaVersion.VERSION_1_8
}
}
greendao{
schemaVersion 3
daoPackage 'com.tfq.book.model.gen'
targetGenDir 'src/main/java'
}
repositories {
maven {
url 'https://dl.bintray.com/qichuan/maven/'
}
}
dependencies {
implementation fileTree(include: ['*.jar'], dir: 'libs')
androidTestImplementation('com.android.support.test.espresso:espresso-core:3.0.2', {
exclude group: 'com.android.support', module: 'support-annotations'
})
//RxJava
implementation deps.reactivex.rxandroid
implementation deps.reactivex.rxjava2
//NetWork
implementation deps.okhttp.runtime
implementation deps.retrofit.runtime
implementation deps.retrofit.gson
implementation deps.retrofit.rxjava2
//ImageLoader
implementation deps.glide.runtime
/*implementation deps.glide.compiler*/
//ORM Database
implementation deps.greendao.runtime
testImplementation deps.testing.junit
// OpenCC to convert Simp. Chinese to Trad. Chinese
implementation "com.zqc.opencc.android.lib:lib-opencc-android:0.8.0@aar"
// AndroidTagGroup
implementation 'me.gujun.android.taggroup:library:1.4@aar'
//下拉刷新
implementation 'androidx.swiperefreshlayout:swiperefreshlayout:1.0.0'
implementation project(':BaseLibrary')
}