The Java plugin emulates many of Maven's expected lifecycles as tasks in the dependency driven acyclic graph for the inputs and outputs of each task. For projects that do not follow the Maven conventions, Gradle allows the directory structure to be configured.
Based on this which code snippet would support a project that contains the source files in src/java instead of src/main /?
Q 2. Which of the following alternatives correctly expresses concepts related to Gradle?
Q 3. Which code snippet correctly appends Spring dependencies to a Gradle project?