40 lines
677 B
Text
40 lines
677 B
Text
|
plugins {
|
||
|
id("com.android.library")
|
||
|
kotlin("android")
|
||
|
}
|
||
|
|
||
|
android {
|
||
|
namespace = "org.jellyfin.preference"
|
||
|
compileSdk = libs.versions.android.compileSdk.get().toInt()
|
||
|
|
||
|
defaultConfig {
|
||
|
minSdk = libs.versions.android.minSdk.get().toInt()
|
||
|
}
|
||
|
|
||
|
buildFeatures {
|
||
|
viewBinding = true
|
||
|
}
|
||
|
|
||
|
lint {
|
||
|
lintConfig = file("$rootDir/android-lint.xml")
|
||
|
abortOnError = false
|
||
|
}
|
||
|
|
||
|
testOptions.unitTests.all {
|
||
|
it.useJUnitPlatform()
|
||
|
}
|
||
|
}
|
||
|
|
||
|
dependencies {
|
||
|
// Kotlin
|
||
|
implementation(libs.kotlinx.coroutines)
|
||
|
|
||
|
// Logging
|
||
|
implementation(libs.timber)
|
||
|
|
||
|
// Testing
|
||
|
testImplementation(libs.kotest.runner.junit5)
|
||
|
testImplementation(libs.kotest.assertions)
|
||
|
testImplementation(libs.mockk)
|
||
|
}
|