| plugins { |
| alias(libs.plugins.androidLibrary) |
| alias(libs.plugins.kotlinAndroid) |
| } |
| |
| android { |
| namespace = "com.example.mylibrary" |
| compileSdk = 33 |
| |
| defaultConfig { |
| minSdk = 24 |
| |
| testInstrumentationRunner = "android.support.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.appcompat.v7) |
| testImplementation(libs.junit) |
| androidTestImplementation(libs.runner) |
| androidTestImplementation(libs.com.android.support.test.espresso.espresso.core) |
| } |