import org.akhikhl.gretty.FarmExtension

plugins {
    id("org.gretty") version "2.2.0"
}

// tag::delegateClosureOf[]
farms {
    farm("OldCoreWar", delegateClosureOf<FarmExtension> {
        // Config for the war here
    })
}
// end::delegateClosureOf[]
