2025-08-26 19:34:44 +08:00
|
|
|
plugins {
|
|
|
|
|
id 'com.android.library'
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
android {
|
|
|
|
|
compileSdkVersion 30
|
2025-10-12 16:31:54 +08:00
|
|
|
// buildToolsVersion "30.0.3"
|
2025-08-26 19:34:44 +08:00
|
|
|
namespace "com.tencent.qcloud.tuicore"
|
|
|
|
|
defaultConfig {
|
|
|
|
|
minSdkVersion 19
|
|
|
|
|
targetSdkVersion 30
|
|
|
|
|
|
|
|
|
|
consumerProguardFiles "consumer-rules.pro"
|
|
|
|
|
}
|
|
|
|
|
buildFeatures {
|
|
|
|
|
buildConfig = false
|
|
|
|
|
}
|
|
|
|
|
buildTypes {
|
|
|
|
|
release {
|
|
|
|
|
minifyEnabled false
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
compileOptions {
|
|
|
|
|
sourceCompatibility JavaVersion.VERSION_1_8
|
|
|
|
|
targetCompatibility JavaVersion.VERSION_1_8
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
sourceSets {
|
|
|
|
|
main {
|
|
|
|
|
res.srcDirs += "src/main/res-light"
|
|
|
|
|
res.srcDirs += "src/main/res-lively"
|
|
|
|
|
res.srcDirs += "src/main/res-serious"
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
dependencies {
|
|
|
|
|
api fileTree(include: ['*.jar', '*.aar'], dir: '../../../../tuikit/android/libs')
|
|
|
|
|
|
|
|
|
|
implementation 'androidx.appcompat:appcompat:1.3.1'
|
|
|
|
|
api 'com.google.auto.service:auto-service-annotations:1.1.1'
|
|
|
|
|
|
|
|
|
|
def projects = this.rootProject.getAllprojects().stream().map { project -> project.name }.collect()
|
|
|
|
|
println "all projects : {$projects}"
|
|
|
|
|
if (projects.contains("imsdk-plus")) {
|
|
|
|
|
api project(':imsdk-plus')
|
|
|
|
|
} else {
|
|
|
|
|
api rootProject.getProperties().containsKey("imSdk") ? rootProject.ext.imSdk : "com.tencent.imsdk:imsdk-plus:8.5.6864"
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
}
|