@@ -2,22 +2,22 @@ load("@rules_jvm_external//:defs.bzl", "maven_install")
2
2
load ("@rules_jvm_external//:specs.bzl" , "maven" )
3
3
4
4
def selenium_java_deps ():
5
- jetty_version = "9.4.25.v20191220 "
6
- netty_version = "4.1.45 .Final"
5
+ jetty_version = "9.4.27.v20200227 "
6
+ netty_version = "4.1.47 .Final"
7
7
8
8
maven_install (
9
9
artifacts = [
10
10
"com.beust:jcommander:1.78" ,
11
- "com.github.javaparser:javaparser-core:3.15.8 " ,
11
+ "com.github.javaparser:javaparser-core:3.15.14 " ,
12
12
"com.google.code.gson:gson:2.8.6" ,
13
13
"com.google.guava:guava:28.2-jre" ,
14
14
"com.google.auto:auto-common:0.10" ,
15
15
"com.google.auto.service:auto-service:1.0-rc6" ,
16
16
"com.google.auto.service:auto-service-annotations:1.0-rc6" ,
17
- "com.squareup.okhttp3:okhttp:4.3 .1" ,
18
- "com.squareup.okio:okio:2.4.1 " ,
17
+ "com.squareup.okhttp3:okhttp:4.4 .1" ,
18
+ "com.squareup.okio:okio:2.4.3 " ,
19
19
"com.typesafe.netty:netty-reactive-streams:2.0.4" ,
20
- "io.lettuce:lettuce-core:5.2.1 .RELEASE" ,
20
+ "io.lettuce:lettuce-core:5.2.2 .RELEASE" ,
21
21
"io.netty:netty-buffer:%s" % netty_version ,
22
22
"io.netty:netty-codec-haproxy:%s" % netty_version ,
23
23
"io.netty:netty-codec-http:%s" % netty_version ,
@@ -45,12 +45,12 @@ def selenium_java_deps():
45
45
"org.hamcrest:hamcrest-library" ,
46
46
],
47
47
),
48
- "net.bytebuddy:byte-buddy:1.10.6 " ,
49
- "net.sourceforge.htmlunit:htmlunit:2.36 .0" ,
50
- "net.sourceforge.htmlunit:htmlunit-core-js:2.36 .0" ,
48
+ "net.bytebuddy:byte-buddy:1.10.8 " ,
49
+ "net.sourceforge.htmlunit:htmlunit:2.38 .0" ,
50
+ "net.sourceforge.htmlunit:htmlunit-core-js:2.38 .0" ,
51
51
"org.apache.commons:commons-exec:1.3" ,
52
- "org.assertj:assertj-core:3.14 .0" ,
53
- "org.asynchttpclient:async-http-client:2.10.4 " ,
52
+ "org.assertj:assertj-core:3.15 .0" ,
53
+ "org.asynchttpclient:async-http-client:2.11.0 " ,
54
54
"org.eclipse.jetty:jetty-http:%s" % jetty_version ,
55
55
"org.eclipse.jetty:jetty-security:%s" % jetty_version ,
56
56
"org.eclipse.jetty:jetty-server:%s" % jetty_version ,
@@ -59,27 +59,23 @@ def selenium_java_deps():
59
59
"org.eclipse.jetty:jetty-util:%s" % jetty_version ,
60
60
"org.eclipse.mylyn.github:org.eclipse.egit.github.core:2.1.5" ,
61
61
"org.hamcrest:hamcrest:2.2" ,
62
- "org.mockito:mockito-core:3.2.4 " ,
62
+ "org.mockito:mockito-core:3.3.0 " ,
63
63
"org.slf4j:slf4j-jdk14:1.7.30" ,
64
- "org.testng:testng:6.14.3 " ,
65
- "org.zeromq:jeromq:0.5.1 " ,
64
+ "org.testng:testng:7.1.0 " ,
65
+ "org.zeromq:jeromq:0.5.2 " ,
66
66
"xyz.rogfam:littleproxy:2.0.0-beta-5" ,
67
- maven .artifact (
68
- group = "org.seleniumhq.selenium" ,
69
- artifact = "htmlunit-driver" ,
70
- version = "2.36.0" ,
71
- exclusions = [
72
- "org.seleniumhq.selenium:selenium-api" ,
73
- "org.seleniumhq.selenium:selenium-remote-driver" ,
74
- "org.seleniumhq.selenium:selenium-support" ,
75
- ],
76
- ),
67
+ "org.seleniumhq.selenium:htmlunit-driver:2.38.0" ,
77
68
],
78
69
excluded_artifacts = [
79
70
"org.hamcrest:hamcrest-all" , # Replaced by hamcrest 2
80
71
"org.hamcrest:hamcrest-core" ,
81
72
"io.netty:netty-all" , # Depend on the actual things you need
82
73
],
74
+ override_targets = {
75
+ "org.seleniumhq.selenium:selenium-api" : "@//java/client/src/org/openqa/selenium:core" ,
76
+ "org.seleniumhq.selenium:selenium-remote-driver" : "@//java/client/src/org/openqa/selenium/remote:remote" ,
77
+ "org.seleniumhq.selenium:selenium-support" : "@//java/client/src/org/openqa/selenium/support" ,
78
+ },
83
79
fail_on_missing_checksum = True ,
84
80
fetch_sources = True ,
85
81
strict_visibility = True ,
0 commit comments