Can't build jar using Intellij

This page summarizes the projects mentioned and recommended in the original post on /r/Kotlin

Our great sponsors
  • WorkOS - The modern identity platform for B2B SaaS
  • InfluxDB - Power Real-Time Data Analytics at Scale
  • SaaSHub - Software Alternatives and Reviews
  • 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.

  • But sometimes we need to distribute the application as a single executable JAR file. This solution has some drawbacks, but if for some reason you prefer this, I still recommend using a dedicated plugin, e.g.: https://github.com/johnrengelman/shadow

  • jib

    🏗 Build container images for your Java applications.

  • Also, you can look at jib-gradle-plugin. This is a plugin from Google for creating Docker images with Java applications. It is easy to use, you don't even need to create Dockerfile, it runs much faster than docker build and the resulting image is layered in a smart way.

  • 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.

    WorkOS logo
NOTE: The number of mentions on this list indicates mentions on common posts plus user suggested alternatives. Hence, a higher number means a more popular project.

Suggest a related project

Related posts