I'm trying to use Kotlin-DSL to write a Gradle build script in Kotlin. So far I've seen examples on how this can be done for a Java project. However since I'm developing a React Native app in Kotlin, there isn't any tutorials I've found for making one for Kotlin/JavaScript projects. So what would a basic Gradle script Kotlin file for such a purpose look like?
What would a basic Gradle script Kotlin file for a Kotlin JS project look like?
243 views Asked by Pavan P At
3
The official Gradle Kotlin DSL repository contains a basic Kotlin/JS sample: https://github.com/gradle/kotlin-dsl/tree/master/samples/hello-js