// tag::use-ear-plugin[]
plugins {
    ear
}
// end::use-ear-plugin[]

repositories {
    mavenCentral()
}

dependencies {
    deploy(project(path = ":war", configuration = "war"))

    earlib("log4j:log4j:1.2.15@jar")
}
