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

Pluralsight

Gradle Build Tool Fundamentals

via Pluralsight

Overview

Save Big on Coursera Plus. 7,000+ courses at $160 off. Limited Time Only!
Gradle is the newish kid on the block of Java build tools and is the tool that Android Studio uses. Gradle lets you compile and test your code, create jars and wars for your applications, generate Javadoc, and much more.



Gradle is a Java tool that manages your build environment. It lets you build test and run your code. Through plugins it is easily extendable. While Gradle itself is written in Java it provides two DSLs: one that is written in Groovy and one that is written in Kotlin, in which you write the configuration scripts. This course, Gradle 7 Build Tool Fundamentals, covers the essentials of Gradle. First, you will learn about writing basic build scripts in the DSL. Next, you will discover how to runn Java and Kotlin builds. Then, you will explore unit testing with JUnit 4 and JUnit 5. Gradle does not provide its own dependency management system but instead can use Maven’s or Ivy’s. You will see how to configure and use both of these systems. The course also shows how to test with both JUnit 4 and how to configure your Gradle scripts to test with JUnit 5. Finally, the class looks at the Gradle ‘wrapper’ - a mechanism to ensure your developers always use the correct version of Gradle. By the end of this course, you will know how to use Gradle to manage project with one or more builds. All examples throughout the class use both the Kotlin and Groovy DSLs and all the demo code has the examples in both languages.

Syllabus

  • Course Overview 1min
  • Setting up Gradle in Your Environment 26mins
  • Understanding Projects and Tasks 17mins
  • Building Java and Kotlin Projects 30mins
  • Understanding Gradle Dependency Management 25mins
  • Creating and Managing Multi-project Builds 20mins
  • Using Gradle to Manage Testing 16mins
  • Understanding the Gradle Wrapper and How to Use It 12mins

Taught by

Kevin Jones

Reviews

4.3 rating at Pluralsight based on 147 ratings

Start your review of Gradle Build Tool Fundamentals

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.