Paste your build.gradle into the left box. The contents will then be converted from Groovy to the new Kotlin-based Gradle build file format in the right box. Use the output in a file named build.gradle.kts in your project.
Gradle Kotlinize is an online tool to convert Gradle Groovy to Kotlin kts format (convert build.gradle to build.gradle.kts)