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'
|
|
|
|
compileSdk 33
|
|
|
|
|
|
|
|
defaultConfig {
|
|
|
|
applicationId "social.snort.app"
|
2023-08-29 14:37:14 +01:00
|
|
|
minSdk 26
|
2023-07-17 13:21:50 +01:00
|
|
|
targetSdk 33
|
2023-08-29 16:31:21 +01:00
|
|
|
versionCode 5
|
2023-08-29 16:26:01 +01:00
|
|
|
versionName "1.0.13"
|
2023-07-17 13:21:50 +01:00
|
|
|
|
|
|
|
testInstrumentationRunner "androidx.test.runner.AndroidJUnitRunner"
|
|
|
|
vectorDrawables {
|
|
|
|
useSupportLibrary true
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
buildTypes {
|
|
|
|
release {
|
|
|
|
minifyEnabled 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'
|
|
|
|
}
|
|
|
|
buildFeatures {
|
|
|
|
|
|
|
|
}
|
|
|
|
packagingOptions {
|
|
|
|
resources {
|
|
|
|
excludes += '/META-INF/{AL2.0,LGPL2.1}'
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
dependencies {
|
|
|
|
|
|
|
|
implementation 'androidx.core:core-ktx:1.8.0'
|
|
|
|
implementation platform('org.jetbrains.kotlin:kotlin-bom:1.8.0')
|
|
|
|
implementation 'androidx.lifecycle:lifecycle-runtime-ktx:2.3.1'
|
|
|
|
implementation 'androidx.activity:activity-compose:1.5.1'
|
|
|
|
implementation 'androidx.webkit:webkit:1.4.0'
|
2023-08-29 14:37:14 +01:00
|
|
|
implementation 'androidx.security:security-crypto-ktx:1.1.0-alpha03'
|
|
|
|
implementation 'org.jetbrains.kotlinx:kotlinx-serialization-json:1.5.1'
|
|
|
|
|
|
|
|
// 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'
|
|
|
|
androidTestImplementation 'androidx.test.ext:junit:1.1.3'
|
|
|
|
androidTestImplementation 'androidx.test.espresso:espresso-core:3.4.0'
|
|
|
|
}
|