Files
ts3java/android/audio/build.gradle.kts
T
erikbrockoandClaude Opus 5.5 55e8b7bccb Android: signed, smaller release APKs
Release builds now come out one APK per ABI, signed from a gitignored
keystore.properties. Oboe is built from source with libopus and a static
libc++ into the one native library, which exports only its JNI entry
points; dex and native code are compressed in the APK and library
translations dropped. The arm64 APK went from 11.6 MB to 5.5 MB.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-10-10 12:23:09 +00:00

38 lines
743 B
Kotlin

plugins {
alias(libs.plugins.android.library)
}
android {
namespace = "com.ts3client.android.audio"
compileSdk = 37
ndkVersion = "30.0.16248370"
defaultConfig {
minSdk = 33
ndk {
abiFilters += listOf("arm64-v8a", "x86_64")
}
externalNativeBuild {
cmake {
arguments += "-DANDROID_STL=c++_static"
}
}
}
externalNativeBuild {
cmake {
path = file("src/main/cpp/CMakeLists.txt")
version = "4.1.2"
}
}
compileOptions {
sourceCompatibility = JavaVersion.VERSION_17
targetCompatibility = JavaVersion.VERSION_17
}
}
dependencies {
api(project(":core"))
}