Class Central is learner-supported. When you buy through links on our site, we may earn an affiliate commission.

LinkedIn Learning

Gradle for Java-Based Applications and Libraries

via LinkedIn Learning

Overview

Save Big on Coursera Plus. 7,000+ courses at $160 off. Limited Time Only!
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

Taught by

Benjamin Muschko

Reviews

4.6 rating at LinkedIn Learning based on 105 ratings

Start your review of Gradle for Java-Based Applications and Libraries

Never Stop Learning.

Get personalized course recommendations, track subjects and courses with reminders, and more.

Someone learning on their laptop while sitting on the floor.