ananas/data/build.gradle.kts
renovate[bot] 22542614cd
chore(deps): update android-plugin to v8 (major) (#333)
* Update android-plugin to v8

* ci: upgrade to java 17

* fix: transitive R classes and buildconfig

* lint: fix ktlint issues

* lint: fix ktlint issues

* lint: fix ktlint issues

---------

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: jarnedemeulemeester <jarnedemeulemeester@gmail.com>
2023-04-15 00:43:42 +02:00

52 lines
1.3 KiB
Text

@Suppress("DSL_SCOPE_VIOLATION") // False positive
plugins {
alias(libs.plugins.android.library)
alias(libs.plugins.kotlin.android)
alias(libs.plugins.kotlin.serialization)
alias(libs.plugins.ktlint)
}
android {
namespace = "dev.jdtech.jellyfin.data"
compileSdk = 33
buildToolsVersion = "33.0.2"
defaultConfig {
minSdk = 27
val appVersionCode: Int by rootProject.extra
val appVersionName: String by rootProject.extra
buildConfigField("int", "VERSION_CODE", appVersionCode.toString())
buildConfigField("String", "VERSION_NAME", "\"$appVersionName\"")
consumerProguardFile("proguard-rules.pro")
}
buildTypes {
getByName("release") {
isMinifyEnabled = false
}
create("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(":preferences"))
implementation(libs.androidx.paging)
implementation(libs.jellyfin.core)
implementation(libs.kotlinx.serialization.json)
implementation(libs.timber)
}