Skip to content

Commit

Permalink
Exclude bouncycastle dependencies all projects (also for #749)
Browse files Browse the repository at this point in the history
  • Loading branch information
bonigarcia committed Dec 27, 2023
1 parent e1d1126 commit 1a7237a
Show file tree
Hide file tree
Showing 4 changed files with 36 additions and 4 deletions.
8 changes: 6 additions & 2 deletions selenium-webdriver-junit4/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -103,12 +103,16 @@ dependencies {
testImplementation("org.seleniumhq.selenium:selenium-java:${seleniumVersion}")
testImplementation("junit:junit:${junit4Version}")
testImplementation("org.assertj:assertj-core:${assertjVersion}")
testImplementation("io.github.bonigarcia:webdrivermanager:${wdmVersion}")
testImplementation("io.github.bonigarcia:webdrivermanager:${wdmVersion}") {
exclude group: "org.bouncycastle", module: "*"
}

testImplementation("org.seleniumhq.selenium:htmlunit-driver:${htmlunitVersion}") {
exclude group: "org.seleniumhq.selenium", module: "*"
}
testImplementation("org.seleniumhq.selenium:selenium-grid:${seleniumVersion}")
testImplementation("org.seleniumhq.selenium:selenium-grid:${seleniumVersion}") {
exclude group: "org.bouncycastle", module: "*"
}
testImplementation("org.awaitility:awaitility:${awaitilityVersion}")
testImplementation("net.lightbody.bmp:browsermob-core:${browsermobVersion}") {
exclude group: "com.fasterxml.jackson.core", module: "*"
Expand Down
12 changes: 12 additions & 0 deletions selenium-webdriver-junit4/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -77,6 +77,12 @@
<artifactId>webdrivermanager</artifactId>
<version>${wdm.version}</version>
<scope>test</scope>
<exclusions>
<exclusion>
<groupId>org.bouncycastle</groupId>
<artifactId>*</artifactId>
</exclusion>
</exclusions>
</dependency>

<dependency>
Expand All @@ -96,6 +102,12 @@
<artifactId>selenium-grid</artifactId>
<version>${selenium.version}</version>
<scope>test</scope>
<exclusions>
<exclusion>
<groupId>org.bouncycastle</groupId>
<artifactId>*</artifactId>
</exclusion>
</exclusions>
</dependency>
<dependency>
<groupId>org.awaitility</groupId>
Expand Down
8 changes: 6 additions & 2 deletions selenium-webdriver-testng/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -109,12 +109,16 @@ dependencies {
testImplementation("org.seleniumhq.selenium:selenium-java:${seleniumVersion}")
testImplementation("org.testng:testng:${testNgVersion}")
testImplementation("org.assertj:assertj-core:${assertjVersion}")
testImplementation("io.github.bonigarcia:webdrivermanager:${wdmVersion}")
testImplementation("io.github.bonigarcia:webdrivermanager:${wdmVersion}") {
exclude group: "org.bouncycastle", module: "*"
}

testImplementation("org.seleniumhq.selenium:htmlunit-driver:${htmlunitVersion}") {
exclude group: "org.seleniumhq.selenium", module: "*"
}
testImplementation("org.seleniumhq.selenium:selenium-grid:${seleniumVersion}")
testImplementation("org.seleniumhq.selenium:selenium-grid:${seleniumVersion}") {
exclude group: "org.bouncycastle", module: "*"
}
testImplementation("org.awaitility:awaitility:${awaitilityVersion}")
testImplementation("net.lightbody.bmp:browsermob-core:${browsermobVersion}") {
exclude group: "com.fasterxml.jackson.core", module: "*"
Expand Down
12 changes: 12 additions & 0 deletions selenium-webdriver-testng/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -77,6 +77,12 @@
<artifactId>webdrivermanager</artifactId>
<version>${wdm.version}</version>
<scope>test</scope>
<exclusions>
<exclusion>
<groupId>org.bouncycastle</groupId>
<artifactId>*</artifactId>
</exclusion>
</exclusions>
</dependency>

<dependency>
Expand All @@ -96,6 +102,12 @@
<artifactId>selenium-grid</artifactId>
<version>${selenium.version}</version>
<scope>test</scope>
<exclusions>
<exclusion>
<groupId>org.bouncycastle</groupId>
<artifactId>*</artifactId>
</exclusion>
</exclusions>
</dependency>
<dependency>
<groupId>org.awaitility</groupId>
Expand Down

0 comments on commit 1a7237a

Please sign in to comment.