| 1 |
load("@bazel_tools//tools/build_defs/repo:http.bzl", "http_archive") |
| 2 |
|
| 3 |
RULES_JVM_EXTERNAL_TAG = "4.2" |
| 4 |
RULES_JVM_EXTERNAL_SHA = "cd1a77b7b02e8e008439ca76fd34f5b07aecb8c752961f9640dea15e9e5ba1ca" |
| 5 |
|
| 6 |
http_archive( |
| 7 |
name = "rules_jvm_external", |
| 8 |
strip_prefix = "rules_jvm_external-%s" % RULES_JVM_EXTERNAL_TAG, |
| 9 |
sha256 = RULES_JVM_EXTERNAL_SHA, |
| 10 |
url = "https://github.com/bazelbuild/rules_jvm_external/archive/%s.zip" % RULES_JVM_EXTERNAL_TAG, |
| 11 |
) |
| 12 |
|
| 13 |
load("@rules_jvm_external//:defs.bzl", "maven_install") |
| 14 |
load("@rules_jvm_external//:specs.bzl", "maven") |
| 15 |
|
| 16 |
http_archive( |
| 17 |
name = "google_bazel_common", |
| 18 |
sha256 = "61cd7c2a24a1b066848a68c56deca799dd9d0329cb9032d1686859cdd2c05be2", |
| 19 |
strip_prefix = "bazel-common-2e42988b7a3d1e3b11ab4db2d7c28f794500a672", |
| 20 |
urls = ["https://github.com/google/bazel-common/archive/2e42988b7a3d1e3b11ab4db2d7c28f794500a672.zip"], |
| 21 |
) |
| 22 |
|
| 23 |
load("@google_bazel_common//:workspace_defs.bzl", "google_common_workspace_rules") |
| 24 |
|
| 25 |
google_common_workspace_rules() |
| 26 |
|
| 27 |
maven_install( |
| 28 |
artifacts = [ |
| 29 |
"aopalliance:aopalliance:1.0", |
| 30 |
"com.google.auto.value:auto-value:1.6.3", |
| 31 |
"com.google.code.findbugs:jsr305:3.0.1", |
| 32 |
"com.google.dagger:dagger:2.22.1", |
| 33 |
"com.google.dagger:dagger-producers:2.22.1", |
| 34 |
"com.google.errorprone:error_prone_annotations:2.0.18", |
| 35 |
"com.google.guava:guava:30.1-jre", |
| 36 |
"commons-logging:commons-logging:1.2", |
| 37 |
"javax.inject:javax.inject:1", |
| 38 |
"javax.persistence:javax.persistence-api:2.2", |
| 39 |
"javax.servlet:servlet-api:2.5", |
| 40 |
"org.apache.struts:struts2-core:2.3.37", |
| 41 |
"org.apache.struts.xwork:xwork-core:2.3.37", |
| 42 |
"org.ow2.asm:asm:9.2", |
| 43 |
"org.springframework:spring-core:3.2.18.RELEASE", |
| 44 |
"org.springframework:spring-beans:3.2.18.RELEASE", |
| 45 |
maven.artifact( |
| 46 |
"biz.aQute", "bnd", "0.0.384", testonly = True |
| 47 |
), |
| 48 |
maven.artifact( |
| 49 |
"com.google.guava", "guava-testlib", "30.1-jre", testonly = True |
| 50 |
), |
| 51 |
maven.artifact( |
| 52 |
"com.google.truth", "truth", "0.45", testonly = True |
| 53 |
), |
| 54 |
maven.artifact( |
| 55 |
"javax.inject", "javax.inject-tck", "1", testonly = True |
| 56 |
), |
| 57 |
maven.artifact( |
| 58 |
"junit", "junit", "4.13.2", testonly = True |
| 59 |
), |
| 60 |
maven.artifact( |
| 61 |
"org.apache.felix", "org.apache.felix.framework", "3.0.5", testonly = True |
| 62 |
), |
| 63 |
maven.artifact( |
| 64 |
"org.easymock", "easymock", "3.1", testonly = True |
| 65 |
), |
| 66 |
maven.artifact( |
| 67 |
"org.hamcrest", "hamcrest", "2.2", testonly = True |
| 68 |
), |
| 69 |
maven.artifact( |
| 70 |
"org.hibernate.javax.persistence", "hibernate-jpa-2.0-api", "1.0.0.Final", testonly = True |
| 71 |
), |
| 72 |
maven.artifact( |
| 73 |
"org.hibernate", "hibernate-core", "5.6.3.Final", testonly = True |
| 74 |
), |
| 75 |
maven.artifact( |
| 76 |
"org.hsqldb", "hsqldb-j5", "2.0.0", testonly = True |
| 77 |
), |
| 78 |
maven.artifact( |
| 79 |
"org.mockito", "mockito-core", "4.2.0", testonly = True |
| 80 |
), |
| 81 |
], |
| 82 |
repositories = [ |
| 83 |
"https://repo1.maven.org/maven2", |
| 84 |
], |
| 85 |
) |