Skip to content

Commit

Permalink
Use tink-java at 0abd8cb74dbb62017dc0e6c82091d903d0e4f0f0 by default
Browse files Browse the repository at this point in the history
This is needed to unblock ongoing development that requires a more recent version of protobuf.

PiperOrigin-RevId: 585639933
Change-Id: If26feeb8a7320514196c8c55b11d86c954e7bbf0
  • Loading branch information
morambro authored and copybara-github committed Nov 27, 2023
1 parent c41f877 commit 8caa64c
Show file tree
Hide file tree
Showing 3 changed files with 13 additions and 4 deletions.
4 changes: 4 additions & 0 deletions .bazelrc
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
# Minumum C++ version. Override it building this project with
# `bazel build --cxxopt='-std=c++<XY>' --host_cxxopt='c++<XY>' ...`
# (Both -std and --host_cxxopt must be set to force the desired version.)
build --cxxopt='-std=c++14' --host_cxxopt='-std=c++14'
4 changes: 4 additions & 0 deletions examples/.bazelrc
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
# Minumum C++ version. Override it building this project with
# `bazel build --cxxopt='-std=c++<XY>' --host_cxxopt='c++<XY>' ...`
# (Both -std and --host_cxxopt must be set to force the desired version.)
build --cxxopt='-std=c++14' --host_cxxopt='-std=c++14'
9 changes: 5 additions & 4 deletions tink_java_gcpkms_deps.bzl
Original file line number Diff line number Diff line change
Expand Up @@ -31,10 +31,11 @@ TINK_JAVA_GCPKMS_MAVEN_ARTIFACTS = [
def tink_java_gcpkms_deps():
"""Bazel dependencies for tink-java-gcpkms."""
if not native.existing_rule("tink_java"):
# Sep 22nd, 2023.
# TODO(b/301487003): Replace this with [email protected] when available.
# Commit from Sep 28, 2023.
http_archive(
name = "tink_java",
urls = ["https://github.com/tink-crypto/tink-java/releases/download/v1.11.0/tink-java-1.11.0.zip"],
strip_prefix = "tink-java-1.11.0",
sha256 = "2bd264c2f0c474c77e2d1e04c627398e963b7a6d0164cfb743ab60a59ab998bd",
urls = ["https://github.com/tink-crypto/tink-java/archive/0abd8cb74dbb62017dc0e6c82091d903d0e4f0f0.zip"],
strip_prefix = "tink-java-0abd8cb74dbb62017dc0e6c82091d903d0e4f0f0",
sha256 = "0358c493baf44ecae1216f6e2a9fe5eb77da115580a0132ae1d2fd9ec32ee301",
)

0 comments on commit 8caa64c

Please sign in to comment.