62 lines
1.6 KiB
Text
62 lines
1.6 KiB
Text
|
|
plugins {
|
||
|
|
id("com.android.application")
|
||
|
|
id("org.jetbrains.kotlin.android")
|
||
|
|
}
|
||
|
|
|
||
|
|
android {
|
||
|
|
namespace = "com.example.phonerecorder"
|
||
|
|
compileSdk = 34
|
||
|
|
|
||
|
|
defaultConfig {
|
||
|
|
applicationId = "com.example.phonerecorder"
|
||
|
|
minSdk = 29
|
||
|
|
targetSdk = 33
|
||
|
|
versionCode = 2
|
||
|
|
versionName = "1.1.0"
|
||
|
|
|
||
|
|
// Build timestamp for version display
|
||
|
|
buildConfigField("long", "BUILD_TIMESTAMP", "${System.currentTimeMillis()}L")
|
||
|
|
}
|
||
|
|
|
||
|
|
buildFeatures {
|
||
|
|
buildConfig = true
|
||
|
|
}
|
||
|
|
|
||
|
|
buildTypes {
|
||
|
|
release {
|
||
|
|
isMinifyEnabled = 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"
|
||
|
|
}
|
||
|
|
}
|
||
|
|
|
||
|
|
dependencies {
|
||
|
|
implementation("androidx.core:core-ktx:1.12.0")
|
||
|
|
implementation("androidx.appcompat:appcompat:1.6.1")
|
||
|
|
implementation("com.google.android.material:material:1.10.0")
|
||
|
|
implementation("androidx.constraintlayout:constraintlayout:2.1.4")
|
||
|
|
implementation("androidx.localbroadcastmanager:localbroadcastmanager:1.1.0")
|
||
|
|
|
||
|
|
// Encryption
|
||
|
|
implementation("com.goterl:lazysodium-android:5.1.0@aar")
|
||
|
|
implementation("net.java.dev.jna:jna:5.14.0@aar")
|
||
|
|
|
||
|
|
// Background sync
|
||
|
|
implementation("androidx.work:work-runtime-ktx:2.9.0")
|
||
|
|
|
||
|
|
// HTTP client
|
||
|
|
implementation("com.squareup.okhttp3:okhttp:4.12.0")
|
||
|
|
}
|