Skip to content
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

Update build #1

Open
wants to merge 1 commit into
base: main
Choose a base branch
from
Open

Update build #1

wants to merge 1 commit into from

Commits on Nov 29, 2022

  1. Update build

    This commit switches from Maven to Gradle for building the project.
    It makes the instructions simpler, by using Gradle plugins:
    
    - the `application` plugin exposes the `run` method directly for the
    JVM version, without having to explain to grow the stack size
    - the official GraalVM native plugin exposes the `nativeCompile`
    and `nativeRun` tasks, respectively for building the native image
    and executing it
    
    In addition, this commit switches from using Java 19 to Java 11.
    The underlying reason is a [bug](oracle/graal#4594 (comment))
    which prevents building the native image under Linux with AWT,
    with more recent versions of Java.
    
    Native configuration has been moved to the conventional
    `src/main/resources/META-INF/native-image` location. Although
    this isn't required for the JVM version, it simplifies the setup
    of the build.
    melix committed Nov 29, 2022
    Configuration menu
    Copy the full SHA
    efb11dc View commit details
    Browse the repository at this point in the history