I\'ve created a new project in Android Studio and converted the gradle buildscript to use the kotlin dsl, like so:
build.gradle.kts (project)
buildscript {