Gradle Plugins

Maintained by aalmiray

Summary

The plugin provides deployment capabilities for web applications to local and remote containers in any given Gradle build by leveraging the Cargo Ant tasks. The plugin supports WAR and EAR artifacts.

Website https://github.com/bmuschko/gradle-cargo-plugin
Author bmuschko
Version 1.1

Usage

buildscript {
    repositories { jcenter() }
    dependencies {
        classpath 'org.gradle.api.plugins:gradle-cargo-plugin:1.1'
    }
}

apply plugin: 'cargo'

You may define a specific cargo version using the cargo configuration, for example

repositories { jcenter() }
dependencies {
    String cargoVersion = '1.4.5'
    cargo "org.codehaus.cargo:cargo-core-uberjar:$cargoVersion",
          "org.codehaus.cargo:cargo-ant:$cargoVersion"
}