73 lines
1.9 KiB
Groovy
73 lines
1.9 KiB
Groovy
plugins {
|
|
id 'com.android.application'
|
|
id 'org.jetbrains.kotlin.android'
|
|
id 'org.jetbrains.kotlin.plugin.serialization'
|
|
}
|
|
|
|
android {
|
|
namespace 'social.snort.app'
|
|
compileSdk 34
|
|
|
|
defaultConfig {
|
|
applicationId "social.snort.app"
|
|
minSdk 26
|
|
targetSdk 34
|
|
versionCode 21
|
|
versionName "0.3.1"
|
|
|
|
testInstrumentationRunner "androidx.test.runner.AndroidJUnitRunner"
|
|
vectorDrawables {
|
|
useSupportLibrary true
|
|
}
|
|
}
|
|
|
|
buildTypes {
|
|
release {
|
|
minifyEnabled true
|
|
proguardFiles getDefaultProguardFile('proguard-android-optimize.txt'), 'proguard-rules.pro'
|
|
}
|
|
}
|
|
|
|
splits {
|
|
abi {
|
|
enable true
|
|
reset()
|
|
include "x86", "x86_64", "arm64-v8a", "armeabi-v7a"
|
|
universalApk true
|
|
}
|
|
}
|
|
|
|
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 {
|
|
|
|
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'
|
|
|
|
// Bitcoin secp256k1 bindings to Android
|
|
api 'fr.acinq.secp256k1:secp256k1-kmp-jni-android:0.10.1'
|
|
|
|
testImplementation 'junit:junit:4.13.2'
|
|
androidTestImplementation 'androidx.test.ext:junit:1.1.5'
|
|
androidTestImplementation 'androidx.test.espresso:espresso-core:3.5.1'
|
|
} |