Jump to content

(Finally Solved)Can someone show me a tutorial on how to add llibrary in eclipse for 1.10.2


Recommended Posts

Posted (edited)

You can specify your dependencies in the build.gradle. The default one from the Forge MDK has a section with some examples.

https://github.com/MinecraftForge/MinecraftForge/blob/1.11.x/mdk/build.gradle#L36

Here's a line from Jurrassicraft 2's build.gradle

https://github.com/gegy1000/JurassiCraft2/blob/master/build.gradle#L37

Please note that you will also probably need to add the maven information for this to your build gradle too.

 

https://github.com/gegy1000/JurassiCraft2/blob/master/build.gradle#L30

 

That will get you to the point where you can compile code, however for your jar file to work properly in the wild you will need to add LLibrary as a dependency to your mod. 

 

There is an example on this page. You need specify the version you are compiling against. 

https://minecraft.curseforge.com/projects/llibrary

 

Understanding how versioning works at times like this comes in handy too. Please take a look at this: http://semver.org/

 

Sorry for all the links.

 

Edited by Aeronica
  • 10 months later...
Posted
On 3/30/2017 at 8:01 PM, Aeronica said:

You can specify your dependencies in the build.gradle. The default one from the Forge MDK has a section with some examples.

https://github.com/MinecraftForge/MinecraftForge/blob/1.11.x/mdk/build.gradle#L36

Here's a line from Jurrassicraft 2's build.gradle

https://github.com/gegy1000/JurassiCraft2/blob/master/build.gradle#L37

Please note that you will also probably need to add the maven information for this to your build gradle too.

 

https://github.com/gegy1000/JurassiCraft2/blob/master/build.gradle#L30

 

That will get you to the point where you can compile code, however for your jar file to work properly in the wild you will need to add LLibrary as a dependency to your mod. 

 

There is an example on this page. You need specify the version you are compiling against. 

https://minecraft.curseforge.com/projects/llibrary

 

Understanding how versioning works at times like this comes in handy too. Please take a look at this: http://semver.org/

 

Sorry for all the links.

 

Sorry for necroing but if I rerun the gradlew setupdecompworkspace with the llibrary dependencies in the build file, does that automatically download the files of LLibrary.

Posted

It's been a while since I've used LLIbrary, but as long as the maven and dependency options, version, etc., are correct, the specified version of LLiibrary will be downloaded to your development environment when you setup the workspace again. i.e. gradlew setupdecompworkspace 

 

Posted
4 hours ago, Aeronica said:

It's been a while since I've used LLIbrary, but as long as the maven and dependency options, version, etc., are correct, the specified version of LLiibrary will be downloaded to your development environment when you setup the workspace again. i.e. gradlew setupdecompworkspace 

 

But on my gradlew setupdecompworkspace command prompt it shows an error saying Could not resolve net.Ilesiconn.llibrary 1.7.9 -1.12

also the maven site is down

Posted (edited)
3 hours ago, Aeronica said:

gegy1000 is now hosting the LLibrary dev files at a different maven. He needs to update the documentation.

Change the maven to https://maven.mcmoddev.com

e.g.


repositories {
	mavenCentral()
	maven {
		url = "https://maven.mcmoddev.com"
	}
}

 

Hi I solved this manually, I just created a folder called libs and add LLibrary:dev jar in there and rerun gradlew setupdecompworkspace idea or eclipse and add the sources as a folder in there after running the command.

Edited by TheRPGAdventurer

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.