Jump to content

Recommended Posts

Posted

Hey, i've been messing with player models in a new test mod, and i need to compile it to test if it works as intended,

I've used gradlew build in order to compile it, but it stops due to stuff related to switch of strings in 1.6,

 

Gradlew log:

http://pastebin.com/K1W35G9L

 

there was some information in other posts, but already tried and didnt work,

how do i solve this for 1.9?

Posted
  On 4/22/2016 at 8:29 PM, shadowfacts said:

You need to compile for Java 7 or higher. Add this to your

build.gradle

(tells Gradle to compile for Java 7):

 

sourceCompatibility = 1.7
targetCompatibility = 1.7

 

Thanks!

I added it under dependecies, worked like a charm

 

  Reveal hidden contents

 

  • Like 1
Guest
This topic is now closed to further replies.

Announcements



×
×
  • Create New...

Important Information

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