Files
kidstube/app/build.gradle.kts

54 lines
1.2 KiB
Kotlin

plugins {
id("com.android.application")
id("org.jetbrains.kotlin.android")
}
android {
namespace = "dev.lotherk.kidstube"
compileSdk = 35
defaultConfig {
applicationId = "dev.lotherk.kidstube"
minSdk = 21
targetSdk = 35
versionCode = 1
versionName = "0.1"
}
buildTypes {
release {
isMinifyEnabled = false
}
}
buildFeatures {
viewBinding = true
}
compileOptions {
sourceCompatibility = JavaVersion.VERSION_17
targetCompatibility = JavaVersion.VERSION_17
}
kotlinOptions {
jvmTarget = "17"
}
lint {
// Hard floor check: an API-24 call must fail here, not on the tablet.
abortOnError = true
}
}
dependencies {
implementation("androidx.core:core-ktx:1.13.1")
implementation("androidx.appcompat:appcompat:1.7.0")
implementation("androidx.recyclerview:recyclerview:1.3.2")
implementation("androidx.documentfile:documentfile:1.0.1")
testImplementation("junit:junit:4.13.2")
// Android ships org.json; the JVM test classpath needs a real implementation
// so the Jellyfin parser can be tested without a device.
testImplementation("org.json:json:20231013")
}