snort-android/app/build.gradle

73 lines
1.9 KiB
Groovy
Raw Permalink Normal View History

2023-07-17 13:21:50 +01:00
plugins {
id 'com.android.application'
id 'org.jetbrains.kotlin.android'
2023-08-29 14:37:14 +01:00
id 'org.jetbrains.kotlin.plugin.serialization'
2023-07-17 13:21:50 +01:00
}
android {
namespace 'social.snort.app'
2024-12-06 13:54:54 +00:00
compileSdk 34
2023-07-17 13:21:50 +01:00
defaultConfig {
applicationId "social.snort.app"
2023-08-29 14:37:14 +01:00
minSdk 26
2024-12-06 13:54:54 +00:00
targetSdk 34
2024-12-06 14:10:56 +00:00
versionCode 21
2024-12-06 14:12:19 +00:00
versionName "0.3.0"
2023-07-17 13:21:50 +01:00
testInstrumentationRunner "androidx.test.runner.AndroidJUnitRunner"
vectorDrawables {
useSupportLibrary true
}
}
buildTypes {
release {
2023-08-30 15:00:03 +01:00
minifyEnabled true
2023-07-17 13:21:50 +01:00
proguardFiles getDefaultProguardFile('proguard-android-optimize.txt'), 'proguard-rules.pro'
}
}
2023-09-15 10:54:12 +01:00
splits {
abi {
enable true
reset()
include "x86", "x86_64", "arm64-v8a", "armeabi-v7a"
universalApk true
}
}
2023-07-17 13:21:50 +01:00
compileOptions {
sourceCompatibility JavaVersion.VERSION_1_8
targetCompatibility JavaVersion.VERSION_1_8
}
kotlinOptions {
jvmTarget = '1.8'
}
buildFeatures {
}
packagingOptions {
resources {
excludes += '/META-INF/{AL2.0,LGPL2.1}'
}
}
}
dependencies {
2023-08-30 15:00:03 +01:00
implementation 'androidx.core:core-ktx:1.10.1'
implementation platform('org.jetbrains.kotlin:kotlin-bom:1.9.10')
implementation 'androidx.lifecycle:lifecycle-runtime-ktx:2.6.1'
implementation 'androidx.activity:activity-compose:1.7.2'
implementation 'androidx.webkit:webkit:1.7.0'
implementation 'androidx.security:security-crypto-ktx:1.1.0-alpha06'
implementation 'org.jetbrains.kotlinx:kotlinx-serialization-json:1.6.0'
2023-08-29 14:37:14 +01:00
// Bitcoin secp256k1 bindings to Android
api 'fr.acinq.secp256k1:secp256k1-kmp-jni-android:0.10.1'
2023-07-17 13:21:50 +01:00
testImplementation 'junit:junit:4.13.2'
2023-08-30 15:00:03 +01:00
androidTestImplementation 'androidx.test.ext:junit:1.1.5'
androidTestImplementation 'androidx.test.espresso:espresso-core:3.5.1'
2023-07-17 13:21:50 +01:00
}