From 25a9887be2ba6d7544522dade4ccff4f2e36d3b8 Mon Sep 17 00:00:00 2001 From: SanmerDev Date: Sat, 13 Jan 2024 18:55:02 +0800 Subject: [PATCH] Tidy up dependencies --- app/build.gradle.kts | 5 ----- build.gradle.kts | 4 +--- compat/build.gradle.kts | 1 - gradle/libs.versions.toml | 17 ----------------- 4 files changed, 1 insertion(+), 26 deletions(-) diff --git a/app/build.gradle.kts b/app/build.gradle.kts index ba1e8cd0..b846b816 100644 --- a/app/build.gradle.kts +++ b/app/build.gradle.kts @@ -5,9 +5,6 @@ plugins { alias(libs.plugins.pro.compose) alias(libs.plugins.pro.hilt) alias(libs.plugins.pro.room) - alias(libs.plugins.kotlin.parcelize) - alias(libs.plugins.ksp) - alias(libs.plugins.rikka.refine) } val baseVersionName = "0.3.1" @@ -86,7 +83,6 @@ dependencies { implementation(libs.androidx.compose.ui.util) implementation(libs.androidx.core.ktx) implementation(libs.androidx.core.splashscreen) - implementation(libs.androidx.documentfile) implementation(libs.androidx.hilt.navigation.compose) implementation(libs.androidx.lifecycle.runtime.compose) implementation(libs.androidx.lifecycle.service) @@ -99,7 +95,6 @@ dependencies { implementation(libs.rikka.shizuku.api) implementation(libs.rikka.shizuku.provider) implementation(libs.hiddenApiBypass) - implementation(libs.rikka.refine.runtime) implementation(libs.appiconloader) implementation(libs.appiconloader.coil) diff --git a/build.gradle.kts b/build.gradle.kts index 7b82e876..ea2ddb71 100644 --- a/build.gradle.kts +++ b/build.gradle.kts @@ -1,11 +1,9 @@ plugins { alias(libs.plugins.android.application) apply false alias(libs.plugins.android.library) apply false - alias(libs.plugins.hilt) apply false alias(libs.plugins.kotlin.jvm) apply false - alias(libs.plugins.kotlin.parcelize) apply false + alias(libs.plugins.hilt) apply false alias(libs.plugins.ksp) apply false - alias(libs.plugins.protobuf) apply false } task("clean") { diff --git a/compat/build.gradle.kts b/compat/build.gradle.kts index 0277e928..b0bebb9f 100644 --- a/compat/build.gradle.kts +++ b/compat/build.gradle.kts @@ -21,6 +21,5 @@ dependencies { implementation(libs.libsu.service) implementation(libs.rikka.shizuku.api) - implementation(libs.rikka.shizuku.provider) implementation(libs.rikka.refine.runtime) } \ No newline at end of file diff --git a/gradle/libs.versions.toml b/gradle/libs.versions.toml index ec984641..80ab714a 100644 --- a/gradle/libs.versions.toml +++ b/gradle/libs.versions.toml @@ -4,19 +4,15 @@ androidGradlePlugin = "8.2.1" androidxActivity = "1.8.2" androidxAnnotation = "1.7.1" androidxAppCompat = "1.6.1" -androidxCollection = "1.3.0" androidxCompose = "1.5.4" androidxComposeCompiler = "1.5.6" androidxComposeMaterial3 = "1.1.2" androidxCore = "1.12.0" androidxCoreSplashscreen = "1.0.1" -androidxDataStore = "1.0.0" -androidxDocumentFile = "1.0.1" androidxHiltNavigationCompose = "1.1.0" androidxLifecycle = "2.7.0" androidxNavigation = "2.7.6" androidxRoom = "2.6.1" -androidxWork = "2.8.1" appiconloader = "1.5.0" coil = "2.5.0" hiddenApiRefine = "4.4.0" @@ -26,8 +22,6 @@ kotlinxCoroutines = "1.7.3" kotlinxDatetime = "0.5.0" ksp = "1.9.21-1.0.15" libsu = "5.2.2" -protobuf = "3.25.2" -protobufPlugin = "0.9.4" shizuku = "13.1.5" [libraries] @@ -35,7 +29,6 @@ accompanist-permissions = { group = "com.google.accompanist", name = "accompanis androidx-activity-compose = { group = "androidx.activity", name = "activity-compose", version.ref = "androidxActivity" } androidx-annotation = { group = "androidx.annotation", name = "annotation", version.ref = "androidxAnnotation" } androidx-appcompat = { group = "androidx.appcompat", name = "appcompat", version.ref = "androidxAppCompat" } -androidx-collection-jvm = { group = "androidx.collection", name = "collection-jvm", version.ref = "androidxCollection" } androidx-compose-material3 = { group = "androidx.compose.material3", name = "material3", version.ref = "androidxComposeMaterial3" } androidx-compose-ui = { group = "androidx.compose.ui", name = "ui", version.ref = "androidxCompose" } androidx-compose-ui-tooling = { group = "androidx.compose.ui", name = "ui-tooling", version.ref = "androidxCompose" } @@ -43,10 +36,7 @@ androidx-compose-ui-tooling-preview = { group = "androidx.compose.ui", name = "u androidx-compose-ui-util = { group = "androidx.compose.ui", name = "ui-util", version.ref = "androidxCompose" } androidx-core-ktx = { group = "androidx.core", name = "core-ktx", version.ref = "androidxCore" } androidx-core-splashscreen = { group = "androidx.core", name = "core-splashscreen", version.ref = "androidxCoreSplashscreen" } -androidx-datastore-core = { group = "androidx.datastore", name = "datastore", version.ref = "androidxDataStore" } -androidx-documentfile = { group = "androidx.documentfile", name = "documentfile", version.ref = "androidxDocumentFile" } androidx-hilt-navigation-compose = { group = "androidx.hilt", name = "hilt-navigation-compose", version.ref = "androidxHiltNavigationCompose" } -androidx-lifecycle-livedata-ktx = { group = "androidx.lifecycle", name = "lifecycle-livedata-ktx", version.ref = "androidxLifecycle" } androidx-lifecycle-runtime-compose = { group = "androidx.lifecycle", name = "lifecycle-runtime-compose", version.ref = "androidxLifecycle" } androidx-lifecycle-service = { group = "androidx.lifecycle", name = "lifecycle-service", version.ref = "androidxLifecycle" } androidx-lifecycle-viewModel-compose = { group = "androidx.lifecycle", name = "lifecycle-viewmodel-compose", version.ref = "androidxLifecycle" } @@ -60,15 +50,10 @@ coil-kt = { group = "io.coil-kt", name = "coil", version.ref = "coil" } coil-kt-compose = { group = "io.coil-kt", name = "coil-compose", version.ref = "coil" } hilt-android = { group = "com.google.dagger", name = "hilt-android", version.ref = "hilt" } hilt-compiler = { group = "com.google.dagger", name = "hilt-android-compiler", version.ref = "hilt" } -kotlin-reflect = { group = "org.jetbrains.kotlin", name = "kotlin-reflect", version.ref = "kotlin" } -kotlin-stdlib = { group = "org.jetbrains.kotlin", name = "kotlin-stdlib-jdk8", version.ref = "kotlin" } kotlinx-coroutines-android = { group = "org.jetbrains.kotlinx", name = "kotlinx-coroutines-android", version.ref = "kotlinxCoroutines" } kotlinx-datetime = { group = "org.jetbrains.kotlinx", name = "kotlinx-datetime", version.ref = "kotlinxDatetime" } libsu-core = { group = "com.github.topjohnwu.libsu", name = "core", version.ref = "libsu" } -libsu-io = { group = "com.github.topjohnwu.libsu", name = "io", version.ref = "libsu" } libsu-service = { group = "com.github.topjohnwu.libsu", name = "service", version.ref = "libsu" } -protobuf-kotlin-lite = { group = "com.google.protobuf", name = "protobuf-kotlin-lite", version.ref = "protobuf" } -protobuf-protoc = { group = "com.google.protobuf", name = "protoc", version.ref = "protobuf" } rikka-refine-annotation = { module = "dev.rikka.tools.refine:annotation", version.ref = "hiddenApiRefine" } rikka-refine-compiler = { module = "dev.rikka.tools.refine:annotation-processor", version.ref = "hiddenApiRefine" } rikka-refine-runtime = { module = "dev.rikka.tools.refine:runtime", version.ref = "hiddenApiRefine" } @@ -88,9 +73,7 @@ android-application = { id = "com.android.application", version.ref = "androidGr android-library = { id = "com.android.library", version.ref = "androidGradlePlugin" } hilt = { id = "com.google.dagger.hilt.android", version.ref = "hilt" } kotlin-jvm = { id = "org.jetbrains.kotlin.jvm", version.ref = "kotlin" } -kotlin-parcelize = { id = "org.jetbrains.kotlin.plugin.parcelize", version.ref = "kotlin" } ksp = { id = "com.google.devtools.ksp", version.ref = "ksp" } -protobuf = { id = "com.google.protobuf", version.ref = "protobufPlugin" } rikka-refine = { id = "dev.rikka.tools.refine", version.ref = "hiddenApiRefine" } # Plugins defined by this project