* chore(deps): update dependency org.jlleitschuh.gradle.ktlint to v11.5.0 * feat: bump to ktlint 0.50.0 --------- Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com> Co-authored-by: Jarne Demeulemeester <jarnedemeulemeester@gmail.com>
68 lines
1.8 KiB
Text
68 lines
1.8 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.androidx.navigation.safeargs)
|
|
alias(libs.plugins.hilt)
|
|
alias(libs.plugins.ktlint)
|
|
}
|
|
|
|
android {
|
|
namespace = "dev.jdtech.jellyfin.core"
|
|
compileSdk = 33
|
|
buildToolsVersion = "33.0.2"
|
|
|
|
defaultConfig {
|
|
minSdk = 27
|
|
}
|
|
|
|
buildTypes {
|
|
named("release") {
|
|
isMinifyEnabled = false
|
|
}
|
|
register("staging") {
|
|
initWith(getByName("release"))
|
|
}
|
|
}
|
|
|
|
flavorDimensions += "variant"
|
|
productFlavors {
|
|
register("libre")
|
|
register("huawei")
|
|
}
|
|
|
|
compileOptions {
|
|
sourceCompatibility = JavaVersion.VERSION_17
|
|
targetCompatibility = JavaVersion.VERSION_17
|
|
}
|
|
}
|
|
|
|
ktlint {
|
|
version.set("0.50.0")
|
|
android.set(true)
|
|
ignoreFailures.set(false)
|
|
}
|
|
|
|
dependencies {
|
|
implementation(project(":data"))
|
|
implementation(project(":preferences"))
|
|
implementation(project(":player:core"))
|
|
implementation(libs.androidx.activity)
|
|
implementation(libs.androidx.appcompat)
|
|
implementation(libs.androidx.core)
|
|
implementation(libs.androidx.hilt.work)
|
|
kapt(libs.androidx.hilt.compiler)
|
|
implementation(libs.androidx.lifecycle.runtime)
|
|
implementation(libs.androidx.lifecycle.viewmodel)
|
|
implementation(libs.androidx.navigation.fragment)
|
|
implementation(libs.androidx.paging)
|
|
implementation(libs.androidx.preference)
|
|
implementation(libs.androidx.room.runtime)
|
|
implementation(libs.androidx.work)
|
|
implementation(libs.hilt.android)
|
|
kapt(libs.hilt.compiler)
|
|
implementation(libs.jellyfin.core)
|
|
implementation(libs.material)
|
|
implementation(libs.timber)
|
|
}
|