Top Banner
Gradle Build Tools
13

Gradle build tools

Apr 16, 2017

Download

Software

Tamaro Green
Welcome message from author
This document is posted to help you gain knowledge. Please leave a comment to let me know what you think about it! Share it to your friends and learn new things together.
Transcript
Page 1: Gradle build tools

Gradle Build Tools

Page 2: Gradle build tools

Gradle Build Tool

● Fast Build Speeds− DSL versus XML− Can ran as a Daemon

Page 3: Gradle build tools

Gradle Tasks

● List all available tasks− gradle tasks− Gradle --help

● Commands− -d

● Debugging option, displays stacktrace− --daemon

● Run as a daemon−

Page 4: Gradle build tools

Graphical User Interface

Page 5: Gradle build tools

Gradle Test Execution

● To execute tests in gradle build, simple execute:− gradle test− From Eclipse: Run As...Gradle Test

Page 6: Gradle build tools

Gradle Build File

Building a project with Eclipse:gradle eclipse

The BuildShip Eclipse plugin from the Eclipse Marketplace allows for integration for Gradle from the Eclipse IDE

Page 7: Gradle build tools

Eclipse IDE Integration

Easily Create, Manage,Build, and ExecuteGradle projectswith the BuildShipplugin for the Eclipse IDE

Page 8: Gradle build tools

Build and Execute Tests from Eclipse Console

BuildShip integrates Gradle Tasks and Gradle Executions into the console

Page 9: Gradle build tools

Gradle Test Execution From Eclipse

To execute tests with Gradle with Eclipse, simply run as Gradle Test as would be executed with JUnit Test.

Page 10: Gradle build tools

Gradle Build Components

build.gradlegradle.propertiesgradlewsettings.gradle

configurationproperties filegradle wrapperproject settings

Page 11: Gradle build tools

Eclipse Gradle Plugin Console

Provides the time of execution for the build and for the tests. Errors are displayed in the Console.

Page 12: Gradle build tools

Python Integration

Install or update the latest selenium with PIP:

pip install -U selenium

Page 13: Gradle build tools

Settings allows adding additional projects