Skip to content

Commit

Permalink
Dagger 2.53.
Browse files Browse the repository at this point in the history
  • Loading branch information
ychescale9 committed Dec 3, 2024
1 parent d5a3f54 commit ddcba04
Show file tree
Hide file tree
Showing 4 changed files with 1 addition and 27 deletions.
6 changes: 0 additions & 6 deletions build-logic/settings.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -31,12 +31,6 @@ dependencyResolutionManagement {
}
}
mavenCentral()
maven {
url = uri("https://oss.sonatype.org/content/repositories/snapshots")
content {
includeGroup("com.google.dagger")
}
}
}

versionCatalogs {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -48,14 +48,6 @@ internal fun TestedExtension.configureCommonAndroidExtension(project: Project) {
with(project) {
dependencies.add("coreLibraryDesugaring", the<LibrariesForLibs>().desugarJdkLibs)
}

project.configurations.configureEach {
resolutionStrategy.eachDependency {
if (requested.group == "com.google.dagger") {
useVersion(project.the<LibrariesForLibs>().versions.hilt.get())
}
}
}
}

/**
Expand Down
2 changes: 1 addition & 1 deletion gradle/libs.versions.toml
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ fladle = "0.17.5"
skie = "0.9.5"
desugarJdkLibs = "2.1.3"
leakcanary = "2.14"
hilt = "HEAD-SNAPSHOT"
hilt = "2.53"
kotlinx-coroutines = "1.9.0"
kotlinx-datetime = "0.6.1"
kotlinx-serialization = "1.7.3"
Expand Down
12 changes: 0 additions & 12 deletions settings.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -17,12 +17,6 @@ pluginManagement {
}
}
mavenCentral()
maven {
url = uri("https://oss.sonatype.org/content/repositories/snapshots")
content {
includeGroup("com.google.dagger")
}
}
}

fun extractVersionFromCatalog(key: String) = file("$rootDir/gradle/libs.versions.toml")
Expand Down Expand Up @@ -50,12 +44,6 @@ dependencyResolutionManagement {
}
}
mavenCentral()
maven {
url = uri("https://oss.sonatype.org/content/repositories/snapshots")
content {
includeGroup("com.google.dagger")
}
}
}
}

Expand Down

0 comments on commit ddcba04

Please sign in to comment.