Skip to content

Commit

Permalink
Use single checker version across different configurations
Browse files Browse the repository at this point in the history
  • Loading branch information
mateuszkwiecinski committed Feb 28, 2022
1 parent d9244e8 commit d79891b
Show file tree
Hide file tree
Showing 3 changed files with 9 additions and 1 deletion.
8 changes: 8 additions & 0 deletions build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -49,4 +49,12 @@ allprojects {
setMatchingFallbacks("debug")
}
}
configurations.configureEach {
resolutionStrategy.eachDependency {
if (requested.group == "org.checkerframework" && requested.name != "checker-compat-qual") {
useVersion(libs.versions.mavencentral.checker.get())
because("https://github.com/google/ExoPlayer/issues/10007")
}
}
}
}
1 change: 1 addition & 0 deletions gradle/libs.versions.toml
Original file line number Diff line number Diff line change
Expand Up @@ -40,6 +40,7 @@ mavencentral-leakcanary = "2.7"
mavencentral-markdown = "0.2.4"
mavencentral-junit = "5.8.2"
mavencentral-napier = "2.2.0"
mavencentral-checker = "3.21.2"
jitpack-photoview = "2.3.0"
jitpack-subsampling-scale-image-view = "3.10.0"

Expand Down
1 change: 0 additions & 1 deletion settings.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,6 @@ plugins {
}

enableFeaturePreview("TYPESAFE_PROJECT_ACCESSORS")
enableFeaturePreview("VERSION_CATALOGS")

Closure discoverSubprojects = {
fileTree(rootDir) { include("**/build.gradle") }
Expand Down

0 comments on commit d79891b

Please sign in to comment.