Introduction
Building a Java project simplified
()
What you should know
()
1. Building a Java Project
Anatomy of a simple Java project
()
Applying the Java plugin
()
Compiling Java source code
()
Packaging a JAR file
()
Exploring the Java Application plugin
()
Challenge: Generating Javadocs for a Java project
()
Solution: Generating Javadocs for a Java project
()
2. Dependency Management Basics
Mechanics of dependency management
()
Declaring a dependency on an external library
()
Rendering the dependency tree
()
Declaring a project dependency
()
Using the Maven Publish plugin to publish a library
()
Challenge: Consuming an external dependency
()
Solution: Consuming an external dependency
()
3. Testing a Java Project
Using the JUnit 5 test framework
()
Declaring JUnit dependencies
()
Executing tests and inspecting the results
()
Challenge: Fix a failed test suite
()
Solution: Fix a failed test suite
()
Ex_Files_Gradle_Java.zip
(1.6 MB)