Thanks @jlleitschuh , is there a sample in the repo I can take a look at? Basically I would like to add some functions i kts file that will be called in build.gradle, (I am not trying to write a plugin/task. more of helper function that build script will use at build time)