How to define Global Variables within Scripts, i.e. "on the fly"?

Depencencies to external jar files can be resolved by com.katalon.gradle-plugin. Have a look at the following topic: