shadow
jpkg
Our great sponsors
shadow | jpkg | |
---|---|---|
15 | 3 | |
3,553 | 5 | |
- | - | |
0.0 | 0.0 | |
7 days ago | almost 3 years ago | |
Groovy | Kotlin | |
Apache License 2.0 | MIT License |
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
-
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?
jpkg
-
Some Gradle plugins from my personal toolbox
JPKG
-
Automatic and seamless way to install a JVM when distributing app
I ended up writing a gradle plugin to act as a wrapper for the jpackage command, maybe it could be helpful: jpkg
-
How to create an exe from TornadoFx and Kotlin
I'm doing a couple projects in that stack right now and I've found the jpackage tool to be pretty ok, you just need to be using JDK14+. To that end I actually ended up writing my own gradle plugin to manage everything in one place, especially for use in a CI/CD pipeline and do deal with all the codesigning requirements for mac. It's still very new and untested, but here is the repo with how to use it. Hopefully it will help somewhat.
What are some alternatives?
jib - 🏗 Build container images for your Java applications.
badass-runtime-example-kotlin-tornadofx - Using the Badass Runtime Plugin with Kotlin and tornadofx
Aerospike - Aerospike Database Server – flash-optimized, in-memory, nosql database
MetaView - A tool to parse Kotlin code into UML diagrams
compose-samples - Official Jetpack Compose samples.
gradle-jooq-plugin - Gradle plugin that integrates jOOQ.
emulambda
aws-sam-local - CLI tool to build, test, debug, and deploy Serverless applications using AWS SAM [Moved to: https://github.com/aws/aws-sam-cli]
rules_kotlin - Bazel rules for Kotlin
serverless-sam - Serverless framework plugin to export AWS SAM templates for a service
serverless-localstack - Serverless Plugin for running against Atalssian Localstack.