From ff53049377c71e8361e56d92e210123ae8f1e509 Mon Sep 17 00:00:00 2001 From: Niels van Velzen Date: Wed, 12 Jun 2024 21:48:10 +0200 Subject: [PATCH] Drop unused playback-ui module --- playback/ui/build.gradle.kts | 59 ------------------------ playback/ui/src/main/AndroidManifest.xml | 6 --- settings.gradle.kts | 1 - 3 files changed, 66 deletions(-) delete mode 100644 playback/ui/build.gradle.kts delete mode 100644 playback/ui/src/main/AndroidManifest.xml diff --git a/playback/ui/build.gradle.kts b/playback/ui/build.gradle.kts deleted file mode 100644 index 9fc3efad76..0000000000 --- a/playback/ui/build.gradle.kts +++ /dev/null @@ -1,59 +0,0 @@ -plugins { - id("com.android.library") - kotlin("android") -} - -android { - namespace = "org.jellyfin.playback.ui" - compileSdk = 34 - - defaultConfig { - minSdk = 21 - } - - buildFeatures { - viewBinding = true - } - - lint { - lintConfig = file("$rootDir/android-lint.xml") - abortOnError = false - } - - testOptions.unitTests.all { - it.useJUnitPlatform() - } -} - -dependencies { - // Jellyfin - implementation(projects.playback.core) - implementation(projects.playback.jellyfin) - implementation(libs.jellyfin.sdk) { - // Change version if desired - val sdkVersion = findProperty("sdk.version")?.toString() - when (sdkVersion) { - "local" -> version { strictly("latest-SNAPSHOT") } - "snapshot" -> version { strictly("master-SNAPSHOT") } - "unstable-snapshot" -> version { strictly("openapi-unstable-SNAPSHOT") } - } - } - - // Android(x) - implementation(libs.androidx.core) - implementation(libs.androidx.appcompat) - implementation(libs.androidx.constraintlayout) - implementation(libs.bundles.androidx.lifecycle) - implementation(libs.androidx.media3.session) - - // Dependency Injection - implementation(libs.bundles.koin) - - // Logging - implementation(libs.timber) - - // Testing - testImplementation(libs.kotest.runner.junit5) - testImplementation(libs.kotest.assertions) - testImplementation(libs.mockk) -} diff --git a/playback/ui/src/main/AndroidManifest.xml b/playback/ui/src/main/AndroidManifest.xml deleted file mode 100644 index d7898ad6b4..0000000000 --- a/playback/ui/src/main/AndroidManifest.xml +++ /dev/null @@ -1,6 +0,0 @@ - - - - - - diff --git a/settings.gradle.kts b/settings.gradle.kts index 03f0c9d7a8..dea62829fa 100644 --- a/settings.gradle.kts +++ b/settings.gradle.kts @@ -9,7 +9,6 @@ include(":app") include(":playback:core") include(":playback:exoplayer") include(":playback:jellyfin") -include(":playback:ui") include(":preference") pluginManagement {