Hey there! I have a 100% Kotlin Project using Grad...
# dsl
m
Hey there! I have a 100% Kotlin Project using Gradle Kotlin DSL 1.1, and I want to create a jar that includes the Kotlin stdlib. I tried to follow the following blog article: https://medium.com/@preslavrachev/kotlin-basics-create-executable-kotlin-jars-using-gradle-d17e9a8384b9 My problem is to migrate this code (from Groovy) to Gradle Kotlin DSL:
Copy code
jar {
    from { configurations.compile.collect { it.isDirectory() ? it : zipTree(it) } }
}