Android TV build support

This commit is contained in:
2026-09-26 09:41:32 -04:00
parent bd321520c9
commit cd18f09142
3 changed files with 25 additions and 0 deletions

View File

@@ -13,6 +13,14 @@ val tauriProperties = Properties().apply {
}
}
configurations.all {
resolutionStrategy {
force("com.fasterxml.jackson.core:jackson-databind:2.13.5")
force("com.fasterxml.jackson.core:jackson-core:2.13.5")
force("com.fasterxml.jackson.core:jackson-annotations:2.13.5")
}
}
android {
compileSdk = 36
namespace = "com.vyla.go"
@@ -23,6 +31,9 @@ android {
targetSdk = 36
versionCode = tauriProperties.getProperty("tauri.android.versionCode", "1").toInt()
versionName = tauriProperties.getProperty("tauri.android.versionName", "1.0")
ndk {
abiFilters.addAll(listOf("arm64-v8a", "armeabi-v7a", "x86_64"))
}
}
signingConfigs {
create("release") {
@@ -59,6 +70,11 @@ android {
useLegacyPackaging = true
}
}
compileOptions {
sourceCompatibility = JavaVersion.VERSION_1_8
targetCompatibility = JavaVersion.VERSION_1_8
isCoreLibraryDesugaringEnabled = true
}
}
rust {
@@ -74,6 +90,7 @@ dependencies {
testImplementation("junit:junit:4.13.2")
androidTestImplementation("androidx.test.ext:junit:1.1.4")
androidTestImplementation("androidx.test.espresso:espresso-core:3.5.0")
coreLibraryDesugaring("com.android.tools:desugar_jdk_libs:2.0.4")
}
apply(from = "tauri.build.gradle.kts")