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

Receive udp packets in android gstreamer -

php - Extract Text from HTTP referer -

matplotlib - PYTHON: Annotate boxes disapear dependant on range -