Hi, folks. Is there a way to get resources output ...
# plugin-development
g
Hi, folks. Is there a way to get resources output directory as
Provider<Directory>
from
SourceSet
? Legacy way was to use
sourceSet.getOutput().getResourcesDir()
. UPD: I totally missed that
ProjectLayout
has
#dir(Provider<File>)
method for such cases.
Something like
((ProjectInternal) project).getServices().get(FileFactory.class)
might work but it would use internals ,(