| 1 | plugins { |
| 2 | id("com.android.library") |
| 3 | id("org.jetbrains.kotlin.android") |
| 4 | } |
| 5 | |
| 6 | android { |
| 7 | namespace = "com.plugin.androidTvCheck" |
| 8 | compileSdk = 34 |
| 9 | |
| 10 | defaultConfig { |
| 11 | minSdk = 21 |
| 12 | |
| 13 | testInstrumentationRunner = "androidx.test.runner.AndroidJUnitRunner" |
| 14 | consumerProguardFiles("consumer-rules.pro") |
| 15 | } |
| 16 | |
| 17 | buildTypes { |
| 18 | release { |
| 19 | isMinifyEnabled = false |
| 20 | proguardFiles( |
| 21 | getDefaultProguardFile("proguard-android-optimize.txt"), |
| 22 | "proguard-rules.pro" |
| 23 | ) |
| 24 | } |
| 25 | } |
| 26 | compileOptions { |
| 27 | sourceCompatibility = JavaVersion.VERSION_1_8 |
| 28 | targetCompatibility = JavaVersion.VERSION_1_8 |
| 29 | } |
| 30 | kotlinOptions { jvmTarget = "1.8" } |
| 31 | } |
| 32 | |
| 33 | dependencies { |
| 34 | implementation("androidx.core:core-ktx:1.9.0") |
| 35 | implementation("androidx.appcompat:appcompat:1.6.0") |
| 36 | implementation("com.google.android.material:material:1.7.0") |
| 37 | testImplementation("junit:junit:4.13.2") |
| 38 | androidTestImplementation("androidx.test.ext:junit:1.1.5") |
| 39 | androidTestImplementation("androidx.test.espresso:espresso-core:3.5.1") |
| 40 | implementation(project(":tauri-android")) |
| 41 | } |