Jump to content
Search In
  • More options...
Find results that contain...
Find results in...

[1.8][Scala]Unable to link scala mod with gradle


phenomena
 Share

Recommended Posts

Now I'm trying to write minecraft 1.8 mod with scala, but some problem occured while I'm trying to build jar with Gradlew.

·I'm in win10. No problem happend about it.

·I set the gradlew for eclipse, and in eclipse the mod works very well, every object is complied.

·I set the environment correctly, and the command scala and scalac works.

·When I try to build mod with gradlew, all the scala object is missed, and only java class was linked into the jar.

·But I find all the class from scala object in /bin/, and when I put them into jar by hand, the mod works correctly.

I think it is a small linking(or how you call it in java?) problem, and I hope you can repair the problem in the next gradlew version.

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
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.

 Share



×
×
  • Create New...

Important Information

By using this site, you agree to our Privacy Policy.