kozmoz / atag-one-api

ATAG ONE API
MIT License
18 stars 3 forks source link

Compile to native binary #38

Open ghokun opened 4 months ago

ghokun commented 4 months ago

Hallo @kozmoz !

I also have to endure this ugly thermostat, but thanks to your amazing project, at least I can have some fun while doing so.

In this fork, I bumped to JDK21 and added a native compilation step (POC for now, will polish soon).

Following command builds ./target/atag-one

mvn -Pnative package -DskipTests

It runs perfect!

Screenshot 2024-07-24 at 22 04 21
kozmoz commented 4 months ago

My Java knowledge is getting a bit rusty, will dive into the native compilation part.

Yes you can use the code and the compiled binary as you want.

Thanks for the contribution!