Problem with gradle ...

Nir Lisker nlisker at gmail.com
Thu Oct 31 14:03:43 UTC 2019


Yes, the wrapper will know to download the correct version. I updated the
build instructions page [1] to be more specific about the wrapper recently,
and there is another update coming soon due to a problem I recently
encountered with the buildsrc.

Run ./gradlew from the root folder of the project (or give it the full path
to it if you're not in the root folder).

[1]
https://wiki.openjdk.java.net/display/OpenJFX/Building+OpenJFX#BuildingOpenJFX-Gradle

On Thu, Oct 31, 2019 at 3:58 PM Jeanette Winzenburg <fastegal at swingempire.de>
wrote:

>
> Zitat von Nir Lisker <nlisker at gmail.com>:
>
> > Did you run the wrapper with gradlew or just gradle? The latter uses the
> > "global" version installed on the OS which might not be up to date (use
> > 'gradle --version' to check).
> >
>
>
> in my cygwin console I type:
>
> gradle
>
> and get the error message .. hmm ... so, yeah seems to be global
> version that's out of date.
>
> Are you saying that using gradlew (*cough - how exactly?) would keep
> the required version up-to-date?
>
> Thanks
> Jeanette
>
> > - Nir
> >
> > On Thu, Oct 31, 2019 at 3:41 PM Jeanette Winzenburg <
> fastegal at swingempire.de>
> > wrote:
> >
> >>
> >> .. fails (gradle run from cygwin console) with:
> >>
> >> * Where:
> >> Build file
> >> 'C:\Daten\data-for-work\eclipse\gitrep-openjdk\jfx-fork\build.gradle'
> >> line: 250
> >>
> >> * What went wrong:
> >> A problem occurred evaluating root project 'jfx-fork'.
> >> > FAIL: Gradle version too old: 4.10.2; must be at least 5.3
> >>
> >> which is rather clear in itself, but ... how to update? It seems to
> >> too nothing, not even list the tasks
> >>
> >> CU, Jeanette
> >>
> >>
> >>
> >>
>
>
>
>


More information about the openjfx-dev mailing list