Log In
Or create an account ->
Imperial Library
Home
About
News
Upload
Forum
Help
Login/SignUp
Index
The Story Behind the Succinctly Series of Books
About the Author
Who Is This Book For?
Chapter 1 Introduction
What is Gradle?
Why are scripts written in Groovy?
About domain-specific build languages
About Gradle Inc.
Chapter summary
Chapter 2 Installing Gradle
Getting started
Prerequisites
Getting Gradle
Gradle installation process
Testing the installation
Chapter summary
Chapter 3 Beginning with Gradle
The ever-present Hello World
Build scripts and builds
Going a little further with Hello World
Using the Gradle command line
Displaying help messages
Making it a little bit easier: task-name abbreviation
Listing the tasks for a build script
Getting detailed information about tasks
Getting a profile for the build script
Chapter summary
Chapter 4 Build Script Basics
Project and task: the two basic concepts in Gradle
Project lifecycle
Tasks
Build scripts are Groovy code
Task dependencies
Dynamic tasks
Task manipulation
Chapter summary
Chapter 5 Digging into Gradle Tasks
More about task declarations
Configuration blocks
Task object model basics
Methods of DefaultTask
Properties of DefaultTask
About task types
Copy
Zip
Chapter summary
Chapter 6 More on Writing Build Scripts
Using a different build script file
Specifying a default task
Taking a Java quick start
Creating a Java project
Learning about the tasks of a Java project
Setting package version information for the project
Creating a distribution for being shipped
Chapter summary
Chapter 7 Build Hooks
Overview
Reviewing the Gradle lifecycle
The “advice” terminology
Advices to a project evaluation
Advices to tasks creation
Advices to execution phase
Task execution
Build finished
Chapter summary
Chapter 8 Multi-Project Builds
Structure of a multi-project build
Executing a multi-project build
Defining common behavior
Defining a specific behavior
Subproject configuration
The subprojects property
Adding specific behavior to a given subproject
Adding specific behavior using build.gradle files
Filtering by name
Filtering by properties
Execution rules for multi-project builds
A real-life Java example
Chapter summary
Chapter 9 Running Gradle from Visual Studio Code
Loading a Gradle project into VS code
Adding a task to VS Code to run Gradle
Chapter summary
General Conclusions
← Prev
Back
Next →
← Prev
Back
Next →