Skip to content
This repository was archived by the owner on Jun 11, 2024. It is now read-only.

Commit 265d067

Browse files
committed
upgrade to Guava:30.0-jre, Netty:4.1.54.Final and other dependencies
1 parent 8961589 commit 265d067

File tree

5 files changed

+16
-15
lines changed

5 files changed

+16
-15
lines changed

README.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@ To use BrowserUp Proxy in your tests or application, add the `browserup-proxy-co
2626
<dependency>
2727
<groupId>com.browserup</groupId>
2828
<artifactId>browserup-proxy-core</artifactId>
29-
<version>1.0.0</version>
29+
<version>3.0.0</version>
3030
<scope>test</scope>
3131
</dependency>
3232
```
@@ -343,11 +343,11 @@ When you build the latest code from source, you'll have access to the latest sna
343343
<dependency>
344344
<groupId>com.browserup</groupId>
345345
<artifactId>browserup-proxy-core</artifactId>
346-
<version>1.0.0-SNAPSHOT</version>
346+
<version>3.0.0-SNAPSHOT</version>
347347
<scope>test</scope>
348348
</dependency>
349349
```
350350
Or for gradle:
351351
```yml
352-
testImplementation 'com.browserup:browserup-proxy-core:1.0.0-SNAPSHOT'
352+
testImplementation 'com.browserup:browserup-proxy-core:3.0.0-SNAPSHOT'
353353
```

browserup-proxy-core/build.gradle

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -66,11 +66,11 @@ dependencies {
6666

6767
implementation 'javax.xml.bind:jaxb-api:2.3.1'
6868

69-
implementation 'org.awaitility:awaitility:4.0.2'
69+
implementation 'org.awaitility:awaitility:4.0.3'
7070
implementation "com.fasterxml.jackson.core:jackson-core:${jacksonVersion}"
7171
implementation "com.fasterxml.jackson.core:jackson-databind:${jacksonVersion}"
7272
implementation "com.fasterxml.jackson.core:jackson-annotations:${jacksonVersion}"
73-
implementation 'com.google.guava:guava:30.0-jre'
73+
implementation "com.google.guava:guava:${guavaVersion}"
7474
implementation 'com.jcraft:jzlib:1.1.3'
7575
implementation 'dnsjava:dnsjava:3.3.1'
7676
implementation "io.netty:netty-all:${nettyVersion}"
@@ -94,8 +94,8 @@ dependencies {
9494
testImplementation "org.eclipse.jetty:jetty-servlets:${jettyVersion}"
9595
testImplementation 'org.hamcrest:hamcrest:2.2'
9696
testImplementation 'org.hamcrest:hamcrest-library:2.2'
97-
testImplementation 'com.github.tomakehurst:wiremock-jre8:2.26.3'
98-
testImplementation 'org.mockito:mockito-core:3.3.3'
97+
testImplementation 'com.github.tomakehurst:wiremock-jre8:2.27.2'
98+
testImplementation 'org.mockito:mockito-core:3.6.0'
9999
testImplementation 'org.seleniumhq.selenium:selenium-firefox-driver:3.141.59'
100100
testImplementation 'org.apache.httpcomponents:httpclient:4.5.13'
101101
}

browserup-proxy-mitm/build.gradle

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -57,7 +57,7 @@ uploadArchives {
5757
}
5858

5959
dependencies {
60-
implementation 'com.google.guava:guava:30.0-jre'
60+
implementation "com.google.guava:guava:${guavaVersion}"
6161

6262
implementation "org.bouncycastle:bcpkix-jdk15on:${bcpVersion}"
6363
implementation "org.bouncycastle:bcprov-jdk15on:${bcpVersion}"
@@ -83,5 +83,5 @@ dependencies {
8383
testImplementation 'org.codehaus.groovy:groovy-all:3.0.6'
8484
testImplementation 'org.hamcrest:hamcrest:2.2'
8585
testImplementation 'org.hamcrest:hamcrest-library:2.2'
86-
testImplementation 'org.mockito:mockito-core:3.3.3'
86+
testImplementation 'org.mockito:mockito-core:3.6.0'
8787
}

browserup-proxy-rest/build.gradle

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -64,7 +64,7 @@ uploadArchives {
6464
dependencies {
6565
implementation project(':browserup-proxy-core')
6666

67-
implementation 'com.google.guava:guava:30.0-jre'
67+
implementation "com.google.guava:guava:${guavaVersion}"
6868
implementation "com.google.inject:guice:${guiceVersion}"
6969
implementation "com.google.inject.extensions:guice-servlet:${guiceVersion}"
7070
implementation "com.google.inject.extensions:guice-multibindings:${guiceVersion}"
@@ -100,8 +100,8 @@ dependencies {
100100
testImplementation 'org.codehaus.groovy.modules.http-builder:http-builder:0.7.2'
101101
testImplementation 'org.hamcrest:hamcrest:2.2'
102102
testImplementation 'org.hamcrest:hamcrest-library:2.2'
103-
testImplementation 'org.mockito:mockito-core:3.3.3'
104-
testImplementation 'org.seleniumhq.selenium:selenium-api:3.4.0'
105-
testImplementation 'org.awaitility:awaitility:4.0.2'
106-
testImplementation 'com.github.tomakehurst:wiremock-jre8:2.24.1'
103+
testImplementation 'org.mockito:mockito-core:3.6.0'
104+
testImplementation 'org.seleniumhq.selenium:selenium-api:3.141.59'
105+
testImplementation 'org.awaitility:awaitility:4.0.3'
106+
testImplementation 'com.github.tomakehurst:wiremock-jre8:2.27.2'
107107
}

build.gradle

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ configurations.all {
1717
// conflicts later. BrowserUpDriver _should_ be allowed to use whatever libs it wants.
1818
//resolutionStrategy.force 'com.google.guava:guava:*', 'com.google.guava:guava:22.0'
1919
// UPDATE Jan 27, 2019: I forked org.littleshoot.proxy to Browserup and upgraded it to Guava 27.0.1-jre
20-
resolutionStrategy.force 'com.google.guava:guava:*', 'com.google.guava:guava:30.0-jre'
20+
resolutionStrategy.force 'com.google.guava:guava:*', "com.google.guava:guava:${guavaVersion}"
2121
}
2222
}
2323

@@ -41,6 +41,7 @@ subprojects {
4141
log4jVersion = '2.14.0'
4242
nettyVersion = '4.1.54.Final'
4343
slf4jVersion = '1.7.30'
44+
guavaVersion = '30.0-jre'
4445
}
4546

4647
repositories {

0 commit comments

Comments
 (0)