Jump to content

How to package up your mod to a jar - TUTORIAL


Koopamillion

Recommended Posts

This is a short and simple tutorial on how to package/export your mod into a jar file.

 

1. Fill in your mcmod.info file (OPTIONAL) You can find it in src/main/resources.

 

2. Go into your file where your: .gradle, .settings, bin and more is stored.

 

3. Create a text file called "Build".

 

4. Save the text file as "Build.bat".

 

5. Edit the "Build.bat" in a text editor, e.g notepad.

 

6. Type: gradlew build

 

7. Run it.

 

8. When it is finished, go into: build/libs and... there you go!

 

----

 

When you need to release it again, simply run Build.bat.

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Unfortunately, your content contains terms that we do not allow. Please edit your content to remove the highlighted words below.
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Announcements



×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use.