Coder Social home page Coder Social logo

yanamlnk / gradle-notes Goto Github PK

View Code? Open in Web Editor NEW
1.0 1.0 0.0 96 KB

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

gradle groovy-script java

gradle-notes's Introduction

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.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.