Package Details: mindustry-server 1:7.0_141.3-1

Git Clone URL: (read-only, click to copy)
Package Base: mindustry
Description: Server of a sandbox tower defense game written in Java
Upstream URL:
Licenses: GPL3
Submitter: dmitmel
Maintainer: dmitmel
Last Packager: dmitmel
Votes: 27
Popularity: 0.034855
First Submitted: 2019-10-10 21:43 (UTC)
Last Updated: 2023-01-22 18:28 (UTC)

Dependencies (6)

Required by (0)

Sources (5)

Latest Comments

1 2 3 4 Next › Last »

ahmubashshir commented on 2022-12-09 15:10 (UTC) (edited on 2022-12-09 15:12 (UTC) by ahmubashshir)

It also builds with 'java-environment=17' or this patch

diff --git a/PKGBUILD b/PKGBUILD
index 4fb5089..a15ec83 100644
@@ -61,6 +61,7 @@ build() {
   # Android app here.
   # <>
+  sed -i '/distributionUrl/s/7\.5\.1/7.6-milestone-1/' gradle/wrapper/

   ./gradlew --no-daemon dist -Pbuildversion="${_build}" desktop:dist server:dist

nokdus commented on 2022-11-14 01:44 (UTC)

@Newk-B I added to PKGBUILD after build()

build() {
  cd "${_repo_name}-${_build}"

cat << EOF > gradle/wrapper/

Newk-B commented on 2022-11-14 00:20 (UTC) (edited on 2022-11-14 00:38 (UTC) by Newk-B)

@nokdus: Thank you for that solution! I could build this package now two times with that, on version 140.3 and 140.4.

As i am on Manjaro and using Pamac to build, install and maintain these AUR packages i had to: modify the downloaded *.tar.gz the way you describe it. And then point out it's location in the PKGBUILD file that is in Pamac's build directory instead of the download URL, like so:


(the top sha256sum regenerated after i modified the .tar.gz)

I can imagine it is not an easy task to make a PKGBUILD script in such a way that it reproduces all these steps automaticly.

nokdus commented on 2022-11-06 08:43 (UTC) (edited on 2022-11-06 14:47 (UTC) by nokdus)

Current gradle version does not support java 19, I was able to build only by changing the gradle version to

in file gradle/wrapper/


Henry-ZHR commented on 2022-11-01 23:50 (UTC)

openjdk version "19.0.1" 2022-10-18
OpenJDK Runtime Environment (build 19.0.1+10)
OpenJDK 64-Bit Server VM (build 19.0.1+10, mixed mode)

dmitmel commented on 2022-11-01 12:43 (UTC)

Henry-ZHR: What version of Java are you using?

Henry-ZHR commented on 2022-11-01 12:35 (UTC)

Fail to build

FAILURE: Build failed with an exception.

* What went wrong:
Could not open settings generic class cache for settings file '/home/zhr/.cache/yay/mindustry/src/Mindustry-140/settings.gradle' (/home/zhr/.gradle/caches/7.5.1/scripts/clf09az73rlspqa616etzu9h7).
> BUG! exception in phase 'semantic analysis' in source unit '_BuildScript_' Unsupported class file major version 63

pescepalla commented on 2022-08-01 17:17 (UTC)

If anyone is having trouble running it on Wayland, this works for me:

env SDL_VIDEODRIVER=x11 mindustry

VinceUB commented on 2022-03-22 07:34 (UTC)

Building fails if the default JDK is JDK 11. My solution was to set the JAVA_HOME env var to JDK 17.

dmitmel commented on 2022-01-26 22:08 (UTC)

t-8ch: Fair.