
> Task :compileJava FAILED
1 actionable task: 1 executed
/home/user/gradle/samples/src/main/java/module-info.java:2: error: module not found: com.google.gson
    requires com.google.gson;          // real module
                       ^
/home/user/gradle/samples/src/main/java/module-info.java:3: error: module not found: org.apache.commons.lang3
    requires org.apache.commons.lang3; // automatic module
                               ^
2 errors

FAILURE: Build failed with an exception.

* What went wrong:
Execution failed for task ':compileJava'.
> Compilation failed; see the compiler error output for details.

* 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 https://help.gradle.org

BUILD FAILED in 0s
