mirror of
https://github.com/google/guice.git
synced 2024-04-21 12:32:36 +00:00
This makes available the rest of the Truth APIs that were recently added in Google's monorepo. It may be worth also updating to the _following_ version of Truth after it's released, but the purpose of that release will mostly be to deprecate `Truth8`. So, if you just avoid using `Truth8` now (starting by approving any migration CLs that I send your way), then there will be little need for that upgrade. Or, more to the point: I don't expect to keep sending you weekly upgrade CLs after this one :) PiperOrigin-RevId: 604719853
125 lines
3.6 KiB
Python
125 lines
3.6 KiB
Python
load("@bazel_tools//tools/build_defs/repo:http.bzl", "http_archive")
|
|
|
|
RULES_JVM_EXTERNAL_TAG = "4.2"
|
|
|
|
RULES_JVM_EXTERNAL_SHA = "cd1a77b7b02e8e008439ca76fd34f5b07aecb8c752961f9640dea15e9e5ba1ca"
|
|
|
|
http_archive(
|
|
name = "rules_jvm_external",
|
|
sha256 = RULES_JVM_EXTERNAL_SHA,
|
|
strip_prefix = "rules_jvm_external-%s" % RULES_JVM_EXTERNAL_TAG,
|
|
url = "https://github.com/bazelbuild/rules_jvm_external/archive/%s.zip" % RULES_JVM_EXTERNAL_TAG,
|
|
)
|
|
|
|
load("@rules_jvm_external//:defs.bzl", "maven_install")
|
|
load("@rules_jvm_external//:specs.bzl", "maven")
|
|
|
|
http_archive(
|
|
name = "google_bazel_common",
|
|
sha256 = "82a49fb27c01ad184db948747733159022f9464fc2e62da996fa700594d9ea42",
|
|
strip_prefix = "bazel-common-2a6b6406e12208e02b2060df0631fb30919080f3",
|
|
urls = ["https://github.com/google/bazel-common/archive/2a6b6406e12208e02b2060df0631fb30919080f3.zip"],
|
|
)
|
|
|
|
load("@google_bazel_common//:workspace_defs.bzl", "google_common_workspace_rules")
|
|
|
|
google_common_workspace_rules()
|
|
|
|
maven_install(
|
|
artifacts = [
|
|
"aopalliance:aopalliance:1.0",
|
|
"com.google.auto.value:auto-value:1.6.3",
|
|
"com.google.code.findbugs:jsr305:3.0.1",
|
|
"com.google.dagger:dagger:2.22.1",
|
|
"com.google.dagger:dagger-producers:2.22.1",
|
|
"com.google.errorprone:error_prone_annotations:2.18.0",
|
|
"com.google.guava:guava:33.0.0-jre",
|
|
"commons-logging:commons-logging:1.2",
|
|
"jakarta.inject:jakarta.inject-api:2.0.1",
|
|
"jakarta.persistence:jakarta.persistence-api:3.0.0",
|
|
"jakarta.servlet:jakarta.servlet-api:5.0.0",
|
|
"org.apache.struts:struts2-core:2.5.31",
|
|
"org.apache.struts.xwork:xwork-core:2.3.37",
|
|
"org.ow2.asm:asm:9.5",
|
|
"org.springframework:spring-core:5.3.18",
|
|
"org.springframework:spring-beans:5.3.18",
|
|
"biz.aQute.bnd:bndlib:2.4.0",
|
|
"info.picocli:picocli:4.6.3",
|
|
maven.artifact(
|
|
"biz.aQute",
|
|
"bnd",
|
|
"0.0.384",
|
|
testonly = True,
|
|
),
|
|
maven.artifact(
|
|
"com.google.guava",
|
|
"guava-testlib",
|
|
"33.0.0-jre",
|
|
testonly = True,
|
|
),
|
|
maven.artifact(
|
|
"com.google.truth",
|
|
"truth",
|
|
"1.4.0",
|
|
testonly = True,
|
|
),
|
|
maven.artifact(
|
|
"com.google.truth.extensions",
|
|
"truth-java8-extension",
|
|
"1.4.0",
|
|
testonly = True,
|
|
),
|
|
maven.artifact(
|
|
"jakarta.inject",
|
|
"jakarta.inject-tck",
|
|
"2.0.1",
|
|
testonly = True,
|
|
),
|
|
maven.artifact(
|
|
"junit",
|
|
"junit",
|
|
"4.13.2",
|
|
testonly = True,
|
|
),
|
|
maven.artifact(
|
|
"org.apache.felix",
|
|
"org.apache.felix.framework",
|
|
"3.0.5",
|
|
testonly = True,
|
|
),
|
|
maven.artifact(
|
|
"org.easymock",
|
|
"easymock",
|
|
"3.1",
|
|
testonly = True,
|
|
),
|
|
maven.artifact(
|
|
"org.hamcrest",
|
|
"hamcrest",
|
|
"2.2",
|
|
testonly = True,
|
|
),
|
|
maven.artifact(
|
|
"org.hibernate",
|
|
"hibernate-core-jakarta",
|
|
"5.6.15.Final",
|
|
testonly = True,
|
|
),
|
|
maven.artifact(
|
|
"org.hsqldb",
|
|
"hsqldb-j5",
|
|
"2.0.0",
|
|
testonly = True,
|
|
),
|
|
maven.artifact(
|
|
"org.mockito",
|
|
"mockito-core",
|
|
"4.2.0",
|
|
testonly = True,
|
|
),
|
|
],
|
|
repositories = [
|
|
"https://repo1.maven.org/maven2",
|
|
],
|
|
)
|