Skip to content

Commit

Permalink
Add direct dependencies to favor managed versions (#204)
Browse files Browse the repository at this point in the history
  • Loading branch information
sbabcoc authored Mar 8, 2022
1 parent 73c44df commit f0ea966
Show file tree
Hide file tree
Showing 4 changed files with 87 additions and 5 deletions.
2 changes: 2 additions & 0 deletions build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -221,6 +221,8 @@ dependencies {
api('com.github.sbabcoc:logback-testng') {
exclude group: 'org.testng', module: 'testng'
}
api 'org.hamcrest:hamcrest-core'
api 'org.yaml:snakeyaml'
}

test {
Expand Down
77 changes: 72 additions & 5 deletions pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -95,11 +95,6 @@
<artifactId>snakeyaml</artifactId>
<version>${snakeyaml.version}</version>
</dependency>
<dependency>
<groupId>org.eclipse.jetty.websocket</groupId>
<artifactId>websocket-client</artifactId>
<version>${websocket-client.version}</version>
</dependency>
</dependencies>
</dependencyManagement>
<dependencies>
Expand All @@ -125,6 +120,14 @@
</exclusion>
</exclusions>
</dependency>
<dependency>
<groupId>org.hamcrest</groupId>
<artifactId>hamcrest-core</artifactId>
</dependency>
<dependency>
<groupId>org.yaml</groupId>
<artifactId>snakeyaml</artifactId>
</dependency>
</dependencies>

<profiles>
Expand All @@ -141,6 +144,7 @@
<testng-foundation.version>3.0.6-j7</testng-foundation.version>
<selenium.version>2.53.1</selenium.version>
<commons-io.version>2.6</commons-io.version>
<guava.version>30.1.1-android</guava.version>
<jsoup.version>1.13.1</jsoup.version>
<htmlunit.version>2.24</htmlunit.version>
<mockito.version>2.25.0</mockito.version>
Expand Down Expand Up @@ -173,6 +177,11 @@
<artifactId>selenium-support</artifactId>
<version>${selenium.version}</version>
</dependency>
<dependency>
<groupId>com.google.guava</groupId>
<artifactId>guava</artifactId>
<version>${guava.version}</version>
</dependency>
<dependency>
<groupId>org.jsoup</groupId>
<artifactId>jsoup</artifactId>
Expand All @@ -188,6 +197,11 @@
<artifactId>mockito-core</artifactId>
<version>${mockito.version}</version>
</dependency>
<dependency>
<groupId>org.eclipse.jetty.websocket</groupId>
<artifactId>websocket-client</artifactId>
<version>${websocket-client.version}</version>
</dependency>
<dependency>
<groupId>org.bouncycastle</groupId>
<artifactId>bcpkix-jdk15on</artifactId>
Expand Down Expand Up @@ -233,10 +247,34 @@
<groupId>org.seleniumhq.selenium</groupId>
<artifactId>selenium-support</artifactId>
</dependency>
<dependency>
<groupId>com.google.guava</groupId>
<artifactId>guava</artifactId>
</dependency>
<dependency>
<groupId>org.jsoup</groupId>
<artifactId>jsoup</artifactId>
</dependency>
<dependency>
<groupId>org.bouncycastle</groupId>
<artifactId>bcpkix-jdk15on</artifactId>
</dependency>
<dependency>
<groupId>org.bouncycastle</groupId>
<artifactId>bcprov-jdk15on</artifactId>
</dependency>
<dependency>
<groupId>org.apache.httpcomponents</groupId>
<artifactId>httpmime</artifactId>
</dependency>
<dependency>
<groupId>org.apache.httpcomponents</groupId>
<artifactId>httpclient</artifactId>
</dependency>
<dependency>
<groupId>org.eclipse.jetty.websocket</groupId>
<artifactId>websocket-client</artifactId>
</dependency>
<dependency>
<groupId>org.seleniumhq.selenium</groupId>
<artifactId>htmlunit-driver</artifactId>
Expand Down Expand Up @@ -351,6 +389,11 @@
<artifactId>mockito-core</artifactId>
<version>${mockito.version}</version>
</dependency>
<dependency>
<groupId>org.eclipse.jetty.websocket</groupId>
<artifactId>websocket-client</artifactId>
<version>${websocket-client.version}</version>
</dependency>
<dependency>
<groupId>com.squareup.okhttp3</groupId>
<artifactId>okhttp-bom</artifactId>
Expand Down Expand Up @@ -425,6 +468,30 @@
<groupId>org.jsoup</groupId>
<artifactId>jsoup</artifactId>
</dependency>
<dependency>
<groupId>org.apache.commons</groupId>
<artifactId>commons-lang3</artifactId>
</dependency>
<dependency>
<groupId>com.google.guava</groupId>
<artifactId>guava</artifactId>
</dependency>
<dependency>
<groupId>com.beust</groupId>
<artifactId>jcommander</artifactId>
</dependency>
<dependency>
<groupId>com.squareup.okhttp3</groupId>
<artifactId>okhttp</artifactId>
</dependency>
<dependency>
<groupId>com.squareup.okio</groupId>
<artifactId>okio</artifactId>
</dependency>
<dependency>
<groupId>org.eclipse.jetty.websocket</groupId>
<artifactId>websocket-client</artifactId>
</dependency>
<dependency>
<groupId>org.seleniumhq.selenium</groupId>
<artifactId>htmlunit-driver</artifactId>
Expand Down
7 changes: 7 additions & 0 deletions selenium2Deps.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -28,6 +28,7 @@ dependencies {
api 'commons-io:commons-io:2.4'
api 'org.seleniumhq.selenium:selenium-server:2.53.1'
api 'org.seleniumhq.selenium:selenium-support:2.53.1'
api 'com.google.guava:guava:30.1.1-android'
api 'org.jsoup:jsoup:1.13.1'
api 'org.bouncycastle:bcpkix-jdk15on:1.68'
api 'org.bouncycastle:bcprov-jdk15on:1.68'
Expand All @@ -43,7 +44,13 @@ dependencies {
exclude group: 'org.seleniumhq.selenium', module: 'selenium-java'
}
api 'org.seleniumhq.selenium:selenium-support'
api 'com.google.guava:guava'
api 'org.jsoup:jsoup'
api 'org.bouncycastle:bcpkix-jdk15on'
api 'org.bouncycastle:bcprov-jdk15on'
api 'org.apache.httpcomponents:httpmime'
api 'org.apache.httpcomponents:httpclient'
api 'org.eclipse.jetty.websocket:websocket-client'
testImplementation 'org.seleniumhq.selenium:htmlunit-driver'
testImplementation 'org.mockito:mockito-core'
}
6 changes: 6 additions & 0 deletions selenium3Deps.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -52,6 +52,12 @@ dependencies {
api 'org.seleniumhq.selenium:selenium-support'
api 'org.apache.httpcomponents:httpclient'
api 'org.jsoup:jsoup'
api 'org.apache.commons:commons-lang3'
api 'com.google.guava:guava'
api 'com.beust:jcommander'
api 'com.squareup.okhttp3:okhttp'
api 'com.squareup.okio:okio'
api 'org.eclipse.jetty.websocket:websocket-client'
testImplementation 'org.seleniumhq.selenium:htmlunit-driver'
testImplementation 'org.mockito:mockito-core'
}

0 comments on commit f0ea966

Please sign in to comment.