From the course: Learning Gradle

Unlock the full course today

Join today to access over 22,600 courses taught by industry experts or purchase this course individually.

Hello world

Hello world

From the course: Learning Gradle

Start my 1-month free trial

Hello world

- [Instructor] There's very little you have to understand, to get started with Gradle. Before jumping into the code right away, I want to point out high level terms in the gradle world you will have to interact with. At the core of every gradle build, lies a so-called project. The project defines the capabilities and boundaries of a software component. For example, such a software component could be a Java web application. For each software component, you usually create a gradle build file which contains the build instructions. The actual work of the build can be defined with a so-called task. The task defines the step-by-step automation instructions. For example, copy file A to directory B. You write a task in a build script. Let's exercise what we've learned. We'll want to create a new gradle project that declares a single task. The task will simply print the message, hello world, to the terminal. We will start by…

Contents