This is how I call one of my scripts ``` ...
# gradle
c
This is how I call one of my scripts
Copy code
def buildCommand = "kotlinc -script \'$scriptPath\'"
                     println("Kotlinc build command: $buildCommand")
                     if (Os.isFamily(Os.FAMILY_WINDOWS)) {
                         args "/c", buildCommand
                     } else {
                         args "-c", "\"$buildCommand\""
                     }