Skip to content
This repository has been archived by the owner on Aug 5, 2022. It is now read-only.

Upgrade scalapb #12

Open
wants to merge 147 commits into
base: master
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
147 commits
Select commit Hold shift + click to select a range
1cffc5f
Fix code for Bazel change --incompatible_no_support_tools_in_action_i…
laurentlb May 24, 2019
300b436
Specs2 filtering runner now filters test cases according to filter. (…
May 27, 2019
014101b
Add scala_doc rule (#760)
long-stripe May 31, 2019
52b036f
Update scala_doc.md
johnynek May 31, 2019
7ffc700
Explicitly convert depset to list (#761)
laurentlb May 31, 2019
73e266b
Make sure that plus-one-deps from exports of direct deps also propaga…
ittaiz Jun 6, 2019
4a1a10b
fix grpc opencensus stats integration (#762)
mackenziestarr Jun 14, 2019
24b06ee
Add Canva to the adopters list (#770)
Jun 16, 2019
dc5a793
Depset is not iterable (#773)
ianoc-stripe Jun 19, 2019
a1c3b58
Specify which version of bazel is required. (#772)
Parth Jun 19, 2019
69d3c5b
Specs2 filtering of JUnit descriptions (#766)
Jun 20, 2019
8092d5f
Update "Getting started" WORKSPACE block (#778)
tenorviol Jun 30, 2019
3404be0
Migrate from java_common.create_provider to JavaInfo() (#781)
iirina Jul 12, 2019
86c392d
Passing source-jar into JavaInfo (#783)
ittaiz Jul 13, 2019
0b6cff3
remove usage of attr scala with JavaInfo outputs (#784)
ittaiz Jul 14, 2019
e1f6697
Port bazelbuild/bazel#8196 : improve java_stub_template MANIFEST.MF c…
joshrosen-stripe Jul 15, 2019
ce42208
JavaInfo provider should be given for deps (#774)
long-stripe Jul 17, 2019
d9c6da6
remove print warning if dep has no JavaInfo since it's required now (…
long-stripe Jul 18, 2019
e4d55ed
Handle FileAlreadyExistsException in ScalaPBGenerator (#789)
ptarjan Jul 18, 2019
62e5d87
Exclude jmh from reproducibility test, since the code generator is no…
benjaminp Jul 19, 2019
4a8e476
warn if jvm_flags is used in scala_library (#795)
ittaiz Jul 22, 2019
b3a75fd
Allow for code coverage to be run on 0.27.1 (#780)
d-haxton Jul 24, 2019
5db90f9
Replace jar_sha256 with artifact_sha256. (#792)
benjaminp Jul 25, 2019
c8bde22
Simplify _jacoco_offline_instrument. (#790)
benjaminp Jul 25, 2019
acac888
silence tut (#799)
ptarjan Jul 26, 2019
697e5f3
Due to limitations in the toolchains implementation this is required …
ianoc-stripe Jul 30, 2019
17892bf
Add scalac_jvm_flags option to toolchain (#803)
beala-stripe Aug 5, 2019
ca655e5
Add `scala_test_jvm_flags` to toolchain (#804)
beala-stripe Aug 6, 2019
c3315bf
Remove the deprecated attribute proto_source_root. (#793)
lberki Aug 7, 2019
ff41ec6
update README.md
johnynek Aug 7, 2019
96176ae
Fix a regression that breaks scalapb when jvm_flags are set on the to…
beala-stripe Aug 8, 2019
aa4f8ae
Migrate from old-style .java provider to JavaInfo. (#807)
iirina Aug 12, 2019
b30f2cb
Flip these around to be correct (#810)
ianoc-stripe Aug 12, 2019
7fd142c
Clean up jmh rule a bit (#811)
johnynek Aug 12, 2019
8a5ca6b
Move scala_repositories macro out to its own file + move scala_doc.bz…
long-stripe Aug 13, 2019
3fe7dee
Pin Bazel versions (#812)
andyscott Aug 15, 2019
98dd05e
Move scala_binary to its own file (#813)
long-stripe Aug 16, 2019
c314c45
Delurk Powershell for a more unified test setup (#814)
andyscott Aug 17, 2019
c6571f2
Add a basic PR template (#817)
andyscott Aug 18, 2019
082ebe8
Move scala_test/scala_test_suite to their own file (#815)
long-stripe Aug 18, 2019
516a2bf
move scala_repl rule to its own file (#820)
long-stripe Aug 19, 2019
b4dad94
remove long-deprecated 'suites' attr in scala_test (#819)
long-stripe Aug 19, 2019
247fce9
move scala_junit_test rule to its own file (#822)
long-stripe Aug 19, 2019
93433cf
rename proto rule while maintaining backwards compat (#821)
andyscott Aug 19, 2019
0d8b2d7
Disable windows CI (#823)
johnynek Aug 20, 2019
0328df3
Move library rules (#827)
long-stripe Aug 21, 2019
1e25872
Buildifier as the only lint (#826)
andyscott Aug 21, 2019
f261f4c
fix an unformatted file that breaks ci (#830)
andyscott Aug 21, 2019
d04543a
use travis job pipelines (#829)
andyscott Aug 21, 2019
8426026
Default to usage of scala_proto_library instead of scalapb_proto_libr…
andyscott Aug 22, 2019
b3fc6a2
Refactor build_deployable (#832)
long-stripe Aug 23, 2019
5261499
Update README.md to include Grand Rounds (#835)
tian000 Aug 27, 2019
3edf15d
Minor fix to error message (#841)
Sep 3, 2019
f1e689c
Remove jvm_flags debug print for scala_library (#840)
long-stripe Sep 3, 2019
f4a24fe
Improve classpath manifest file construction (#842)
Sep 5, 2019
177e2ee
use java_common.merge instead of manual _collect util functions (#838)
long-stripe Sep 17, 2019
548bce9
Fix paths in --proto_path and avoid copying proto files (#850)
ignasl Sep 30, 2019
e7cce69
Split sh test (#849)
borkaehw Oct 3, 2019
63cb47f
Fix scala_library_jar_without_srcs_must_fail_on_mismatching_resource_…
borkaehw Oct 3, 2019
f985e5e
Fix test_scala_import_source_jar_should_not_be_fetched_when_env_bazel…
borkaehw Oct 4, 2019
b2273e7
Add a test build for bazel 1.0 (#861)
ianoc-stripe Oct 12, 2019
0f89c21
include Bazel 1.0.0 in compatibility table (#863)
thundergolfer-two Oct 17, 2019
26cf9b7
fix typo in codeowners github handle
ittaiz Nov 11, 2019
46a2bec
Mirror all http_archives. (#878)
philwo Nov 19, 2019
ff57530
Bump v1.0.0 compatibility test to v1.1.0 (#882)
chenrui333 Nov 22, 2019
faa89d5
Bump v1.1.0 compatibility test to v1.2.1 (#883)
chenrui333 Nov 27, 2019
ecb5639
Explicitly label bazel 0.28.1 (#885)
chenrui333 Nov 27, 2019
e568402
Bump scala 2.12 to v2.12.10 (#886)
chenrui333 Nov 28, 2019
886bc9c
Convert maven_jar to jvm_maven_import_external (#889)
jin Dec 2, 2019
7b63609
Bump Bazel to v2.0.0 (#902)
chenrui333 Dec 19, 2019
cfff088
authorship attribution for higherkindness/rules_scala design (#903)
andyscott Dec 21, 2019
937d469
Refactor rules into configurable phases (#865)
borkaehw Dec 25, 2019
5c966ee
expand locations in scalacopts (#890)
andyscott Dec 25, 2019
29db4f4
Revert "expand locations in scalacopts (#890)" (#904)
ittaiz Dec 26, 2019
313e975
expand locations in scalacptops, take 2 (#907)
andyscott Dec 27, 2019
bd0c388
Plugin expansion- Use input plugins param instead of ctx (#909)
ittaiz Dec 28, 2019
be70324
Remove phase scala provider (#913)
ittaiz Jan 14, 2020
a676633
Use https to access central.maven.org (#920)
aherrmann Jan 15, 2020
2ea8dba
remove me from codeowners
johnynek Jan 15, 2020
358ab82
Return providers array instead of legacy struct (#916)
ittaiz Jan 16, 2020
6c16cff
Move declare_executable to phase file (#919)
borkaehw Jan 16, 2020
c81d7cd
chore(docs): update WORKSPACE setup for skylib (#926)
chenrui333 Jan 16, 2020
d367bdb
scalatest final-remove redundant coverage handling (#923)
ittaiz Jan 17, 2020
2f0ce50
update bazel-toolchains version (#937)
ittaiz Jan 17, 2020
2fcb2cb
Move code from rule impls/common to phases (#930)
ittaiz Jan 17, 2020
4833542
use correct delimiter for joined values (#941)
rivashin Jan 18, 2020
4a95548
deploy_jar creation uses args file to support long classpaths (#942)
ittaiz Jan 19, 2020
5a55e51
exposing java jar to BEP from all binary rules (#943)
ittaiz Jan 20, 2020
5ce9cf5
remove unused method (#945)
ittaiz Jan 21, 2020
d681a95
Fix resource_strip_prefix of scala_libary for external repositories (…
simuons Jan 21, 2020
1929556
Custom phases expose custom providers (#946)
ittaiz Jan 21, 2020
1a6ac1b
Remove unused reference to compile_scala (#950)
andyscott Jan 23, 2020
16ba1d8
final phase is inlined (#947)
ittaiz Jan 23, 2020
b5fa6bc
Rename phases logically (#953)
borkaehw Jan 23, 2020
5dc2f77
Phases can override providers from previous phases (#948)
ittaiz Jan 23, 2020
2a76ab3
Bundle input protos together with generated/compiled classes (#949)
simuons Jan 24, 2020
4fefaaa
Merge dependency_analyzer and unused_dependency_checker (#954)
Jamie5 Jan 26, 2020
a7a20a0
ignore the .metals dir created by VSCode/Emacs with metals (#957)
andyscott Jan 27, 2020
23a6b34
Fix doc for new naming convention (#960)
borkaehw Jan 27, 2020
d2e7e3b
Update ij.bazelproject (#961)
ittaiz Jan 28, 2020
a5b6b6f
Phase Scalafmt (#912)
borkaehw Jan 28, 2020
71f06b9
use worker proto file instead of precompiled java (#956)
andyscott Jan 28, 2020
9bcd965
Unify all maven urls (#968)
borkaehw Jan 28, 2020
1701d95
readme (#969)
Jamie5 Jan 29, 2020
5bc432b
fix proto regression (#963)
andyscott Jan 29, 2020
f9c6a4c
Add defs.bzl with core rules and notice about evolving APIs (#955)
andyscott Jan 29, 2020
96f9d94
unify all of the default info phases implementations (#958)
andyscott Jan 29, 2020
32c9ad0
Fix maven server urls (#973)
borkaehw Jan 30, 2020
fbff8c6
Simplify phase_compile return struct (#974)
borkaehw Jan 30, 2020
9d09e5c
Add a per-scala-version test for dependency analyzer (#971)
Jamie5 Jan 30, 2020
cbf3093
remove unused method (#976)
ittaiz Jan 30, 2020
fadf4ce
Get files with extension (#979)
borkaehw Jan 31, 2020
a104708
Use skylib path is_absolute (#982)
borkaehw Jan 31, 2020
7657d2f
Add AST walking mode for dependency analyzer (#967)
Jamie5 Jan 31, 2020
0c220fe
Separate coverage (#972)
borkaehw Jan 31, 2020
ce97b82
plugin3 (#986)
Jamie5 Feb 1, 2020
dd9ce77
Handle inlined literals in AST walker (#985)
Jamie5 Feb 2, 2020
30b80b0
When building JMH benchmarks, fail on error, instead of proceeding. (…
SamirTalwar Feb 3, 2020
88a952d
Centralize dependency logic (#975)
Jamie5 Feb 6, 2020
230cdf3
Include location in error report (#988)
Jamie5 Feb 7, 2020
f220907
Ignore scalatest in unused dependency checker (#990)
Jamie5 Feb 7, 2020
0cb1d71
Make rules_scala compatible with --incompatible_load_proto_rules_from…
Yannic Feb 8, 2020
9a446c4
Add load() for proto_library to @proto_cross_repo_boundary (#996)
Yannic Feb 11, 2020
fdd3646
Update dependency configuration options (#995)
Jamie5 Feb 13, 2020
8ac93be
Ignore base class annotation (#991)
Jamie5 Feb 13, 2020
81238bb
load java rules explicitly (#999)
ittaiz Feb 15, 2020
216874c
load python rules explicitly (#1000)
ittaiz Feb 16, 2020
c734eb3
Add test for scalac dependencies (#998)
Jamie5 Feb 18, 2020
b0fc510
specify deps for specs2 and specs2-junit deps (#1002)
ittaiz Feb 18, 2020
6442e78
remove spotify from adopters (#1001)
ittaiz Feb 18, 2020
6193e87
Revert "remove spotify from adopters (#1001)" (#1003)
ittaiz Feb 18, 2020
0366fb2
Scalafmt 2.12 support (#1004)
borkaehw Feb 19, 2020
926aaca
Fix source pathing for code coverage (#1006)
Feb 25, 2020
3d1dcd4
update to the latest worker protobuf file (#1007)
andyscott Feb 27, 2020
97997c4
Report macros as used (#1008)
Jamie5 Feb 27, 2020
f32e723
Update README.md with protobuf version matching actual dependencies (…
gergelyfabian Feb 28, 2020
328e2b3
Don't unnecessarily use fullyExploreTree (#1009)
Jamie5 Feb 28, 2020
e83df50
Fixed protobuf URL in README (#1013)
pawel-wroniszewski Feb 28, 2020
206d912
Return resource's short_path when fail to find relative (#1010)
Mar 1, 2020
cbb4cbe
Add tests for imports (#1016)
Jamie5 Mar 3, 2020
a2f5852
use bind to remove loader-specific labels in dependencies (#980)
smparkes Mar 4, 2020
775b00a
Documentation for coverage support (#1017)
gergelyfabian Mar 7, 2020
0bb4bcb
toolchain which turns on coverage is part of API (#1020)
ittaiz Mar 7, 2020
634ea5a
update rules_scala version (#1022)
ittaiz Mar 12, 2020
a679464
Add fetch_source parameter to scala_repositories (#1027)
Apr 5, 2020
9c84950
upgrading scalapb (#1026)
Apr 7, 2020
be31cac
Merge remote-tracking branch 'bazelbuild/master'
Apr 7, 2020
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 2 additions & 0 deletions scala_proto/default_dep_sets.bzl
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,8 @@ DEFAULT_SCALAPB_COMPILE_DEPS = [
]

DEFAULT_SCALAPB_GRPC_DEPS = [
"//external:io_bazel_rules_scala/dependency/proto/grpc_api",
"//external:io_bazel_rules_scala/dependency/proto/perfmark_api",
"//external:io_bazel_rules_scala/dependency/proto/scalapb_runtime_grpc",
"//external:io_bazel_rules_scala/dependency/proto/grpc_core",
"//external:io_bazel_rules_scala/dependency/proto/grpc_stub",
Expand Down
92 changes: 59 additions & 33 deletions scala_proto/private/scala_proto_default_repositories.bzl
Original file line number Diff line number Diff line change
Expand Up @@ -17,22 +17,22 @@ def scala_proto_default_repositories(

scala_jar_shas = {
"2.11": {
"scalapb_plugin": "b67e563d06f1bbb6ea704a063760a85ec7fb5809828402364d5418dd1c5cab06",
"protoc_bridge": "e94cf50d9ba4b3d5f4b491cb9483b4da566afe24d0fa809a003263b4b50ff269",
"scalapbc": "120b7d7f42051da3406b72480eeb331a985a99b2a3c999243fc3c11e6b7530b2",
"scalapb_runtime": "40f93a9ec5ea4dc21e1fa4fb4088cf76768dd3c0137c3fa6683ae0d9a17f5d44",
"scalapb_runtime_grpc": "93a9f5f1c64ef83aacc2e46c9c09f3156f59d979b5b5565eac9437897882c465",
"scalapb_lenses": "bacdee7d8b6fa7a822a3ec55d12a15896d54fe2e4f22bbd8a5194e9bba751193",
"scalapb_fastparse": "1b6d9fc75ca8a62abe0dd7a71e62aa445f2d3198c86aab5088e1f90a96ade30b",
"scalapb_plugin": "2d6793fa2565953ef2b5094fc37fae4933f3c42e4cb4048d54e7f358ec104a87",
"protoc_bridge": "314e34bf331b10758ff7a780560c8b5a5b09e057695a643e33ab548e3d94aa03",
"scalapbc": "dd92db48d395b54de53297aa13f2666ab314540fe2c83e923d2cbd80f0c79541",
"scalapb_runtime": "5131033e9536727891a38004ec707a93af1166cb8283c7db711c2c105fbf289e",
"scalapb_runtime_grpc": "24d19df500ce6450d8f7aa72a9bad675fa4f3650f7736d548aa714058f887e23",
"scalapb_lenses": "f8e3b526ceac998652b296014e9ab4c0ab906a40837dd1dfcf6948b6f5a1a8bf",
"scalapb_fastparse": "5c5d81f90ada03ac5b21b161864a52558133951031ee5f6bf4d979e8baa03628",
},
"2.12": {
"scalapb_plugin": "5df9d1ceb3d67ad0cd2de561e7f0e0fc77cf08d305d1a0e21a2f4f135efe76a9",
"protoc_bridge": "6b83ac0be522bf868fcbab27c2b64286912924f1cdbc17e0e12e092abff8bdc5",
"scalapbc": "4a986c7f7447aa2e8cd4be4329c2aa2a42ebdfc8135c6882bef958a527ea7667",
"scalapb_runtime": "82596e3235f8ccda30fbd6290e0ba314ba880283874658fc876217701d3ef5e4",
"scalapb_runtime_grpc": "e5bb54164581d44ea2b2221b5546880deb7073b1d02b56da8f666454f3a14387",
"scalapb_lenses": "79100162924477084ac2ab35b02067ee875e5dade58a33e882ec9f2900418de3",
"scalapb_fastparse": "1227a00a26a4ad76ddcfa6eae2416687df7f3c039553d586324b32ba0a528fcc",
"scalapb_plugin": "516ed567e2c3ac28b91a2f350d3febc7a6a396978718145f536853ffe8de40c2",
"protoc_bridge": "2b8db0b71be5052768a96ccc41c9bb03f3f19e1e267e810a64963566538b1a2b",
"scalapbc": "5c2e8188f3c7c5e9528fdd648cd5dce9a91fcbecb5c3c022a50dd5df2d57511b",
"scalapb_runtime": "82624a7fadaa323bbb8d33e37f055ce42e761c203573ace3ccf95bd0511917fe",
"scalapb_runtime_grpc": "4c00f2a57cc1d00a2d454f695c3f1e565173e1d1297294f1cf81339bdeba3f4a",
"scalapb_lenses": "fff4fc9d47ad44c1371ff2d8dfa2b5907826c4b98ca576baf67f14d31d0d9be1",
"scalapb_fastparse": "e8b831a843c0eb5105d42e4b6febfc772b3aed3a853a899e6c8196e9ecc057df",
},
}

Expand All @@ -41,7 +41,7 @@ def scala_proto_default_repositories(
_scala_maven_import_external(
name = "scala_proto_rules_scalapb_plugin",
artifact = _scala_mvn_artifact(
"com.thesamet.scalapb:compilerplugin:0.8.4",
"com.thesamet.scalapb:compilerplugin:0.9.7",
major_version,
),
artifact_sha256 = scala_version_jar_shas["scalapb_plugin"],
Expand All @@ -57,7 +57,7 @@ def scala_proto_default_repositories(
_scala_maven_import_external(
name = "scala_proto_rules_protoc_bridge",
artifact = _scala_mvn_artifact(
"com.thesamet.scalapb:protoc-bridge:0.7.3",
"com.thesamet.scalapb:protoc-bridge:0.7.14",
major_version,
),
artifact_sha256 = scala_version_jar_shas["protoc_bridge"],
Expand All @@ -73,7 +73,7 @@ def scala_proto_default_repositories(
_scala_maven_import_external(
name = "scala_proto_rules_scalapbc",
artifact = _scala_mvn_artifact(
"com.thesamet.scalapb:scalapbc:0.8.4",
"com.thesamet.scalapb:scalapbc:0.9.7",
major_version,
),
artifact_sha256 = scala_version_jar_shas["scalapbc"],
Expand All @@ -88,7 +88,7 @@ def scala_proto_default_repositories(
_scala_maven_import_external(
name = "scala_proto_rules_scalapb_runtime",
artifact = _scala_mvn_artifact(
"com.thesamet.scalapb:scalapb-runtime:0.8.4",
"com.thesamet.scalapb:scalapb-runtime:0.9.7",
major_version,
),
artifact_sha256 = scala_version_jar_shas["scalapb_runtime"],
Expand All @@ -103,7 +103,7 @@ def scala_proto_default_repositories(
_scala_maven_import_external(
name = "scala_proto_rules_scalapb_runtime_grpc",
artifact = _scala_mvn_artifact(
"com.thesamet.scalapb:scalapb-runtime-grpc:0.8.4",
"com.thesamet.scalapb:scalapb-runtime-grpc:0.9.7",
major_version,
),
artifact_sha256 = scala_version_jar_shas["scalapb_runtime_grpc"],
Expand All @@ -118,7 +118,7 @@ def scala_proto_default_repositories(
_scala_maven_import_external(
name = "scala_proto_rules_scalapb_lenses",
artifact = _scala_mvn_artifact(
"com.thesamet.scalapb:lenses:0.8.4",
"com.thesamet.scalapb:lenses:0.9.7",
major_version,
),
artifact_sha256 = scala_version_jar_shas["scalapb_lenses"],
Expand All @@ -133,7 +133,7 @@ def scala_proto_default_repositories(
_scala_maven_import_external(
name = "scala_proto_rules_scalapb_fastparse",
artifact = _scala_mvn_artifact(
"com.lihaoyi:fastparse:1.0.0",
"com.lihaoyi:fastparse:" + "2.1.2" if int(scala_version.split(".")[1]) < 12 else "2.1.3",
major_version,
),
artifact_sha256 = scala_version_jar_shas["scalapb_fastparse"],
Expand All @@ -148,8 +148,8 @@ def scala_proto_default_repositories(

_scala_maven_import_external(
name = "scala_proto_rules_grpc_core",
artifact = "io.grpc:grpc-core:1.19.0",
artifact_sha256 = "3cfaae2db268e4da2609079cecade8434afcb7ab23a126a57d870b722b2b6ab9",
artifact = "io.grpc:grpc-core:1.24.0",
artifact_sha256 = "8fc900625a9330b1c155b5423844d21be0a5574fe218a63170a16796c6f7880e",
licenses = ["notice"],
server_urls = maven_servers,
)
Expand All @@ -159,10 +159,23 @@ def scala_proto_default_repositories(
actual = "@scala_proto_rules_grpc_core//jar",
)

_scala_maven_import_external(
name = "scala_proto_rules_grpc_api",
artifact = "io.grpc:grpc-api:1.24.0",
artifact_sha256 = "553978366e04ee8ddba64afde3b3cf2ac021a2f3c2db2831b6491d742b558598",
licenses = ["notice"],
server_urls = maven_servers,
)

native.bind(
name = "io_bazel_rules_scala/dependency/proto/grpc_api",
actual = "@scala_proto_rules_grpc_api//jar",
)

_scala_maven_import_external(
name = "scala_proto_rules_grpc_stub",
artifact = "io.grpc:grpc-stub:1.19.0",
artifact_sha256 = "711dad5734b4e8602a271cb383eda504d6d1bf5385ced045a0ca91176ae73821",
artifact = "io.grpc:grpc-stub:1.24.0",
artifact_sha256 = "eaa9201896a77a0822e26621b538c7154f00441a51c9b14dc9e1ec1f2acfb815",
licenses = ["notice"],
server_urls = maven_servers,
)
Expand All @@ -174,8 +187,8 @@ def scala_proto_default_repositories(

_scala_maven_import_external(
name = "scala_proto_rules_grpc_protobuf",
artifact = "io.grpc:grpc-protobuf:1.19.0",
artifact_sha256 = "37e50ab7de4a50db4c9f9a2f095ffc51df49e36c9ab7fffb1f3ad20ab6f47022",
artifact = "io.grpc:grpc-protobuf:1.24.0",
artifact_sha256 = "88cd0838ea32893d92cb214ea58908351854ed8de7730be07d5f7d19025dd0bc",
licenses = ["notice"],
server_urls = maven_servers,
)
Expand All @@ -187,8 +200,8 @@ def scala_proto_default_repositories(

_scala_maven_import_external(
name = "scala_proto_rules_grpc_netty",
artifact = "io.grpc:grpc-netty:1.19.0",
artifact_sha256 = "08604191fa77ef644cd9d7323d633333eceb800831805395a21b5c8e7d02caf0",
artifact = "io.grpc:grpc-netty:1.24.0",
artifact_sha256 = "8478333706ba442a354c2ddb8832d80a5aef71016e8a9cf07e7bf6e8c298f042",
licenses = ["notice"],
server_urls = maven_servers,
)
Expand All @@ -200,8 +213,8 @@ def scala_proto_default_repositories(

_scala_maven_import_external(
name = "scala_proto_rules_grpc_context",
artifact = "io.grpc:grpc-context:1.19.0",
artifact_sha256 = "8f4df8618c500f3c1fdf88b755caeb14fe2846ea59a9e762f614852178b64318",
artifact = "io.grpc:grpc-context:1.24.0",
artifact_sha256 = "1f0546e18789f7445d1c5a157010a11bc038bbb31544cdb60d9da3848efcfeea",
licenses = ["notice"],
server_urls = maven_servers,
)
Expand All @@ -211,10 +224,23 @@ def scala_proto_default_repositories(
actual = "@scala_proto_rules_grpc_context//jar",
)

_scala_maven_import_external(
name = "scala_proto_rules_perfmark_api",
artifact = "io.perfmark:perfmark-api:0.17.0",
artifact_sha256 = "816c11409b8a0c6c9ce1cda14bed526e7b4da0e772da67c5b7b88eefd41520f9",
licenses = ["notice"],
server_urls = maven_servers,
)

native.bind(
name = "io_bazel_rules_scala/dependency/proto/perfmark_api",
actual = "@scala_proto_rules_perfmark_api//jar",
)

_scala_maven_import_external(
name = "scala_proto_rules_guava",
# io.grpc:grpc-core:1.19.0 defines a dependency on guava 26.0-android
# see https://search.maven.org/artifact/io.grpc/grpc-core/1.19.0/jar
# io.grpc:grpc-api:1.24.0 defines a dependency on guava 26.0-android
# see https://search.maven.org/artifact/io.grpc/grpc-api/1.24.0/jar
artifact = "com.google.guava:guava:26.0-android",
artifact_sha256 = "1d044ebb866ef08b7d04e998b4260c9b52fab6e6d6b68d207859486bb3686cd5",
licenses = ["notice"],
Expand Down
1 change: 1 addition & 0 deletions src/scala/scripts/BUILD
Original file line number Diff line number Diff line change
Expand Up @@ -37,6 +37,7 @@ scala_library(
],
deps = [
":scala_proto_request_extractor",
"//external:io_bazel_rules_scala/dependency/com_google_protobuf/protobuf_java",
"//external:io_bazel_rules_scala/dependency/proto/protoc_bridge",
"//external:io_bazel_rules_scala/dependency/proto/scalapb_plugin",
"//external:io_bazel_rules_scala/dependency/proto/scalapbc",
Expand Down