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

php - Wordpress website dashboard page or post editor content is not showing but front end data is showing properly -

javascript - Get parameter of GET request -

javascript - Twitter Bootstrap - how to add some more margin between tooltip popup and element -