Adding a property on a NamedDomainObjectContainer created by project.container()?


(Daryl Teo) #1

Is there any way we can append properties onto a NamedDomainObjectContainer created through project.container()?

I would like something along the lines of this

deployments {
  version '1.0.0'
    deployment {
    version '1.0.1' // overriding the container's version
  }
}

Thanks!