Gradle by Example

Post on 13-Apr-2017

361 views 1 download

transcript

Gradle by exampleDesert Code Camp 2016.1

Eric Wendelin

Eric Wendelin@eriwen

About Gradle

Live Coding

Next Steps

Q & A

Agenda

About Gradle

Build Automation Tool

Build Automation ToolCompiles code

Runs tests

Assembles docs

Packages and runs applications

Performs Deployments

... among other things

Fast, flexible build automation tool

Build scripts are code

Convention-based Projects and Tasks

Gradle In Brief

How Gradle is familiar

How Gradle is familiar

Build Scripts are code

Task based

Project based

Convention over configuration

Plugins

How Gradle is unique

How Gradle is unique

Flexible conventions

Gradle Daemon

Gradle Wrapper

Composite Builds

Build Scans

Gradle Daemon

Live Codinghttps://github.com/eriwen/dcc-2016

But wait! There's more!

Bundled Plugins

Platforms Java, Groovy, Scala, Play!, Native

Analysis Checkstyle, JaCoCo, PMD, FindBugs

and more...

Community Plugins

Languages Python, JS, Go, Clojure, ...

Tools Bintray, Docker, Git, ...

and more...

Next Steps

Next Steps

docs.gradle.org

blog.gradle.org

discuss.gradle.org

scans.gradle.com

twitter.com/gradle

Q & A

@eriwen

Thank You

Eric Wendelin