I think bootRun task is a JavaExec task which forks a VM
That does not inherit the Gradle SystemProperties. In this case I have
to say you need to customize your bootRun task in your build.gradle file.
On 3/25/21 6:50 AM, Thomas Kellerer wrote:
Hmm...
I added
-Dsomeprop=somevalue
int
Hmm...
I added
-Dsomeprop=somevalue
into the "Run action" so the initial "bootRun" became:
-Dsomeprop=somevalue bootRun
but inside the application System.getProperty("someprop") returns null.
What am I missing here?
Thomas Kellerer schrieb am 24.03.2021 um 07:20:
> Thanks.
>
> Mark
Thanks.
Mark A. Flacy schrieb am 22.03.2021 um 17:08:
> Right-click on the project in the Projects window, open the Project
> Properties. Look for Build -> Build Actions.
>
>
> On Monday, March 22, 2021 10:14:18 AM CDT Thomas Kellerer wrote:
>> Hello,
>>
>> is it possible to define specific JVM a
Right-click on the project in the Projects window, open the Project
Properties. Look for Build -> Build Actions.
--
Mark A. Flacy
mfl...@verizon.net
On Monday, March 22, 2021 10:14:18 AM CDT Thomas Kellerer wrote:
> Hello,
>
> is it possible to define specific JVM arguments (-Dxxx=...) that
Hello,
is it possible to define specific JVM arguments (-Dxxx=...) that should be used
by Gradle when running (or testing) an application?
I do not want to modify build.gradle as those would be environment specific
settings, which should not be stored in the Git reposiotry.
When I do it on the