api / org.gradle.api.initialization.dsl / ScriptHandler / getSourceURI

getSourceURI

abstract fun getSourceURI(): URI

Returns the URI for the script source, if any.

Return
The source URI. Returns null if the script source has no URI.