Our great sponsors
-
WorkOS
The modern identity platform for B2B SaaS. The APIs are flexible and easy-to-use, supporting authentication, user identity, and complex enterprise features like SSO and SCIM provisioning.
-
shadow
Gradle plugin to create fat/uber JARs, apply file transforms, and relocate packages for applications and libraries. Gradle version of Maven's Shade plugin.
Personally I've found the complexity of Gradle not outweighed by its benefits so have migrated to Bazel instead with https://github.com/bazelbuild/rules_kotlin.
I've used gradle recently and I still find it a mess. Especially with differences between kotlin and groovy DSLs. For example, I recently tried to use jooq with kotlin dsl. Look at this plugin, go to the section where it shows the differences between kotlin and groovy: https://github.com/etiennestuder/gradle-jooq-plugin
I've writen many Kotlin+Gradle projects that produce jars without the shadow plugin. They're not fat, shaded, standalone executable jars though - is that what you need?
Related posts
- rules_kotlin, how to pass kotlin compiler options?
- How do you do CI for linting / code inspection for Kotlin code? For example, Intellij IDEA's "code inspection"?
- [XP Sharing] Have you ever worked on a project with the Bazel build tool instead of Gradle?
- Build native JVM binaries with Bazel: rules_graalvm
- Ko: Easy Go Containers