See the requirements.
Build the frontend files (optional)
./builder.bash build-frontend
Build and run the program
$ ./gradlew clean build compTest shadowJar -i
$ java -jar dns-proxy-server-*-all.jar
Generated possible necessary metadata
./gradlew clean -Pagent compTest
./gradlew metadataCopy
Generate the binary
$ ./gradlew -x check clean build nativeIntTest nativeImageJar nativeCompile
$ ./build/native/nativeCompile/dns-proxy-server