-
Notifications
You must be signed in to change notification settings - Fork 8
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Building from source fails #114
Comments
Which gradle version are you using? It might be better to use the wrapper via Keep in mind, that the build goal will likely not result in any useful binary to you. The relevant goals are If you're trying to build a JVM image as opposed to a native one, you may look at Jib for the necessary goals. You can reference the pipeline to see how I build the image that's published here. Specifically, if you want to run this application as a native Linux service inside an LXC, you may wanna look executable jars. This guide covers how to run it as a service. |
Sorry for the mistake, I was using Also, I am indeed wanting to build a native Linux service in an LXC. I saw that only Docker is being released officially, and anything else needs to be compiled from source, as far as I understood. |
Make sure you're using Temurin JDK 23 and Gradle 8.10+ then. |
I am trying to build Janitorr from source (v1.6.9), but I seem to get the following issue when running
./gradle build
.This is what I get with
--stacktrace --info
args when running./gradle build
:Any ideas what could be the issue here? I might just be missing something.
Using OpenJDK22 on AMD64 Debian 12 machine in an LXC.
My application.yml file looks like this:
$<variable>
are placeholder values that are replaced with actual values in application.ymlThe text was updated successfully, but these errors were encountered: