Gradle for Java-Based Applications and Libraries

بواسطة: LinkedIn Learning

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

Taught by

Benjamin Muschko

Gradle for Java-Based Applications and Libraries
الذهاب الي الدورة

Gradle for Java-Based Applications and Libraries

بواسطة: LinkedIn Learning

  • LinkedIn Learning
  • مدفوعة
  • الإنجليزية
  • متاح شهادة
  • متاح في أي وقت
  • الجميع
  • N/A