bladecoder / bladecoder-adventure-engine

Classic point and click adventure game engine and editor
Apache License 2.0
603 stars 65 forks source link

Update gradle version to the 4.10.2 #40

Closed danigm closed 6 years ago

danigm commented 6 years ago

Trying to update the flathub package to use the openjdk11, https://github.com/flathub/com.bladecoder.adventure-editor/pull/2, I've found a problem with the gradle version, I'm having this error:

could not determine java version from '11.0.1'.

This is a problem with the gradle version, and it seems that a newer version is needed. This patch solves that problem and make it work with the openjdk11.

This is a problem for existing projects, because the auto update doesn't update the gradle wrapper in the existing projects, maybe that should be done in the version update inside the app.