Instead of reiterating the deps in the springboot rule, this PR allows the deps to be stated once in the java_library, and pulled through in the springboot rule. Fixes issue #31 .
java_library(
name = "helloworld_lib",
srcs = glob(["src/main/java/**/*.java"]),
resources = glob(["src/main/resources/**"]),
deps = springboot_deps + lib_deps,
)
springboot(
name = "helloworld",
boot_app_class = "com.sample.SampleMain",
java_library = ":helloworld_lib",
# NO DEPS NEED TO BE DECLARED HERE
)
Instead of reiterating the deps in the springboot rule, this PR allows the deps to be stated once in the java_library, and pulled through in the springboot rule. Fixes issue #31 .
PREVIOUS:
NEW: