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. (by johnrengelman)
rules_kotlin
Bazel rules for Kotlin (by bazelbuild)
Our great sponsors
shadow | rules_kotlin | |
---|---|---|
15 | 6 | |
3,553 | 325 | |
- | 1.5% | |
0.0 | 8.7 | |
6 days ago | 4 days ago | |
Groovy | Kotlin | |
Apache License 2.0 | Apache License 2.0 |
The number of mentions indicates the total number of mentions that we've tracked plus the number of user suggested alternatives.
Stars - the number of stars that a project has on GitHub. Growth - month over month growth in stars.
Activity is a relative number indicating how actively a project is being developed. Recent commits have higher weight than older ones.
For example, an activity of 9.0 indicates that a project is amongst the top 10% of the most actively developed projects that we are tracking.
Stars - the number of stars that a project has on GitHub. Growth - month over month growth in stars.
Activity is a relative number indicating how actively a project is being developed. Recent commits have higher weight than older ones.
For example, an activity of 9.0 indicates that a project is amongst the top 10% of the most actively developed projects that we are tracking.
shadow
Posts with mentions or reviews of shadow.
We have used some of these posts to build our list of alternatives
and similar projects. The last one was on 2022-05-11.
-
JavaFX Window Icon Not Stacking in Taskbar
So: I am making a JavaFX application to act as a remote console for my server. I'm the only person that will have a copy of it, so it doesn't need to be snazzy or 100% efficient. I have turned the project into a jar via ShadowJar, turned that into an EXE via Launch4j, and yesterday turned that into an installer via Inno.
- Help building fat jar of ktor server
-
Unable to launch generated jar file for deployment; unable to use packr
I’ve never tried this and I I’m not libgdx expert, but you can try running a Uber jar with shadow. it’s the Gradle equivalent of the shade plug-in for maven builds.
-
How to avoid having Java w/Maven pick the wrong dependencies
When you get into a situation where you need to sandbox a dependency within another, including this example, where you want each of your dependencies to get its own unique instance of their dependency, you can "shadow" the dependency that is to be sandboxed this way. Look into https://github.com/johnrengelman/shadow.
-
Apache Commons in my mod
Try using the shadow plugin for gradle https://github.com/johnrengelman/shadow
-
Gradle shadowJar gives a warning or doesn't apply
and also apparently, it's a problem with shadowJar itself https://github.com/johnrengelman/shadow/issues/713
-
Week of Java: Part 2: Setting Up Your Local Development Environment
Behind the scenes, Shadow creates a FatJar with all the things we may need in the future.
-
Week of Java: Part 1: Setting Up the Project
Note: **According to Serverless documentation you can use the command **serverless deploy -v. However, with Java-based-projects that’s not true because it needs to create a Fatjar with all the needed requirements (so the command will fail). By default, Serverless will set **shadow** as a dependency in the gradle file for those purposes. The deploy command will generate a build file called -all.jar that is the one that’s going to be uploaded to the AWS Lambda function.
-
Apache Spark, Hive, and Spring Boot — Testing Guide
The result .jar is going to submitted to Apache Spark cluster (e.g. spark-submit command). So, it should contain all runtime artefacts. Unfortunately, the standard Spring Boot packaging does not put the dependencies in the way Apache Spark expects it. So, we'll use shadow-jar Gradle plugin. Take a look at the example below.
-
How do you cope with the monstrosity that is Gradle?
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?
rules_kotlin
Posts with mentions or reviews of rules_kotlin.
We have used some of these posts to build our list of alternatives
and similar projects. The last one was on 2022-04-01.
-
rules_kotlin, how to pass kotlin compiler options?
But code says otherwise.
-
How do you cope with the monstrosity that is Gradle?
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.
- Kotlin for JavaScript
-
How do you do CI for linting / code inspection for Kotlin code? For example, Intellij IDEA's "code inspection"?
We use rules_kotlin which has rules for running ktlint.
- Lightweight build alternatives to Gradle / Maven
-
[XP Sharing] Have you ever worked on a project with the Bazel build tool instead of Gradle?
Yeah, you can read about it here. 2 minor inline usage issue exists but we were able to circumvent it will trivial syntax fixes.
What are some alternatives?
When comparing shadow and rules_kotlin you can also consider the following projects:
jib - 🏗 Build container images for your Java applications.
gradle-jooq-plugin - Gradle plugin that integrates jOOQ.
Aerospike - Aerospike Database Server – flash-optimized, in-memory, nosql database
stm32h7xx-hal - Peripheral access API for STM32H7 series microcontrollers
MetaView - A tool to parse Kotlin code into UML diagrams
Gant - The Gant Mainline
jpkg - Lightweight JVM packaging plugin for Gradle
pre-commit-jvm - A collection of git hooks for the JVM to be used with the pre-commit framework.
ts-generator - Generate TypeScript definitions from Kotlin/Java/JVM classes
emulambda
image