FAILURE: in Picard build

I’m brand new to gradle and having issues building Picard.

I made sure to use java/1.8.0_45 as my default Java
I follow their instructions directly, but I get a few warnings during the jar building step:

./gradlew shadowJar

Task :compileJava
Note: Some input files use or override a deprecated API.
Note: Recompile with -Xlint:deprecation for details.
Note: Some input files use unchecked or unsafe operations.
Note: Recompile with -Xlint:unchecked for details.
4 actionable tasks: 4 executed

I found someone with the same issue, but I don’t know how to implement the fix suggested (Recompile with -Xlint parameters)

when I test the build, it gets to about 90% successful tests, but then fails with this message:

Results: SUCCESS (105 tests, 104 successes, 0 failures, 1 skipped)

Task :barclayTest FAILED
FAILURE: Build failed with an exception.

  • What went wrong:
    Execution failed for task ‘:barclayTest’.

Process ‘Gradle Test Executor 2’ finished with non-zero exit value 152
This problem might be caused by incorrect test process configuration.
Please refer to the test execution section in the User Manual at Testing in Java & JVM projects

  • Try:
    Run with --stacktrace option to get the stack trace. Run with --info or --debug option to get more log output. Run with --scan to get full insights.
  • Get more help at
    BUILD FAILED in 1m 28s
    5 actionable tasks: 3 executed, 2 up-to-date

Any insight into how I can fix this issue would be greatly appreciated. Thank you