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

Popular posts from this blog

authentication - Mongodb revoke acccess to connect test database -

r - Update two sets of radiobuttons reactively - shiny -

ios - Realm over CoreData should I use NSFetchedResultController or a Dictionary? -