All Projects → bmuschko → Gradle In Action Source

bmuschko / Gradle In Action Source

Licence: mit
Source code for the Manning book "Gradle in Action"

Programming Languages

java
68154 projects - #9 most used programming language

Projects that are alternatives of or similar to Gradle In Action Source

Textrude
Code generation from YAML/JSON/CSV models via SCRIBAN templates
Stars: ✭ 79 (-83.64%)
Mutual labels:  build-automation, build-tool
pyke
🔨🐍 Make-like build utility for Python projects with extensive DSL features
Stars: ✭ 13 (-97.31%)
Mutual labels:  build-automation, build-tool
build
Build system scripts based on GENie (https://github.com/bkaradzic/genie) project generator
Stars: ✭ 30 (-93.79%)
Mutual labels:  build-automation, build-tool
makestudio
Setup your Delphi Environment very easily - build your projects with more comfort
Stars: ✭ 43 (-91.1%)
Mutual labels:  build-automation, build-tool
makesure
Simple task/command runner with declarative goals and dependencies
Stars: ✭ 230 (-52.38%)
Mutual labels:  build-automation, build-tool
Nginx-builder
A tool to build deb or rpm package of required Nginx version from the source code, with the ability to connect third-party modules. Nginx parameters are set in the yaml configuration file.
Stars: ✭ 143 (-70.39%)
Mutual labels:  build-automation, build-tool
Xake
Another MAKE utility implementation on F#, fully declarative with no-brain parallelism, inspired by Shake
Stars: ✭ 24 (-95.03%)
Mutual labels:  build-automation, build-tool
millwright
The easiest build tool you'll ever use.
Stars: ✭ 27 (-94.41%)
Mutual labels:  build-automation, build-tool
obs-docu
Official Open Build Service Documentation. Content gets reviewed and edited. Generated books are available at http://www.openbuildservice.org
Stars: ✭ 26 (-94.62%)
Mutual labels:  build-automation, build-tool
BuildMonkey
Build artefacts for creating a Eclipse RCP application with gradle
Stars: ✭ 11 (-97.72%)
Mutual labels:  gradle, build-tool
native-samples
Samples of modern build automation for native languages with Gradle
Stars: ✭ 140 (-71.01%)
Mutual labels:  build-automation, build-tool
Javafx Gradle Plugin
Gradle plugin for JavaFX
Stars: ✭ 425 (-12.01%)
Mutual labels:  gradle, build-tool
UnityBuildManager
Utility for running builds sequence & pushing them to markets & keeping changelog
Stars: ✭ 53 (-89.03%)
Mutual labels:  build-automation, build-tool
unity-build-pipeline
Custom BASH script for build, archive, export and upload APK and IPA to server with Telegram notification
Stars: ✭ 59 (-87.78%)
Mutual labels:  build-automation, build-tool
psh
PSH - PHP shell helper
Stars: ✭ 60 (-87.58%)
Mutual labels:  build-automation, build-tool
tainted
Tool to determine which Go packages need to be rebuilt in a monorepo
Stars: ✭ 53 (-89.03%)
Mutual labels:  build-automation, build-tool
makeme
Embedthis MakeMe
Stars: ✭ 26 (-94.62%)
Mutual labels:  build-automation, build-tool
aseprite-macos-buildsh
Automated script to create latest release app (either beta, or release whichever is newer) of Aseprite for macOS
Stars: ✭ 143 (-70.39%)
Mutual labels:  build-automation, build-tool
jagen
A software engineer's workspace manager and build systems wrapper
Stars: ✭ 32 (-93.37%)
Mutual labels:  build-automation, build-tool
Cake
🍰 Cake (C# Make) is a cross platform build automation system.
Stars: ✭ 3,154 (+553%)
Mutual labels:  build-tool, build-automation

Source code for "Gradle in Action" Build Status

Book cover

Building the code

All source code used in the book is based on Gradle 1.7. Please use the checked-in Wrapper to execute the samples. Please be aware that a later version of Gradle might not be compatible with the source code.

The source code is organized into individual chapters. Chapter 1 contains Ant and Maven build scripts. Please refer to the build tool's online manual for instructions to install the runtime and execute the build script. You can find more information here:

Starting with chapter 2, all source code can be run using the Gradle Wrapper which means no runtime will have to be installed. For example to run the "Hello World" build script from chapter 2 open a shell/command prompt and navigate to the directory. You can execute the build script by referencing the Gradle Wrapper command line script and providing the task you would like to run.

Windows:

> cd gradle-in-action-source/chapter02/helloworld-task-doLast
> ../../gradlew.bat helloWorld

*nix:

$ cd gradle-in-action-source/chapter02/helloworld-task-doLast 
$ ../../gradlew helloWorld

Putting it all together

Gradle in Action demonstrates how to implement build logic needed for various stages of a Continuous Delivery pipeline. While the book discusses specific functionality step by step, you might want to see it all put together. You can find the sample To Do application extended by typical project automation functionality (like testing strategies, publishing and deployment logic etc.) in a dedicated repository. Furthermore, you can find an updated version of the To Do application implemented with Spring Boot, built on a declarative Jenkins pipeline and deployed to Heroku in the blog post "Build pipelines with Jenkins 2 by example".

Going further

The book discusses how to integrate third-party functionality by writing custom tasks or plugins. Some of the examples have been developed further and are available as full-fledged binary plugins ready to be used in your own projects.

Unfortunately, I could not cover all topics readers were interested in. Here's a list of example projects that should get you started:

Continuous Integration

Most of the source code listings are automatically executed with the help of the Gradle tooling API. Whenever there's a change to the code, a corresponding job is triggered. Each build works through a list of predefined tasks for each chapter and verifies the expected outcome.

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].