api / org.gradle.kotlin.dsl / SettingsScriptApi / uri

uri

fun uri(path: Any): URI

Resolves a file path to a URI, relative to this script's target base directory.

Evaluates the provided path object as described for KotlinSettingsScript.file, with the exception that any URI scheme is supported, not just file: URIs.