13

Gradle

Embed Size (px)

Citation preview

Page 1: Gradle
Page 2: Gradle

Agenda

Introduction

Implementation

Q&A

Page 3: Gradle

1.Introduction

Let’s start with the first set of

slides

Page 4: Gradle

“Gradle is an open source build system that combines the power of ANT& MAVEN.

Page 5: Gradle

Why Gradle?1. Declarative builds and build-by-convention (DSL)2. Language for dependency based programming 3. Structure your build. 4. Deep API 5. Gradle scales6. Multi-project builds 7. Many ways to manage your dependencies8. Gradle is the first build integration tool 9. Ease of migration10.Groovy11.The Gradle wrapper12.Free and open source

Basic Features

Page 6: Gradle

Basic Features Basic Principles

Page 7: Gradle

2.Implementation

Let’s start with the installation

slide

Page 8: Gradle

InstallationDownload gradle at http://gradle.org/gradle-download/ and unzip.

For running Gradle, add GRADLE_HOME/bin to your PATH environment variable. Usually, this is sufficient to run Gradle.

You run Gradle via the gradle command. To check if Gradle is properly installed just type

$>gradle –v$>------------------------------------------------------------Gradle 2.11------------------------------------------------------------

Build time: 2016-02-08 07:59:16 UTCBuild number: noneRevision: 584db1c7c90bdd1de1d1c4c51271c665bfcba978

Groovy: 2.4.4Ant: Apache Ant(TM) version 1.9.3 compiled on December 23 2013JVM: 1.8.0_60 (Oracle Corporation 25.60-b23)OS: Windows 7 6.1 x86

Page 9: Gradle

Basic Features

Task Dependencies

Page 10: Gradle

Plugins

Language Integration

1 Java EAR

2 Groovy Maven

3 Scala OSGI

4 Antlr WAR

5 ... ...

Page 11: Gradle

Diagram featured by https://docs.gradle.org/current/userguide/java_plugin.html

Java plug-in - dependency configurations

Java plug-in - lifecycle tasks

Page 12: Gradle

THANKS!

Any questions?You can find me at @srinath.srinaga& [email protected]

Page 13: Gradle

CREDITS

Special thanks to all the people who made and released these awesome resources for free:

▸ Presentation by Srinath Kanugala