Your privacy matters: This site uses cookies to analyze site usage and provide social media features. Learn More.

Introduction to the Gradle Build System

GRO-104 (2 Days)

Request Pricing

Gradle Training Overview

Accelebrate's Gradle course teaches the fundamentals of the Gradle build system, which is used to compile, test, and deploy Java and/or Groovy projects.

Location and Pricing

Most Accelebrate courses are delivered as private, customized, on-site training at our clients' locations worldwide for groups of 3 or more attendees and are custom tailored to their specific needs. Please visit our client list to see organizations for whom we have delivered private in-house training. These courses can also be delivered as live, private online classes for groups that are geographically dispersed or wish to save on the instructor's or students' travel expenses. To receive a customized proposal and price quote for private training at your site or online, please contact us.

Gradle Training Objectives

All students will:

  • Learn the basics of Groovy programming
  • Understand the challenges of build processes
  • Use Gradle with the standard conventions
  • Map to alternative project layouts
  • Manage dependencies
  • Declare repositories
  • Create custom tasks
  • Use the Gradle wrapper
  • Select and use Gradle plugins for added functionality
  • Work with the Gadle directed acyclic graph
  • Create and use configurations in Gradle

Gradle Training Outline

Expand All | Collapse All | Printer-Friendly

Introduction
Enough Groovy for Gradle
  • The basic Groovy data types and optional typing
  • Overriding operators and type coercion
  • Groovy strings
  • Ranges, lists, and collections
  • Closures
Installing Gradle
  • Environment variables
  • Testing your installation
Quick Tour of Gradle
  • Creating build scripts
  • Declaring dependencies
  • Accessing repositories
  • Applying plugins
  • Configuring the directed acyclic graph
Building Java Projects
  • Standard project structure
  • The Java plugin
  • Running tests
Building Groovy Projects
  • The Groovy project structure
  • Working with both Groovy and Java
  • Executing tests with both JUnit and Spock
Defining Tasks
  • Declaring tasks
  • Defining project properties
  • Setting dependencies
  • Using doFirst and doLast
  • Using the builtin task types
  • Inserting your tasks into the DAG
Incremental Builds
  • Inputs and outputs
  • Using onlyIf
  • Refreshing the cache
The Gradle Daemon
  • Usage and troubleshooting
  • Configuring the daemon
Plugins
  • Plugins that ship with Gradle
  • The standard plugin repository
  • Some useful plugins
IDE Integration
  • Eclipse projects
  • IntelliJ IDEA
The Gradle Wrapper
  • Specifying versions
  • Generating the scripts
Multiproject Builds
  • Using settings.xml
  • Consolidating configuration properties
  • Making one subproject depend on another
Conclusion
Request Pricing

Lecture percentage

40%

Lecture/Demo

Lab percentage

60%

Lab

Course Number:

GRO-104

Duration:

2 Days

Prerequisites:

Attendees should be comfortable with Java. Some knowledge of Groovy would be helpful but is not required.

Training Materials:

All attendees receive comprehensive courseware and a related textbook.

Software Requirements:

  • JDK 1.6 or later
  • The latest stable release of Gradle
  • A powerful IDE that supports Groovy and Grails, such as SpringSource's Groovy/Grails Tool Suite or IntelliJ IDEA
  • Related free software and lab files; please contact us for detailed specifications

Contact Us:

Accelebrate’s training classes are available for private groups of 3 or more people at your site or online anywhere worldwide.

Don't settle for a "one size fits all" public class! Have Accelebrate deliver exactly the training you want, privately at your site or online, for less than the cost of a public class.

For pricing and to learn more, please contact us.

Contact Us Train For Us

Toll-free in US/Canada:
877 849 1850
International:
+1 678 648 3113

Toll-free in US/Canada:
866 566 1228
International:
+1 404 420 2491

925B Peachtree Street, NE
PMB 378
Atlanta, GA 30309-3918
USA

Subscribe to our Newsletter:

Never miss the latest news and information from Accelebrate:

Microsoft Gold Partner

Please see our complete list of
Microsoft Official Courses

Recent Training Locations

Alabama

Huntsville

Montgomery

Birmingham

Alaska

Anchorage

Arizona

Phoenix

Tucson

Arkansas

Fayetteville

Little Rock

California

San Francisco

Oakland

San Jose

Orange County

Los Angeles

Sacramento

San Diego

Colorado

Denver

Boulder

Colorado Springs

Connecticut

Hartford

DC

Washington

Florida

Fort Lauderdale

Miami

Jacksonville

Orlando

Saint Petersburg

Tampa

Georgia

Atlanta

Augusta

Savannah

Idaho

Boise

Illinois

Chicago

Indiana

Indianapolis

Iowa

Ceder Rapids

Des Moines

Kansas

Wichita

Kentucky

Lexington

Louisville

Louisiana

Banton Rouge

New Orleans

Maine

Portland

Maryland

Annapolis

Baltimore

Hagerstown

Frederick

Massachusetts

Springfield

Boston

Cambridge

Michigan

Ann Arbor

Detroit

Grand Rapids

Minnesota

Saint Paul

Minneapolis

Mississippi

Jackson

Missouri

Kansas City

St. Louis

Nebraska

Lincoln

Omaha

Nevada

Reno

Las Vegas

New Jersey

Princeton

New Mexico

Albuquerque

New York

Buffalo

Albany

White Plains

New York City

North Carolina

Charlotte

Durham

Raleigh

Ohio

Canton

Akron

Cincinnati

Cleveland

Columbus

Dayton

Oklahoma

Tulsa

Oklahoma City

Oregon

Portland

Pennsylvania

Pittsburgh

Philadelphia

Rhode Island

Providence

South Carolina

Columbia

Charleston

Spartanburg

Greenville

Tennessee

Memphis

Nashville

Knoxville

Texas

Dallas

El Paso

Houston

San Antonio

Austin

Utah

Salt Lake City

Virginia

Richmond

Alexandria

Arlington

Washington

Tacoma

Seattle

West Virginia

Charleston

Wisconsin

Madison

Milwaukee

Alberta

Edmonton

Calgary

British Columbia

Vancouver

Nova Scotia

Halifax

Ontario

Ottawa

Toronto

Quebec

Montreal

Puerto Rico

San Juan

© 2013-2019 Accelebrate, Inc. All Rights Reserved. All trademarks are owned by their respective owners.