Skip to content

Commit

Permalink
sample tweak
Browse files Browse the repository at this point in the history
  • Loading branch information
plaird committed Dec 15, 2020
1 parent 974bb79 commit c100439
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions samples/helloworld/BUILD
Original file line number Diff line number Diff line change
Expand Up @@ -44,15 +44,15 @@ java_library(
springboot(
name = "helloworld",
boot_app_class = "com.sample.SampleMain",
duplicate_class_allowlist = ":dupe_class_allowlist",
java_library = ":helloworld_lib",

# TO TEST THE DUPE CLASSES FEATURE:
# There is an intentionally duplicated class in lib1 and lib2. Do this:
# 1. set fail_on_duplicate_classes = True
# 2. comment out lib1 or lib2 in helloworld_dupeclass_allowlist.txt
# Build should fail due to the duplicate class.
fail_on_duplicate_classes = True,
java_library = ":helloworld_lib",
duplicate_class_allowlist = ":dupe_class_allowlist",

# Specify optional JVM args to use when the application is launched with 'bazel run'
jvm_flags = "-Dcustomprop=gold",
Expand Down

0 comments on commit c100439

Please sign in to comment.