forked from bazel-contrib/rules_jvm_external
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Update rules_jvm_external to use the Starlark version of aar_import a…
…utomatically if the version of Bazel used does not contain the native version of aar_import. This also updates the version of rules_android to the latest commit, because version 0.1.1 is basically just wrappers around the native versions of the rules. This also disbles `--experimental_sibling_repository_layout` added in bazel-contrib@b6631f9 because the latest rules_android uses protos in go, and there is a problem compiling protos in go with `--experimental_sibling_repository_layout`: bazel-contrib/rules_go#3947 Fixes bazel-contrib#1139.
- Loading branch information
Showing
6 changed files
with
30 additions
and
41 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,30 +1 @@ | ||
build --java_language_version=11 | ||
build --java_runtime_version=remotejdk_11 | ||
|
||
build --tool_java_language_version=11 | ||
build --tool_java_runtime_version=remotejdk_11 | ||
|
||
build --experimental_strict_java_deps=strict | ||
build --explicit_java_test_deps | ||
|
||
build --experimental_sibling_repository_layout | ||
|
||
# Make sure we get something helpful when tests fail | ||
test --verbose_failures | ||
test --test_output=errors | ||
|
||
# Every JVM creates a temporary performance instrumentation file in | ||
# /tmp/hsperfdata_$USERNAME/$PID. When we use sandboxing, we use PID | ||
# namespaces, which means that the PIDs are virtualized and all | ||
# running JVMs believe they are PID 2. | ||
# | ||
# This means that they all open/ftruncate/mmap the same file and that | ||
# gives you SIGBUS eventually, because "It tries to read an address | ||
# that no longer exists from an mmap'd file". | ||
# | ||
# https://github.com/bazelbuild/bazel/issues/3236#issuecomment-310776024 | ||
|
||
build --sandbox_tmpfs_path=/tmp | ||
|
||
# Allows the examples to extend the default bazelrc | ||
try-import %workspace%/.bazelrc.example | ||
common --experimental_google_legacy_api |
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
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