# Nested extension plugin written in Java

**URL:** <https://discuss.gradle.org/t/nested-extension-plugin-written-in-java/22264>\
**Category:** Help/Discuss\
**Tags:** plugins\
**Created:** [April 7, 2017, 3:01pm UTC](https://discuss.gradle.org/t/nested-extension-plugin-written-in-java/22264 "2017-04-07T15:01:31Z")\
**Posts on this page:** 1\
**Showing post:** 10

<div class="post-metadata">

**Author:** ![st\_oehme](https://sea1.discourse-cdn.com/gradle/user_avatar/discuss.gradle.org/st_oehme/32/5249_2.png) [@st\_oehme](https://discuss.gradle.org/u/st_oehme)\
**Post date:** [April 10, 2017, 11:54am UTC](https://discuss.gradle.org/t/nested-extension-plugin-written-in-java/22264/10 "2017-04-10T11:54:55Z")

</div>

You can leave out the `Closure` overloads on objects created by Gradle, only the `Action` overloads are needed there. But if you create any object yourself using `new XYZ()`, they will not be enhanced.

---

_[View the full topic](https://discuss.gradle.org/t/nested-extension-plugin-written-in-java/22264)._
