Calling a function declared in a third part gradle file from within the buildscript construct
问题 I;m porting to Grade Kotlin Script the following: buildscript { repositories { maven { url = URI("https://plugins.gradle.org/m2/") } } dependencies { apply(from = "https://raw.githubusercontent.com/i-net-software/SetupBuilder/master/scripts/SetupBuilderVersion.gradle") classpath("gradle.plugin.de.inetsoftware:SetupBuilder:" + setupBuilderVersion()) classpath "gradle.plugin.io.sdkman:gradle-sdkvendor-plugin:1.2.1" } } where setupBuilderVersion() is a function defined in SetupBuilderVersion