Add unit-tested update-version comparison logic
Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01LHgWjmEJXsJEi1EVAoTp4K
This commit is contained in:
@@ -13,7 +13,7 @@ android {
|
||||
targetSdk = 34
|
||||
versionCode = 1
|
||||
versionName = "1.0"
|
||||
buildConfigField("String", "WEBSITE_URL", "\"https://kwaba.whodovoodoo.pasteaf.de/tv\"")
|
||||
buildConfigField("String", "WEBSITE_URL", "\"https://kwaba-dev.whodovoodoo.pasteaf.de/tv\"")
|
||||
}
|
||||
|
||||
buildTypes {
|
||||
@@ -35,3 +35,11 @@ android {
|
||||
jvmTarget = "1.8"
|
||||
}
|
||||
}
|
||||
|
||||
dependencies {
|
||||
testImplementation("junit:junit:4.13.2")
|
||||
// Android's org.json classes are stubbed out (throw at runtime) in plain JVM unit
|
||||
// tests unless a real implementation is on the test classpath - this is that
|
||||
// implementation, test-only, never shipped in the APK.
|
||||
testImplementation("org.json:json:20231013")
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user