api / org.gradle.api / Script / getBuildscript

getBuildscript

abstract fun getBuildscript(): ScriptHandler

Returns the script handler for this script. You can use this handler to manage the classpath used to compile and execute this script.

Return
the classpath handler. Never returns null.