From 0228b326cc5d564f264f46ff912fb95a0a5392b1 Mon Sep 17 00:00:00 2001 From: Fabian Meumertzheim Date: Sat, 20 Feb 2021 12:52:57 +0100 Subject: Make junit a testonly dependency --- maven.bzl | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'maven.bzl') diff --git a/maven.bzl b/maven.bzl index 9a9b04fd..6d66ab0a 100644 --- a/maven.bzl +++ b/maven.bzl @@ -12,13 +12,15 @@ # See the License for the specific language governing permissions and # limitations under the License. +load("@rules_jvm_external//:specs.bzl", "maven") + JAZZER_API_VERSION = "0.9.0" JAZZER_API_COORDINATES = "com.code-intelligence:jazzer-api:%s" % JAZZER_API_VERSION MAVEN_ARTIFACTS = [ "org.ow2.asm:asm:9.1", "org.ow2.asm:asm-commons:9.1", - "junit:junit:4.12", + maven.artifact("junit", "junit", "4.12", testonly = True), "org.apache.commons:commons-imaging:1.0-alpha2", "com.mikesamuel:json-sanitizer:1.2.1", "com.google.code.gson:gson:2.8.6", -- cgit v1.2.3