Skip to content
Projects
Groups
Snippets
Help
Loading...
Sign in / Register
Toggle navigation
P
protobuf
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Packages
Packages
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
submodule
protobuf
Commits
51d98769
Commit
51d98769
authored
Dec 02, 2019
by
Jingwen Chen
Committed by
Adam Cozzette
Dec 05, 2019
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Migrate from maven_jar to jvm_maven_import_external to prepare for Bazel 2.0
parent
20b7fab0
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
19 additions
and
3 deletions
+19
-3
WORKSPACE
WORKSPACE
+19
-3
No files found.
WORKSPACE
View file @
51d98769
...
...
@@ -15,6 +15,7 @@ load("//:protobuf_deps.bzl", "protobuf_deps")
# Load common dependencies.
protobuf_deps()
load("@bazel_tools//tools/build_defs/repo:jvm.bzl", "jvm_maven_import_external")
bind(
name = "python_headers",
...
...
@@ -31,9 +32,14 @@ bind(
actual = "@submodule_gmock//:gtest_main",
)
maven_jar
(
jvm_maven_import_external
(
name = "guava_maven",
artifact = "com.google.guava:guava:18.0",
artifact_sha256 = "d664fbfc03d2e5ce9cab2a44fb01f1d0bf9dfebeccc1a473b1f9ea31f79f6f99",
server_urls = [
"https://jcenter.bintray.com/",
"https://repo1.maven.org/maven2",
],
)
bind(
...
...
@@ -41,9 +47,14 @@ bind(
actual = "@guava_maven//jar",
)
maven_jar
(
jvm_maven_import_external
(
name = "gson_maven",
artifact = "com.google.code.gson:gson:2.7",
artifact_sha256 = "2d43eb5ea9e133d2ee2405cc14f5ee08951b8361302fdd93494a3a997b508d32",
server_urls = [
"https://jcenter.bintray.com/",
"https://repo1.maven.org/maven2",
],
)
bind(
...
...
@@ -51,9 +62,14 @@ bind(
actual = "@gson_maven//jar",
)
maven_jar
(
jvm_maven_import_external
(
name = "error_prone_annotations_maven",
artifact = "com.google.errorprone:error_prone_annotations:2.3.2",
artifact_sha256 = "357cd6cfb067c969226c442451502aee13800a24e950fdfde77bcdb4565a668d",
server_urls = [
"https://jcenter.bintray.com/",
"https://repo1.maven.org/maven2",
],
)
bind(
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment