From 2f77241c303363ba640de20ba9f473ff4730338f Mon Sep 17 00:00:00 2001 From: Kristof Dhondt Date: Mon, 31 Jan 2022 18:20:16 +0100 Subject: [PATCH 1/2] add 'linkerArgs' config option --- src/main/java/com/gluonhq/NativeBaseMojo.java | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/src/main/java/com/gluonhq/NativeBaseMojo.java b/src/main/java/com/gluonhq/NativeBaseMojo.java index fcdb4cd..00b46aa 100644 --- a/src/main/java/com/gluonhq/NativeBaseMojo.java +++ b/src/main/java/com/gluonhq/NativeBaseMojo.java @@ -113,6 +113,9 @@ public abstract class NativeBaseMojo extends AbstractMojo { @Parameter(property = "gluonfx.nativeImageArgs") List nativeImageArgs; + @Parameter(property = "gluonfx.linkerArgs") + List linkerArgs; + @Parameter(property = "gluonfx.runtimeArgs") List runtimeArgs; @@ -195,6 +198,7 @@ private ProjectConfiguration createSubstrateConfiguration() { clientConfig.setResourcesList(resourcesList); clientConfig.setJniList(jniList); clientConfig.setCompilerArgs(nativeImageArgs); + clientConfig.setLinkerArgs(linkerArgs); clientConfig.setRuntimeArgs(runtimeArgs); clientConfig.setReflectionList(reflectionList); clientConfig.setAppId(appIdentifier != null ? appIdentifier : From 71cdcc123edcd9c44202dc655887c1d8f6aa2ab5 Mon Sep 17 00:00:00 2001 From: Kristof Dhondt Date: Tue, 1 Feb 2022 09:28:12 +0100 Subject: [PATCH 2/2] update copyright year --- src/main/java/com/gluonhq/NativeBaseMojo.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/main/java/com/gluonhq/NativeBaseMojo.java b/src/main/java/com/gluonhq/NativeBaseMojo.java index 00b46aa..dc43904 100644 --- a/src/main/java/com/gluonhq/NativeBaseMojo.java +++ b/src/main/java/com/gluonhq/NativeBaseMojo.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2019, 2021, Gluon + * Copyright (c) 2019, 2022, Gluon * All rights reserved. * * Redistribution and use in source and binary forms, with or without