Closed daominah closed 8 months ago
Building with gradle should be as simple as
on Linux
./gradlew build
Or
gradlew.bat build
in windows
Building with gradle should be as simple as on Linux
./gradlew build
Orgradlew.bat build
in windows
This actually only creates small version, which apparently does not work, unlike -all version in release
I found the solution
./gradlew shadowJar
builds *-all jar
Thank you @valid-var for your answer. And yes, it's the correct one. You should use ./gradlew shadowJar
to build.
I am trying to update the code to use an APIKey instead of Authorization username password. I not familiar with Kotlin, Gradle or Java, I can edit some lines of code but how to build a jar file is completely new for me. It would be very nice if you can add a Dockerfile that build jar files from sources. I try to do it like the following Dockerfile but only got "keycloak-webhook-0.4.0.jar", missing ""keycloak-webhook-0.4.0-all.jar"".