* build: bump min sdk to 28 * refactor: remove unnecessary checks * refactor: remove unused import
41 lines
832 B
Text
41 lines
832 B
Text
plugins {
|
|
alias(libs.plugins.android.library)
|
|
alias(libs.plugins.kotlin.android)
|
|
alias(libs.plugins.ktlint)
|
|
}
|
|
|
|
android {
|
|
namespace = "dev.jdtech.jellyfin.preferences"
|
|
compileSdk = 34
|
|
buildToolsVersion = "34.0.0"
|
|
|
|
defaultConfig {
|
|
minSdk = 28
|
|
}
|
|
|
|
buildTypes {
|
|
named("release") {
|
|
isMinifyEnabled = false
|
|
}
|
|
register("staging") {
|
|
initWith(getByName("release"))
|
|
}
|
|
}
|
|
|
|
compileOptions {
|
|
sourceCompatibility = JavaVersion.VERSION_17
|
|
targetCompatibility = JavaVersion.VERSION_17
|
|
}
|
|
}
|
|
|
|
ktlint {
|
|
version.set("0.50.0")
|
|
android.set(true)
|
|
ignoreFailures.set(false)
|
|
}
|
|
|
|
dependencies {
|
|
implementation(libs.androidx.core)
|
|
implementation(libs.androidx.media3.common)
|
|
implementation(libs.hilt.android)
|
|
}
|