Gradle for Java-Based Applications and Libraries

Go to class
Write Review

Free Online Course: Gradle for Java-Based Applications and Libraries provided by LinkedIn Learning is a comprehensive online course, which lasts for Less than 1 hour of material. The course is taught in English and is free of charge. Upon completion of the course, you can receive an e-certificate from LinkedIn Learning. Gradle for Java-Based Applications and Libraries is taught by Benjamin Muschko.

Overview
  • Gradle is a general-purpose, open-source build automation tool. Learn how to use Gradle to compile, test, and assemble a Java application or library.

Syllabus
  • 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
    Conclusion
    • Next steps