3

I have created a Gradle plugin that has several custom task types. In order to use those task types in the build I need to explicitly import them. Is there a way to import those task classes automatically?

Andrey Adamovich
  • 20,285
  • 14
  • 94
  • 132

1 Answers1

4

As far as I know, adding implicit imports isn't a public feature at this time. What you can do is to provide a plugin that covers the main use cases so that it's rarely necessary to declare tasks explicitly.

Peter Niederwieser
  • 121,412
  • 21
  • 324
  • 259