71 lines
1.8 KiB
Groovy
71 lines
1.8 KiB
Groovy
plugins {
|
|
id 'com.android.library'
|
|
}
|
|
//apply from: "../MobSdk.gradle"
|
|
apply plugin: 'kotlin-android'
|
|
|
|
android {
|
|
compileSdkVersion 30
|
|
buildToolsVersion "30.0.3"
|
|
|
|
defaultConfig {
|
|
minSdkVersion 16
|
|
targetSdkVersion 30
|
|
versionCode 1
|
|
versionName "1.0"
|
|
renderscriptSupportModeEnabled false
|
|
renderscriptTargetApi 30
|
|
}
|
|
|
|
buildTypes {
|
|
release {
|
|
minifyEnabled false
|
|
}
|
|
}
|
|
compileOptions {
|
|
sourceCompatibility JavaVersion.VERSION_11
|
|
targetCompatibility JavaVersion.VERSION_11
|
|
}
|
|
|
|
// 主题资源文件夹
|
|
sourceSets {
|
|
main {
|
|
res.srcDirs += "src/main/res-minimalistui"
|
|
res.srcDirs += "src/main/res-light"
|
|
res.srcDirs += "src/main/res-lively"
|
|
res.srcDirs += "src/main/res-serious"
|
|
}
|
|
}
|
|
repositories {
|
|
flatDir {
|
|
dirs '../IMLib/libs'
|
|
}
|
|
}
|
|
}
|
|
|
|
afterEvaluate {
|
|
generateReleaseBuildConfig.enabled = false
|
|
generateDebugBuildConfig.enabled = false
|
|
}
|
|
|
|
repositories {
|
|
flatDir {
|
|
dirs '../lib_base/libs'
|
|
}
|
|
}
|
|
|
|
dependencies {
|
|
implementation fileTree(dir: "libs", include: ["*.jar"])
|
|
implementation 'androidx.appcompat:appcompat:1.3.0'
|
|
implementation 'com.google.android.material:material:1.3.0'
|
|
implementation 'com.github.bumptech.glide:glide:4.12.0'
|
|
implementation 'com.google.code.gson:gson:2.8.7'
|
|
implementation 'androidx.viewpager2:viewpager2:1.0.0'
|
|
implementation 'androidx.datastore:datastore-preferences:1.0.0'
|
|
implementation 'androidx.datastore:datastore-preferences-rxjava3:1.0.0'
|
|
implementation 'io.reactivex.rxjava3:rxandroid:3.0.0'
|
|
implementation "org.jetbrains.kotlin:kotlin-stdlib-jdk7:$kotlin_version"
|
|
api project(':tuicore')
|
|
api project(':lib_base')
|
|
|
|
} |