Skip to content

Commit

Permalink
Upgrade guava from 31.0.1-jre to latest 32.1.1-jre. (#411)
Browse files Browse the repository at this point in the history
* Upgrade guava from 31.0.1-jre to latest 32.1.1-jre.

Signed-off-by: Rishikesh1159 <[email protected]>

* Add constraint to specific version of guava.

Signed-off-by: Rishikesh1159 <[email protected]>

* remove extra references.

Signed-off-by: Rishikesh1159 <[email protected]>

* use fore resolution strategy.

Signed-off-by: Rishikesh1159 <[email protected]>

---------

Signed-off-by: Rishikesh1159 <[email protected]>
  • Loading branch information
Rishikesh1159 authored Jul 6, 2023
1 parent 0132436 commit a297c25
Showing 1 changed file with 13 additions and 1 deletion.
14 changes: 13 additions & 1 deletion build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -150,11 +150,23 @@ repositories {
maven { url "https://aws.oss.sonatype.org/content/repositories/snapshots" }
}

configurations {
all {
resolutionStrategy {
force 'com.google.guava:guava:32.0.1-jre'
}
}
}

dependencies {
implementation project(path: ":${rootProject.name}-spi", configuration: 'shadow')
implementation group: 'com.google.guava', name: 'guava', version:'31.0.1-jre'
implementation group: 'com.google.guava', name: 'guava', version:'32.0.1-jre'
implementation group: 'com.google.guava', name: 'failureaccess', version:'1.0.1'
javaRestTestImplementation project.sourceSets.main.runtimeClasspath
//spotless
implementation('com.google.googlejavaformat:google-java-format:1.15.0') {
exclude group: 'com.google.guava'
}
}

// RPM & Debian build
Expand Down

0 comments on commit a297c25

Please sign in to comment.