-
-
Notifications
You must be signed in to change notification settings - Fork 259
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Introduce a deps and a setup macro (#481)
This allows us to pull in dependencies that we may need to ensure that rules_jvm_external functions. At present, this is a no-op.
- Loading branch information
Showing
5 changed files
with
57 additions
and
4 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,16 @@ | ||
load("//:defs.bzl", "maven_install") | ||
|
||
_DEFAULT_REPOSITORIES = [ | ||
"https://repo1.maven.org/maven2", | ||
"https://jcenter.bintray.com/", | ||
"https://maven.google.com", | ||
] | ||
|
||
def rules_jvm_external_deps(repositories = _DEFAULT_REPOSITORIES): | ||
maven_install( | ||
name = "rules_jvm_external_deps", | ||
artifacts = [ | ||
], | ||
maven_install_json = "@rules_jvm_external//:rules_jvm_external_deps_install.json", | ||
repositories = repositories, | ||
) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,9 @@ | ||
{ | ||
"dependency_tree": { | ||
"__AUTOGENERATED_FILE_DO_NOT_MODIFY_THIS_FILE_MANUALLY": 2914, | ||
"conflict_resolution": {}, | ||
"dependencies": [ | ||
], | ||
"version": "0.1.0" | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,4 @@ | ||
load("@rules_jvm_external_deps//:defs.bzl", "pinned_maven_install") | ||
|
||
def rules_jvm_external_setup(): | ||
pinned_maven_install() |