plugins { id 'com.android.application' id 'org.jetbrains.kotlin.android' } apply plugin: 'kotlin-android-extensions' android { compileSdk 31 defaultConfig { applicationId "com.example.cooleshow" minSdk 21 targetSdk 31 versionCode 1 versionName "1.0" testInstrumentationRunner "androidx.test.runner.AndroidJUnitRunner" } buildTypes { release { minifyEnabled false proguardFiles getDefaultProguardFile('proguard-android-optimize.txt'), 'proguard-rules.pro' } } // sourceSets { // main { // if (isUserModule.toBoolean()) { // manifest.srcFile 'src/main/release/AndroidManifest.xml' // } else { // manifest.srcFile 'src/main/debug/AndroidManifest.xml' // } // } // } compileOptions { sourceCompatibility JavaVersion.VERSION_1_8 targetCompatibility JavaVersion.VERSION_1_8 } packagingOptions { resources.excludes.add("META-INF/*") } kotlinOptions { jvmTarget = '1.8' } } dependencies { implementation 'androidx.core:core-ktx:1.7.0' implementation 'androidx.appcompat:appcompat:1.3.0' implementation 'com.google.android.material:material:1.4.0' implementation 'androidx.constraintlayout:constraintlayout:2.0.4' testImplementation 'junit:junit:4.13.2' androidTestImplementation 'androidx.test.ext:junit:1.1.3' androidTestImplementation 'androidx.test.espresso:espresso-core:3.4.0' implementation project(':Provider') implementation project(path: ':BaseLibrary') // if (isUserModule.toBoolean()){ // implementation project(':usercenter') // } }