Package Details: mindustry-server 1:6.0_120.3-1

Git Clone URL: https://aur.archlinux.org/mindustry.git (read-only, click to copy)
Package Base: mindustry
Description: Server of a sandbox tower defense game written in Java
Upstream URL: https://github.com/Anuken/Mindustry
Licenses: GPL3
Submitter: dmitmel
Maintainer: dmitmel
Last Packager: dmitmel
Votes: 18
Popularity: 4.76
First Submitted: 2019-10-10 21:43
Last Updated: 2020-12-02 23:48

Dependencies (5)

Required by (0)

Sources (5)

Latest Comments

1 2 3 Next › Last »

dmitmel commented on 2020-10-17 15:00

jakyote: Thanks for mentioning. Have fixed in pkgrel 2.

jakyote commented on 2020-10-17 14:55

Current settings.gradle specifies Java must be 14 or above but the pkgbuild only requires Java>=8

grandchild commented on 2020-09-16 15:55

Won't solve it myself today. I'll try again tomorrow.

grandchild commented on 2020-09-16 14:49

It doesn't. I'm looking into it, building from git source. I have done a lot of Gradle in the past, so I'm able to look into it myself.

I also noticed that 6.0-105 is still marked as alpha... so maybe it's not ready to update yet. If others start complaining too, maybe it was too early. If it stays just me, then I hope I can figure it out. :)

dmitmel commented on 2020-09-16 12:56

grandchild: Does compilation work now? If not: can you build Mindustry from source using the instructions on its homepage?

grandchild commented on 2020-09-16 10:44

Hey there, I'm getting an error during build, about some Android SDK license not being accepted. I do have Android Studio installed, maybe it's detecting something?

$ archlinux-java get
java-11-openjdk

I'm curious why it would try and build the android app anyway...

Here's the error (with some usual generic Gradle error stuff removed):

==> Starting build()...
[...]
> Configure project :
Compiling with build: '105'

> Configure project :android
No keystore info property found!
File /home/[me]/.android/repositories.cfg could not be loaded.
Checking the license for package Android SDK Build-Tools 29.0.3 in /opt/android-sdk/licenses
Warning: License for package Android SDK Build-Tools 29.0.3 not accepted.
Checking the license for package Android SDK Platform 29 in /opt/android-sdk/licenses
Warning: License for package Android SDK Platform 29 not accepted.

FAILURE: Build failed with an exception.

* What went wrong:
A problem occurred configuring project ':android'.
> Failed to install the following Android SDK packages as some licences have not been accepted.
     build-tools;29.0.3 Android SDK Build-Tools 29.0.3
     platforms;android-29 Android SDK Platform 29
  To build this project, accept the SDK license agreements and install the missing components using the Android Studio SDK Manager.
  Alternatively, to transfer the license agreements from one workstation to another, see http://d.android.com/r/studio-ui/export-licenses.html

  Using Android SDK: /opt/android-sdk

[...]

BUILD FAILED in 7s
==> ERROR: A failure occurred in build().
    Aborting...

dmitmel commented on 2020-03-10 14:08

@Daniel071 If you find a way to programmatically download releases from itch.io - please tell me, I don't know how to do this. The link is updated and has an expiration date and a unique token. Also, releases from itch.io don't contain the source code, so you submitted an out-of-date request to a wrong package (more appropriate would be mindustry-bin or mindustry-server-bin). GitHub repository doesn't contain tags for v104.5, so I can't build it from source either in this package. If you want the latest version - try mindustry-git.

dmitmel commented on 2020-01-03 16:03

@vasya @Corubba I can't replicate the error you get, although I added some code to find and select a compatible JDK nevertheless. Sorry for a late response, it's holidays after all.

vasya commented on 2020-01-01 17:55

Generally it's a mess I think, no really good solution. Something that would "mostly" work is:

export PATH="/usr/lib/jvm/java-8-openjdk/jre/bin/:$PATH"
export PATH="/usr/lib/jvm/java-9-openjdk/jre/bin/:$PATH"
export PATH="/usr/lib/jvm/java-10-openjdk/jre/bin/:$PATH"
export PATH="/usr/lib/jvm/java-11-openjdk/jre/bin/:$PATH"
export PATH="/usr/lib/jvm/java-12-openjdk/jre/bin/:$PATH"
./gradlew ...args...

the app itself is runnable on jre-13, just checked.

Unfortunately I do not know any way to even pin specific version, like 8, without also specifying that it should be openjdk specifically.

dmitmel commented on 2020-01-01 01:10

vasya, could you please provide an example script which selects JRE on Arch based on its version?