mirror of
https://github.com/foxhole-team/foxhole-guard.git
synced 2026-10-21 10:45:41 +02:00
099e864dd7
Fix profile mutation, notification authorization, runtime ownership and WebApp isolation boundaries. Refresh native dependencies and verify the shipped dependency inventory. Add white accent and monochrome themes with the OpenWrt launcher icon; preserve application icons and flags in color. Restore standard update-source actions. Pin published Core 0.0.5, reuse authenticated release artifacts and run Android boundary tests across supported API levels. Update F-Droid source recipe and release notes.
54 lines
1.5 KiB
Kotlin
54 lines
1.5 KiB
Kotlin
plugins {
|
|
id("com.android.library")
|
|
id("org.jetbrains.kotlin.plugin.serialization") version "2.4.20"
|
|
}
|
|
|
|
android {
|
|
namespace = "com.foxhole.core.runtime"
|
|
compileSdk = 37
|
|
|
|
defaultConfig {
|
|
minSdk = 26
|
|
testInstrumentationRunner = "androidx.test.runner.AndroidJUnitRunner"
|
|
|
|
buildConfigField("boolean", "ENABLE_DIAGNOSTIC_LOGCAT", "false")
|
|
buildConfigField("String", "VERSION_NAME", "\"${project.version}\"")
|
|
buildConfigField("String", "APPLICATION_ID", "\"com.foxhole.guard\"")
|
|
buildConfigField("String", "DEFAULT_IP_INFO_ENDPOINT", "\"https://ipwho.is/\"")
|
|
}
|
|
|
|
buildTypes {
|
|
getByName("debug") {
|
|
buildConfigField("boolean", "ENABLE_DIAGNOSTIC_LOGCAT", "true")
|
|
|
|
enableUnitTestCoverage = true
|
|
}
|
|
}
|
|
|
|
buildFeatures {
|
|
buildConfig = true
|
|
}
|
|
|
|
testOptions {
|
|
unitTests.isReturnDefaultValues = true
|
|
}
|
|
|
|
compileOptions {
|
|
sourceCompatibility = JavaVersion.VERSION_17
|
|
targetCompatibility = JavaVersion.VERSION_17
|
|
}
|
|
}
|
|
|
|
dependencies {
|
|
implementation(project(":core:model"))
|
|
implementation(project(":core:network"))
|
|
implementation(libs.kotlinx.coroutines.android)
|
|
implementation(libs.kotlinx.serialization.json)
|
|
implementation(libs.okhttp)
|
|
|
|
testImplementation(libs.junit4)
|
|
androidTestImplementation(libs.androidx.junit)
|
|
androidTestImplementation(libs.androidx.test.core)
|
|
androidTestImplementation("androidx.test:runner:1.7.0")
|
|
}
|