We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 91fc10d commit 50aeffcCopy full SHA for 50aeffc
gradle/validation/error-prone.gradle
@@ -35,6 +35,18 @@ if (skipReason) {
35
}
36
37
38
+configurations.all {
39
+ resolutionStrategy {
40
+ eachDependency { details ->
41
+ if (details.requested.group == "com.google.errorprone" &&
42
+ (details.requested.name == "error_prone_core" || details.requested.name == "error_prone_annotations")) {
43
+ details.useVersion("2.31.0")
44
+ details.because("Lock Error Prone dependencies to 2.31.0 to prevent accidental upgrades")
45
+ }
46
47
48
+}
49
+
50
allprojects { prj ->
51
plugins.withType(JavaPlugin) {
52
// LUCENE-9650: Errorprone on master/gradle does not work when running as plugin
0 commit comments