- Release APK now signed with debug key (installable on any device) - Removed ProGuard minification (breaks data classes in demo app) - CI simplified: one release APK → GitHub Release on every push - Removed debug APK from releases (unnecessary duplication) - Full Russian translation: UI, report, share intent, descriptions - Added Roskomnadzor/Mintsifry context to empty state screen - Version bumped to 0.2.0 Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
62 lines
1.5 KiB
Kotlin
62 lines
1.5 KiB
Kotlin
plugins {
|
|
id("com.android.application")
|
|
id("org.jetbrains.kotlin.android")
|
|
}
|
|
|
|
android {
|
|
namespace = "com.yourvpndead"
|
|
compileSdk = 34
|
|
|
|
defaultConfig {
|
|
applicationId = "com.yourvpndead"
|
|
minSdk = 24
|
|
targetSdk = 34
|
|
versionCode = 2
|
|
versionName = "0.2.0"
|
|
}
|
|
|
|
buildTypes {
|
|
release {
|
|
isMinifyEnabled = false
|
|
signingConfig = signingConfigs.getByName("debug")
|
|
}
|
|
}
|
|
|
|
compileOptions {
|
|
sourceCompatibility = JavaVersion.VERSION_17
|
|
targetCompatibility = JavaVersion.VERSION_17
|
|
}
|
|
|
|
kotlinOptions {
|
|
jvmTarget = "17"
|
|
}
|
|
|
|
buildFeatures {
|
|
compose = true
|
|
}
|
|
|
|
composeOptions {
|
|
kotlinCompilerExtensionVersion = "1.5.8"
|
|
}
|
|
}
|
|
|
|
dependencies {
|
|
// Compose BOM
|
|
implementation(platform("androidx.compose:compose-bom:2024.02.00"))
|
|
implementation("androidx.compose.material3:material3")
|
|
implementation("androidx.compose.ui:ui")
|
|
implementation("androidx.compose.ui:ui-tooling-preview")
|
|
implementation("androidx.compose.material:material-icons-extended")
|
|
debugImplementation("androidx.compose.ui:ui-tooling")
|
|
|
|
// Activity + ViewModel
|
|
implementation("androidx.activity:activity-compose:1.8.2")
|
|
implementation("androidx.lifecycle:lifecycle-viewmodel-compose:2.7.0")
|
|
implementation("androidx.lifecycle:lifecycle-runtime-compose:2.7.0")
|
|
|
|
// Coroutines
|
|
implementation("org.jetbrains.kotlinx:kotlinx-coroutines-android:1.8.0")
|
|
|
|
// Core
|
|
implementation("androidx.core:core-ktx:1.12.0")
|
|
}
|