// START SNIPPET use-ear-plugin
apply plugin: 'ear'
// END SNIPPET use-ear-plugin

repositories {
    mavenCentral()
}

dependencies {
    deploy project(':war')

    earlib group: 'log4j', name: 'log4j', version: '1.2.15', ext: 'jar'
}