Files
OrbitTv/android/app/build.gradle.kts
T
pauljdandClaude Opus 5.5 aec611bf8f Quicker open; Tonight on Orbit 2 with a picture (0.108.55)
- validId built a Regex on every call. It runs thousands of times as the saved sign-in is
  read and checked (4.3 s of decoding on the box), so it's now a plain loop. The catalogue
  title key's pattern is compiled once too.
- Promos: "Tonight on Orbit 2" rather than "on 2"; the picture tries the show's backdrop and
  poster as well as the episode's, and with none the channel's logo shows, not an empty box.

Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
2026-11-06 13:10:23 +00:00

35 lines
1.4 KiB
Kotlin

plugins {
id("com.android.application")
id("org.jetbrains.kotlin.plugin.compose")
}
android {
namespace = "tv.orbit.classic"
compileSdk = 36
defaultConfig {
applicationId = "tv.orbit.classic"
minSdk = 26
targetSdk = 36
versionCode = 215
versionName = "0.108.55-quicker-open"
}
buildFeatures { compose = true }
// Android logging and the like do nothing in unit tests, so whole flows (a channel read from a fake server) can run.
testOptions { unitTests.isReturnDefaultValues = true }
compileOptions { sourceCompatibility = JavaVersion.VERSION_17; targetCompatibility = JavaVersion.VERSION_17 }
}
dependencies {
implementation(platform("androidx.compose:compose-bom:2025.08.01"))
implementation("androidx.activity:activity-compose:1.10.1")
implementation("androidx.lifecycle:lifecycle-runtime-compose:2.9.2")
implementation("androidx.compose.foundation:foundation")
implementation("androidx.compose.ui:ui")
implementation("androidx.compose.ui:ui-tooling-preview")
implementation("androidx.tv:tv-material:1.0.0")
implementation("androidx.media3:media3-exoplayer:1.8.0")
implementation("androidx.media3:media3-ui:1.8.0")
// QR codes for the phone page (Create your own): pure Java, no Google services.
implementation("com.google.zxing:core:3.5.3")
testImplementation("junit:junit:4.13.2")
testImplementation("org.json:json:20250107")
}