gradle import dependency inside buildscript -
is possible add use import blocks inside buildscript?
for example if want implement logic inside buildscript
like
buildscript { repositories { if (utilclass.checkproject(project)) { ivy { } } else { maven { } } } }
but need import com.pack.project.utilclass
, far can seen cannot add import
inside buildscript
.
is there workaround (without introducing additional properties)?
Comments
Post a Comment