mirror of
https://gitlab.com/vyla-entertainment/go.git
synced 2026-11-21 10:55:42 -05:00
Android TV build support
This commit is contained in:
@@ -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")
|
||||
Reference in New Issue
Block a user