dorongold / gradle-task-tree

Gradle plugin that adds a 'taskTree' task that prints task dependency tree
Apache License 2.0
857 stars 56 forks source link

Use official API Option class instead of deprecated internal one #22 #23

Closed mkordas closed 5 years ago

dorongold commented 5 years ago

In order to support both all gradle versions, I have implemented 2 classes, each uses uses a different import statement. In case a gradle version > 5 is being used, the class which imports Option from the new location will be used, otherwise a class that imports Option from the old location will be used.