On GitHub <@U5PRSTPMY> wrote that there is an offi...
# dsl
m
On GitHub @StefMa wrote that there is an official way to do it - and it’s even part of the official Gradle docs (see https://docs.gradle.org/current/userguide/working_with_files.html#sec:creating_uber_jar_example):
Copy code
dependsOn(configurations.runtimeClasspath)
        from({
            configurations.runtimeClasspath.get().filter { it.name.endsWith("jar") }.map { zipTree(it) }
        })