This message was deleted.
# community-support
s
This message was deleted.
v
Sounds right
👍 1
Well, actually you can just check whether the extension is there, no need to check whether the plugin is applied
Except that has some additional meaning for your use-case
d
yeah I think I could just do
val javaApplicationExtension = project._extensions_.findByType(JavaApplication::class._java_)
v
Exactly
Or of course you wire the main class property from the extension to a property of your task.
d
yeah
so I'm thinking about exposing the prop in my extension but specify default convention (that reads it from
JavaApplication
)
👌 1