build.gradle.kts (1832B)
1 /* 2 * This file is part of GNU Taler 3 * (C) 2024 Taler Systems S.A. 4 * 5 * GNU Taler is free software; you can redistribute it and/or modify it under the 6 * terms of the GNU General Public License as published by the Free Software 7 * Foundation; either version 3, or (at your option) any later version. 8 * 9 * GNU Taler is distributed in the hope that it will be useful, but WITHOUT ANY 10 * WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR 11 * A PARTICULAR PURPOSE. See the GNU General Public License for more details. 12 * 13 * You should have received a copy of the GNU General Public License along with 14 * GNU Taler; see the file COPYING. If not, see <http://www.gnu.org/licenses/> 15 */ 16 17 plugins { 18 id("com.android.library") 19 id("kotlin-android") 20 } 21 22 android { 23 namespace = "net.taler.anastasislib" 24 compileSdk = 34 25 26 defaultConfig { 27 minSdk = 24 28 29 testInstrumentationRunner = "androidx.test.runner.AndroidJUnitRunner" 30 consumerProguardFiles("consumer-rules.pro") 31 } 32 33 buildTypes { 34 release { 35 isMinifyEnabled = false 36 proguardFiles( 37 getDefaultProguardFile("proguard-android-optimize.txt"), 38 "proguard-rules.pro" 39 ) 40 } 41 } 42 compileOptions { 43 sourceCompatibility = JavaVersion.VERSION_17 44 targetCompatibility = JavaVersion.VERSION_17 45 } 46 kotlinOptions { 47 jvmTarget = "17" 48 } 49 } 50 51 dependencies { 52 53 implementation("androidx.core:core-ktx:1.13.1") 54 implementation("androidx.appcompat:appcompat:1.6.1") 55 implementation("com.google.android.material:material:1.12.0") 56 testImplementation("junit:junit:4.13.2") 57 androidTestImplementation("androidx.test.ext:junit:1.2.0") 58 androidTestImplementation("androidx.test.espresso:espresso-core:3.6.0") 59 }