ananas/player/core/build.gradle.kts
Jarne Demeulemeester fd33d52bba
feat: add product flavors libre and huawei
Huawei requires a different app icon. They don't like the Android Robot :(
2023-05-14 18:32:46 +02:00

49 lines
1.1 KiB
Text

plugins {
alias(libs.plugins.android.library)
alias(libs.plugins.kotlin.android)
alias(libs.plugins.kotlin.parcelize)
alias(libs.plugins.kotlin.kapt)
alias(libs.plugins.ktlint)
}
android {
namespace = "dev.jdtech.jellyfin.player.core"
compileSdk = 33
buildToolsVersion = "33.0.2"
defaultConfig {
minSdk = 27
}
buildTypes {
named("release") {
isMinifyEnabled = false
}
register("staging") {
initWith(getByName("release"))
}
}
compileOptions {
sourceCompatibility = JavaVersion.VERSION_17
targetCompatibility = JavaVersion.VERSION_17
}
}
ktlint {
android.set(true)
ignoreFailures.set(false)
disabledRules.add("max-line-length")
}
dependencies {
implementation(project(":data"))
implementation(project(":preferences"))
implementation(libs.androidx.core)
implementation(libs.androidx.preference)
implementation(libs.androidx.room.runtime)
kapt(libs.androidx.room.compiler)
implementation(libs.androidx.room.ktx)
implementation(libs.jellyfin.core)
implementation(libs.timber)
}