plugins { id 'com.android.application' id 'org.jetbrains.kotlin.android' id("com.google.devtools.ksp") version "1.9.10-1.0.13"//引入ksp插件 id 'org.jetbrains.kotlin.kapt' } android { namespace 'com.adealink.frame' compileSdk libs.versions.compileSdk.get().toInteger() defaultConfig { // applicationId "com.partyjoy.weparty" minSdk libs.versions.minSdk.get().toInteger() targetSdk libs.versions.targetSdk.get().toInteger() versionCode 1 versionName "1.0" multiDexEnabled true testInstrumentationRunner "androidx.test.runner.AndroidJUnitRunner" consumerProguardFiles "consumer-rules.pro" } packagingOptions { pickFirst 'META-INF/INDEX.LIST' pickFirst 'META-INF/DEPENDENCIES' } buildTypes { release { minifyEnabled false proguardFiles getDefaultProguardFile('proguard-android-optimize.txt'), 'proguard-rules.pro' } } compileOptions { targetCompatibility JavaVersion.VERSION_17 sourceCompatibility JavaVersion.VERSION_17 coreLibraryDesugaringEnabled true } kotlinOptions { jvmTarget = JavaVersion.VERSION_17.majorVersion } buildFeatures { viewBinding true } lintOptions { abortOnError false } configurations.configureEach { exclude group: 'com.facebook.fresco', module: 'drawee' } // configurations.configureEach { // exclude group: 'com.google.code.gson', module: 'gson' // } } dependencies { api fileTree(dir: 'libs', include: ['*.jar', '*.aar']) //kotlin implementation libs.kotlin.stdlib coreLibraryDesugaring libs.desugar.jdk.libs //androidx implementation libs.androidx.core implementation libs.androidx.core.ktx implementation libs.androidx.appcompat // android implementation libs.android.material //fresco implementation(libs.fresco) { exclude group: 'com.facebook.fresco', module: 'drawee' } implementation libs.fresco.imagepipeline implementation(libs.fresco.animated.base) { exclude group: 'com.facebook.fresco', module: 'drawee' } implementation libs.fresco.webpsupport implementation(libs.fresco.animated.webp) { exclude group: 'com.facebook.fresco', module: 'drawee' } implementation(libs.fresco.animated.gif) { exclude group: 'com.facebook.fresco', module: 'drawee' } implementation(libs.fresco.middleware) { exclude group: 'com.facebook.fresco', module: 'drawee' } implementation project(":frame:zero") implementation project(":frame:base") implementation project(":frame:aab") implementation project(":frame:oss") implementation project(":frame:coroutine") implementation project(":frame:debug") implementation project(":frame:deviceid") implementation project(":frame:network") implementation project(":frame:sound") implementation project(":frame:statistics") implementation project(":frame:log") implementation project(":frame:storage") implementation project(":frame:util") implementation project(":frame:download") implementation project(":frame:effect") implementation project(":frame:mvvm") implementation project(":frame:data") implementation project(":frame:googleservice") implementation project(":frame:guide") implementation project(":frame:security") implementation project(":frame:spi") implementation project(":frame:game") implementation project(":frame:image") implementation project(":frame:apm") implementation project(":frame:asr") implementation project(":frame:audio") implementation project(":frame:crash") implementation project(":frame:dot") implementation project(":frame:locale") implementation project(":frame:push") implementation project(":frame:tceffect") implementation project(":frame:media") implementation project(":frame:agorartc") implementation project(":frame:trtc") implementation project(":frame:volcrtc") implementation project(":frame:zegortc") implementation project(":frame:room") implementation project(":frame:share") implementation project(":frame:startup") implementation project(":frame:effectpreview") implementation project(':frame:router:router-annotation') implementation project(':frame:router:router-api') kapt project(':frame:router:router-compiler') implementation project(':frame:cachebean:cache-bean-annotation') implementation project(':frame:cachebean:cache-bean-api') ksp project(':frame:cachebean:cache-bean-complier') implementation libs.androidx.room.runtime implementation libs.androidx.room.ktx kapt libs.androidx.room.compiler implementation project(":external:libcocos2dx") implementation project(":external:retrofit") implementation project(":external:SVGAPlayer") implementation project(":external:animplayer") implementation project(":external:drawee") implementation project(":external:AndroidAutoSize") implementation project(":external:tcturing") implementation project(":external:zxing") //test testImplementation libs.junit androidTestImplementation libs.androidx.junit androidTestImplementation libs.androidx.espresso.core }