Mainly, this PR improves the Spring Boot rule in that it will use the captive Python3 toolchain in Bazel (if one is configured), rather than system python. This is good because for hermetic builds, as we don't want to rely on system Python.
Details of the changes:
the dupe class checker python script is now called directly from Starlark instead of a genrule
the rule will now use python from the toolchain if it is configured
we now short circuit the invocation before invoking the python script if fail_on_duplicate_classes = False
the output file from the rule invocation will now contain the full description of the errors, if the invocation fails
Mainly, this PR improves the Spring Boot rule in that it will use the captive Python3 toolchain in Bazel (if one is configured), rather than system python. This is good because for hermetic builds, as we don't want to rely on system Python.
Details of the changes:
Fixes issue #44