What You Will Learn

  • Gradle basic concepts
  • How to build Gradle projects – efficient use and maintenance
  • Understanding Gradle DSL (Kotlin and Groovy variants)
  • Gradle build configuration: settings files, build files, and convention plugins
  • Gradle build execution: tasks, task inputs/outputs, task dependencies
  • Dependency management: scopes/configurations, repositories, versioning
  • Configuring tests with Gradle
  • Configuring Gradle with Java

Related Topics

  • Gradle
  • Programming Languages
  • Development

Requirements

  • You should be familiar with IntelliJ IDEA and the programming language you wish to use Gradle to build projects with (e.g., Java). No prior knowledge of Gradle itself is required.

Description

Gradle is one of the most advanced build tools for Java and other JVM languages (such as Kotlin, Groovy, and Scala).

In this course, you will learn how to build your software projects using Gradle to take full advantage of it.

This course is practice-oriented. We will build a project from scratch, learning Gradle’s features one by one. While we use a Java project as an example, the knowledge gained can be transferred to any software project built with Gradle.

Whatever automation task you want to solve: this course can help you unlock Gradle’s full potential.

Without any prior Gradle knowledge, you can learn the latest best practices for Gradle 7 and higher versions.

The video explanations are information-rich. To follow along, you may need to pause the video regularly, explore examples, and ensure it works for you. You should allocate approximately 3 times the video duration to learn the corresponding course content.

Topic Overview

  • Gradle configuration language (Gradle’s DSL)
  • Defining project structure – settings files and Gradle wrapper
  • Giving meaning to components/subprojects – build files
  • Centralizing build configuration – convention plugins
  • Writing applications – adding dependencies
  • Running builds – using incremental builds and caching
  • Configuring tasks added by plugins
  • Using existing task implementations to register new tasks
  • Implementing your own build logic in tasks
  • Making your project accessible through lifecycle tasks
  • Dependency scopes (also known as configurations)
  • Centralized location for dependency versions – platform projects / dependency version catalogs
  • Conflicts and component metadata rules
  • Source sets
  • Configuring tests
  • Kotlin vs. Groovy DSL
  • Writing build configurations using Java

Who This Course Is For:

  • Java developers
  • Android developers
  • Kotlin developers
  • Scala developers
  • Groovy developers
声明:本站所有文章,如无特殊说明或标注,均为本站原创发布。任何个人或组织,在未征得本站同意时,禁止复制、盗用、采集、发布本站内容到任何网站、书籍等各类媒体平台。如若本站内容侵犯了原著者的合法权益,可联系我们进行处理。