* chore: Update Gradle to 6.3
* fix: Java 13 ambigiuous method call
According to https://www.oracle.com/technetwork/java/13-relnote-issues-5460548.html#JDK-8218875
the `null` parameter should be cast to `Classloader` to solve this.
* chore(actions): Run with Java 14 in CI
Co-authored-by: Niruandaleth <jd.rueckert@googlemail.com>
* Full Liberica distribution is required for LibericaFX (javafx)
* Change default JVM arguments for the game
* Drop Linux 32-bit - there's no Liberica full build for it.
* Use gradle-with-sources for better code completion
Co-authored-by: DarkWeird <foxflameless@gmail.com>
Co-authored-by: Tobias Nett <skaldarnar@googlemail.com>
* update Gradle to 6.2.2
* use code metrics configuration from TeraConfig
* resolve checkstyleTest warnings
* disallow failures when checking with (build should fail if new Checkstyle warnings are
introduced)
* run `gradle check` on push validation
* Remove unused `createPatch` from `build.gradle`
Although we want to have automatic launcher updates, preferably with
some way to update by patching, the current approach is outdated and
would need adaption for multi-platform builds.
Removing it now, but maybe we can salvage some bits and pieces later.
* Move `createRelease` task to `config/gradle/jre.gradle`
This task is merged with `allDistZip` as they shared the same purpose.
The corresponding release Github Action is also updated to use
`gradlew createRelease` instead.
Signed-off-by: Tobias Nett <skaldarnar@googlemail.com>
This action triggers when a release is published (Github event). The tagged commit is checked out and all assets are build using `gradlew allDistZip`.
This builds the zip bundles for all platforms we currently supports.
The resulting assets are uploaded to the release, where they can be downloaded by users.
Adds the [`release-drafter` action](https://github.com/release-drafter/release-drafter) to this repository.
It listens on PRs merged to `master` and updates a _draft release_ based on the changes.
If a PR has the label `Topic: CI/CD` when being merged it will be excluded from the draft changelog.