Skip to content

My cheatsheets/notes I have written while learning Gradle. This is my first experience with build tools, so the notes were written from the perspective of a total beginner

Notifications You must be signed in to change notification settings

yanamlnk/gradle-notes

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

25 Commits
 
 
 
 
 
 

Repository files navigation

Gradle Notes

Intro

These notes were created solely for educational purposes while I was learning Gradle on my own. The main focus is to grasp Gradle basics, terminology, concepts and workflow. That is why for simplicity I am using:

  • Groovy as build script language
  • Java as main programming language
  • zsh in Terminal

Where to start?

❕ Click here to start ❕

〰️ or feel free to jump to any topic, using Table of Contents below 〰️

Interested in Maven? 👀

Check new bonus chapter: 🪶 Maven Notes 🪶

Table of Contents:

  1. What is Build Tool?
Learn how to "build" your project, what built-in options do you have, and why do you need build tools.

  1. How to Install?
Prerequisites, installation.

  1. Gradle Overview
Learn about Gradle features, core concept, and what lifecycle Gradle build has.

  1. Gradle Project
Learn how to create basic Gradle project, and what structure it has.

  1. Build Script
Learn how to configure Gradle build using build script, get to know basic build.gradle structure, and also some Groovy basics - Gradle DSL.

  1. Gradle Wrapper
Learn what is Gradle Wrapper, why it is so useful, and how to use/upgrade it.

  1. Create Java Application
Create simple Java application using different methods: init task, IDEs, or manually add Gradle to the project.

  1. Work with Gradle
Work with Gradle using CLI or third-party tools.

  1. Share Project
Learn where Gradle stores build output, how to generate build artifacts: jar, tar or zip files, and how to publish your library.

  1. Multi-Project Build
Learn about multi-project build structure, how to execute tasks, and how subprojects can depend on each other.

  1. Troubleshooting Gradle
Learn where you can ask for help in case of some Gradle issues, and what is Build Scan.

  1. Maven Notes
Learn how to use Maven and what are the differences and similarities between Gradle and Maven functionality.

  1. Resources

Links to the resources that were used to write these cheatsheets.

About

My cheatsheets/notes I have written while learning Gradle. This is my first experience with build tools, so the notes were written from the perspective of a total beginner

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published