Gradle for Java-Based Applications and Libraries
57mIntermediate2021-01-05
Authors

Benjamin Muschko
Software Engineer, Consultant, and Trainer
Course details
Gradle makes building and testing Java programs easy with its compelling feature set. This course teaches the typical tasks needed to work with a Java project, including compiling code, adding dependencies, running tests, and building a JAR file. You will need a basic knowledge of the Java programming language to complete this course. Instructor Benjamin Muschko walks you through the project structure and source code of a simple Java project, then shows how to apply and explore the Java plugin for Gradle. The course explains how to generate Javadocs for a Java project. Benjamin covers the basics of dependency management. He steps through each task you need to complete, to test a Java project and fix a failed test suite. Plus, Benjamin provides some additional learning resources to deepen your Gradle knowledge.
Skills covered
GradleJavaOracleSoftware Development ToolsProgramming LanguagesOpen SourceSoftware DevelopmentOne-Off
Concepts
0. Introduction
- 01 - Building a Java project simplified
- 02 - What you should know
1. Building a Java Project
- 03 - Anatomy of a simple Java project
- 04 - Applying the Java plugin
- 05 - Compiling Java source code
- 06 - Packaging a JAR file
- 07 - Exploring the Java Application plugin
- 08 - Challenge - Generating Javadocs for a Java project
- 09 - Solution - Generating Javadocs for a Java project
2. Dependency Management Basics
- 10 - Mechanics of dependency management
- 11 - Declaring a dependency on an external library
- 12 - Rendering the dependency tree
- 13 - Declaring a project dependency
- 14 - Using the Maven Publish plugin to publish a library
- 15 - Challenge - Consuming an external dependency
- 16 - Solution - Consuming an external dependency
3. Testing a Java Project
- 17 - Using the JUnit 5 test framework
- 18 - Declaring JUnit dependencies
- 19 - Executing tests and inspecting the results
- 20 - Challenge - Fix a failed test suite
- 21 - Solution - Fix a failed test suite
Conclusion
- 22 - Next steps
Related courses
Related learn paths
- Prepare for the Google Associate Android Developer Certification
- Become an Android Mobile App Developer
- Become a Spring Developer
- Getting Started In Spring Development
- Master Data Engineering
- Building AI Products: Implementing Responsible AI Professional Certificate by LinkedIn Learning
- Master Audio Synthesis and Synthesizers
- Prepare for the Microsoft Azure Administrator (AZ-104) Exam