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.
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 importsOption
from the old location will be used.