O'Reilly logo

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

Effective Gradle Implementation

Video Description

Build, automate, and deploy your application using Gradle

About This Video

  • Setting up basic and multi-module Java projects

  • Learn more about the Gradle JavaScript plugin to build your own JavaScript projects

  • Familiarize yourself with Scala plugin support with available tasks, layout, setup, and dependencies

  • In Detail

    Gradle is a tool to create applications by automating the building, testing, publishing, and deployment phases of developing software. It is more flexible than Ant and has better dependency management than Maven, making it a very commonly used tool today.

    This course will show you how to use Gradle effectively and will help you overcome these issues with the build tool called Gradle. The authors, Ryan and Lee, will take the user from a point of having just a basic development background to being able to implement Gradle in a variety of languages, utilizing Gradle in some beneficial ways including continuous integration and artifact management.

    You will learn to build and deploy your code effectively. Gradle is quickly becoming the de facto build tool for Java, Groovy, C++, and other platforms, and is rapidly replacing Maven and Ant systems. Learn how to integrate your IDE, leverage Ant or Maven build assets, deploy artifacts, and integrate with continuous integration servers. You can follow along with step-by-step instructions for the most common IDEs, programming languages, and artifact servers to implement.

    You will leave the course feeling like you have a good handle on Gradle and confident to begin planning and building your implementation.

    Table of Contents

    1. Chapter 1 : Getting Started
      1. Introduction 00:02:28
      2. Prerequisites 00:00:24
      3. GVM to Manage Gradle Versions 00:02:56
      4. Manual Installation in Windows/Mac/Linux 00:06:07
      5. Installation Troubleshooting 00:05:26
      6. Gradle Installation Binaries 00:05:06
      7. Default Project Layout 00:01:29
      8. Gradle Wrapper 00:01:46
      9. Conclusion 00:00:23
    2. Chapter 2 : Gradle Tasks
      1. Introduction 00:00:54
      2. build.gradle 00:04:30
      3. A Taste of Groovy 00:03:05
      4. Dynamic Tasks 00:01:48
      5. Gradle Tasks API 00:02:43
      6. Using Ant Tasks 00:01:47
      7. Using DAG 00:04:04
    3. Chapter 3 : Java, Groovy, and WAR Plugins
      1. Introduction 00:00:25
      2. Java Plugin Tasks 00:03:09
      3. Hooking into Maven 00:05:31
      4. Testing 00:05:02
      5. Multimodule Java Projects 00:02:26
      6. Creating a Distribution 00:04:31
      7. Groovy Plugin Tasks 00:01:25
      8. Building a WAR 00:04:56
      9. Conclusion 00:00:27
    4. Chpater 4 : IDE Integration
      1. Introduction 00:00:16
      2. IntelliJ 00:03:16
      3. Eclipse 00:03:14
      4. NetBeans 00:03:08
      5. Conclusion 00:00:18
    5. Chapter 5 : Dependency Management
      1. Introduction 00:01:56
      2. Dependency Types 00:01:05
      3. Declaring Dependencies 00:02:35
      4. External Dependencies 00:04:19
      5. Publishing Artifacts 00:01:40
      6. Dependency Configurations 00:02:08
      7. Conclusion 00:00:27
    6. Chapter 6 : C++ Support
      1. Introduction 00:00:42
      2. Supported Platforms 00:00:46
      3. Plugins 00:02:36
      4. Libraries 00:02:02
      5. Executables 00:01:44
      6. Tasks 00:03:21
      7. Configuring on Linux/OSX/Windows 00:02:11
      8. External Dependencies 00:02:22
      9. Project Dependencies 00:02:01
      10. Publishing 00:03:08
      11. Native Support for Variants 00:02:35
    7. Chapter 7 : Building JavaScript (gradle-js-plugin)
      1. Introduction 00:01:30
      2. Specifying Your Sources 00:02:01
      3. Combining Your Sources 00:01:45
      4. JSHint 00:01:54
      5. JSDoc 00:02:19
      6. Props2JS 00:02:04
      7. RequireJS 00:02:28
      8. Gradle CSS Plugin 00:01:00
      9. Conclusion 00:00:45
    8. Chapter 8 : Building Scala
      1. Introduction 00:00:19
      2. Usage and Tasks 00:04:09
      3. Project Layout 00:01:22
      4. Compiler Setup/Incremental Compilation/Forked Execution 00:04:00
      5. Dependencies 00:01:16
      6. Fast Compiler Support 00:01:06
      7. Conclusion 00:00:20
    9. Chapter 9 : Continuous Integration Servers
      1. What Is Continuous Integration? 00:04:01
      2. The Jenkins/Hudson Plugin 00:06:35
      3. TeamCity 00:07:01
      4. Bamboo 00:03:00
      5. Conclusion 00:00:49
    10. Chapter 10 : Repository Managers
      1. Repository Managers 00:00:46
      2. What Is Repository Management? 00:05:30
      3. Artifactory 00:06:48
      4. Bintray 00:03:12
      5. Nexus 00:00:20