Is there a way to find out whether task was created or not? i.e. I lazily configure my tasks so they don't get created unless user actually sets them up - but it looks like I might need to add explicit dependencies on my tasks (if they got created) to the compile tasks. If I set the depends on block blindly then it would imply my tasks always get created even if end user don't configure/use them at all.
Better solution was provided in thread above