1234567891011121314151617181920212223242526272829303132333435363738394041424344454647 |
- @Suppress("DSL_SCOPE_VIOLATION") // TODO: Remove once KTIJ-19369 is fixed
- plugins {
- alias(libs.plugins.com.android.library)
- alias(libs.plugins.org.jetbrains.kotlin.android)
- }
- android {
- namespace = "com.anjun.data.main"
- compileSdk = libs.versions.compileSdk.get().toInt()
- defaultConfig {
- minSdk = libs.versions.minSdk.get().toInt()
- testInstrumentationRunner = "androidx.test.runner.AndroidJUnitRunner"
- consumerProguardFiles("consumer-rules.pro")
- }
- buildTypes {
- release {
- isMinifyEnabled = false
- proguardFiles(
- getDefaultProguardFile("proguard-android-optimize.txt"),
- "proguard-rules.pro"
- )
- }
- }
- compileOptions {
- sourceCompatibility = JavaVersion.VERSION_1_8
- targetCompatibility = JavaVersion.VERSION_1_8
- }
- kotlinOptions {
- jvmTarget = "1.8"
- }
- }
- dependencies {
- implementation(libs.core.ktx)
- implementation(libs.appcompat)
- implementation(libs.material)
- testImplementation(libs.junit)
- androidTestImplementation(libs.androidx.test.ext.junit)
- androidTestImplementation(libs.espresso.core)
- implementation(libs.mmkv)
- compileOnly(project(":core:core_tool"))
- }
|