Create

Create

86M Downloads

issue with compiling 1.16 dev into a jar file

dragontuar opened this issue ยท 11 comments

commented

been looking up online for info on how to compile the mod into its jar file pls point to info on how or put a guide in the readme or separate txt file

commented

Should be gradlew build on command prompt or ./gradlew build on a Unix terminal (in directory of project). Jar is put into /build/libs.

Most advisable way to get the jar would be to wait for the beta releases.

commented

Or just be patient and wait until the release

commented

Make sure to use Java version 1.8 to compile the mod

commented

I get the gist of it but I get the unrecognized command for the normal gradlew build but not the .\gradlew build (btw windows 10pro OS) but can't initialize a file class called org.codehaus.groovy.reflection.ReflectionCache

commented

I am using java 1.8 and have visual studio code that has the extensions that will support java and with the folder open run powershell from there and then throws the initialize error

commented

I also have issues with building this, and I'm curious as to what exactly the process is. Surely, the devs wouldn't be able to do anything without development builds, so there must be something we're missing.

commented

Well when this issue came up I decided to try it myself. I imported the project through Intellij and ran the same task as mentioned above and it built fine. Perhaps it only works when compiling through Intellij for whatever reason (such as if the build.gradle expects to be in a dev environment).

commented

I have a fix that will solve all of your problems: just wait until the release, it won't be much longer.

commented

Absolutely agree. There's no point running the development version unless you are beta testing for it (ForgeCraft for example).

commented

I have a fix that will solve all of your problems: just wait until the release, it won't be much longer.

@SpottyTheTurtle When it comes to playing it, you are more than correct. It is, however, important to be able to properly build it for contributors.

commented

@SpottyTheTurtle When it comes to playing it, you are more than correct. It is, however, important to be able to properly build it for contributors.

Yes, I acknowledge that fact but the person who originally made this post did not mention anything about contributing, more just a "1.16 plz now" sort of thing.