Skip to content

Commit 212adc0

Browse files
committed
Use default .bazelrc setting and re-enable strict dependency checks.
1 parent c428294 commit 212adc0

File tree

2 files changed

+4
-24
lines changed

2 files changed

+4
-24
lines changed
Lines changed: 0 additions & 24 deletions
Original file line numberDiff line numberDiff line change
@@ -1,27 +1,3 @@
11
# Java compilation settings
22
build --java_language_version=11
33
build --java_runtime_version=11
4-
5-
# Enable worker strategy for better performance
6-
build --strategy=Javac=worker
7-
build --worker_sandboxing
8-
9-
# Modern Java build optimizations
10-
build --experimental_strict_java_deps=off
11-
build --incompatible_java_common_parameters=false
12-
13-
# Performance optimizations
14-
build --experimental_reuse_sandbox_directories
15-
build --worker_multiplex
16-
17-
# Disk cache for better performance
18-
build --disk_cache=~/.cache/bazel-disk-cache
19-
20-
# Remote cache configuration (optional)
21-
# build --remote_cache=grpc://localhost:9092
22-
23-
# Build event stream for better observability
24-
# build --build_event_json_file=build_events.json
25-
26-
# Strict visibility for better dependency management
27-
build --incompatible_enforce_config_setting_visibility=false

examples/powertools-examples-core-utilities/sam-bazel/BUILD.bazel

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,11 +6,15 @@ java_library(
66
resources = glob(["src/main/resources/**"]),
77
deps = [
88
"@maven//:software_amazon_lambda_powertools_tracing",
9+
"@maven//:software_amazon_lambda_powertools_logging",
910
"@maven//:software_amazon_lambda_powertools_logging_log4j",
1011
"@maven//:software_amazon_lambda_powertools_metrics",
1112
"@maven//:com_amazonaws_aws_lambda_java_core",
1213
"@maven//:com_amazonaws_aws_lambda_java_events",
1314
"@maven//:org_aspectj_aspectjrt",
15+
"@maven//:org_slf4j_slf4j_api",
16+
"@maven//:com_fasterxml_jackson_core_jackson_databind",
17+
"@maven//:org_apache_logging_log4j_log4j_api",
1418
],
1519
)
1620

0 commit comments

Comments
 (0)