Merge pull request #5445 from element-hq/feature/bma/depCleanup
Remove unused dependency on `javax.inject:javax.inject`
This commit is contained in:
@@ -8,7 +8,3 @@ plugins {
|
||||
alias(libs.plugins.kotlin.jvm)
|
||||
id("com.android.lint")
|
||||
}
|
||||
|
||||
dependencies {
|
||||
api(libs.inject)
|
||||
}
|
||||
|
||||
@@ -215,7 +215,6 @@ matrix_emojibase_bindings = "io.element.android:emojibase-bindings:1.4.3"
|
||||
sigpwned_emoji4j = "com.sigpwned:emoji4j-core:16.0.0"
|
||||
|
||||
# Di
|
||||
inject = "javax.inject:javax.inject:1"
|
||||
metro_runtime = { module = "dev.zacsweers.metro:runtime", version.ref = "metro" }
|
||||
|
||||
# Element Call
|
||||
@@ -237,6 +236,7 @@ kotlin_android = { id = "org.jetbrains.kotlin.android", version.ref = "kotlin" }
|
||||
kotlin_jvm = { id = "org.jetbrains.kotlin.jvm", version.ref = "kotlin" }
|
||||
kotlin_serialization = { id = "org.jetbrains.kotlin.plugin.serialization", version.ref = "kotlin" }
|
||||
ksp = { id = "com.google.devtools.ksp", version.ref = "ksp" }
|
||||
# Note: used in DependencyInjectionExtensions.kt
|
||||
metro = { id = "dev.zacsweers.metro", version.ref = "metro" }
|
||||
detekt = { id = "io.gitlab.arturbosch.detekt", version.ref = "detekt" }
|
||||
ktlint = "org.jlleitschuh.gradle.ktlint:13.1.0"
|
||||
|
||||
@@ -11,6 +11,5 @@ plugins {
|
||||
}
|
||||
|
||||
dependencies {
|
||||
api(libs.inject)
|
||||
api(libs.metro.runtime)
|
||||
}
|
||||
|
||||
@@ -18,7 +18,6 @@ android {
|
||||
implementation(projects.libraries.uiStrings)
|
||||
implementation(projects.libraries.core)
|
||||
implementation(projects.libraries.di)
|
||||
implementation(libs.inject)
|
||||
|
||||
testCommonDependencies(libs)
|
||||
}
|
||||
|
||||
@@ -20,6 +20,5 @@ android {
|
||||
dependencies {
|
||||
implementation(projects.libraries.core)
|
||||
implementation(projects.libraries.di)
|
||||
implementation(libs.inject)
|
||||
api(projects.libraries.mediapickers.api)
|
||||
}
|
||||
|
||||
@@ -19,7 +19,6 @@ android {
|
||||
dependencies {
|
||||
implementation(projects.libraries.core)
|
||||
implementation(projects.libraries.di)
|
||||
implementation(libs.inject)
|
||||
api(projects.libraries.mediapickers.api)
|
||||
}
|
||||
}
|
||||
|
||||
@@ -25,7 +25,6 @@ dependencies {
|
||||
implementation(projects.libraries.di)
|
||||
api(projects.libraries.matrix.api)
|
||||
api(projects.libraries.preferences.api)
|
||||
implementation(libs.inject)
|
||||
implementation(libs.coroutines.core)
|
||||
|
||||
testCommonDependencies(libs)
|
||||
|
||||
@@ -32,7 +32,6 @@ dependencies {
|
||||
implementation(projects.libraries.di)
|
||||
implementation(projects.libraries.matrix.api)
|
||||
implementation(projects.services.toolbox.api)
|
||||
implementation(libs.inject)
|
||||
implementation(libs.androidx.exifinterface)
|
||||
implementation(libs.androidx.media3.transformer)
|
||||
implementation(libs.androidx.media3.effect)
|
||||
|
||||
Reference in New Issue
Block a user