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 -

How to get the ip address of VM and use it to configure SSH connection dynamically in Ansible -

javascript - Get parameter of GET request -