-
External Dependency does not work in Normal MC
Thank You! Thank you SO MUCH. I was so confused and you helped me figure it out -- and it wasn't easy either. Again, thank you. I will add you to the credit when I release the mod
-
External Dependency does not work in Normal MC
I do not know. The part of my code which is called by ccgit.init is here, perhaps it would be possible to modify in some way? Most of the Lua <> Java stuff is handled by CCTweaks, ComputerCraft, and LuaJ.
-
External Dependency does not work in Normal MC
Reproduction Steps: 1. Clone repo 2. gradlew build 3. Add ccgit-2.0-all to mods folder with CCTweaks and ComputerCraft. 4. Launch game using minecraft launcher 5. Place an advanced computer 6. Open Lua console. (type lua) 7. Attempt to create repository (type ccgit.init( 'test' )) 8. Observe Java Exception Thrown: java.lang.NoClassDefFoundError: org/slf4j/LoggerFactory 9. Attempt to open repository (type ccgit.open( 'test')) 10. Observe Java Exception Thrown: java.lang.NoClassDefFoundError: Could not initialize class org.eclipse.jgit.internal.storage.file.FileRepository
-
External Dependency does not work in Normal MC
It will load fine, yes. But actually trying to use any of the methods I add to computercraft doesn't work (unless I'm using runClient. runClient always works).
-
External Dependency does not work in Normal MC
Check. Sorry about that.
-
External Dependency does not work in Normal MC
Ah, the custom build server is down. It was run by a member of the community, looks like he moved it or something. I'll PM some people about it. You can get it here for 1.11.2 (which my mod is compatible with), though you'll need a newer version of CCTweaks for the mods folder (not to compile against). moved to here.
-
External Dependency does not work in Normal MC
Done! Apologies if anything is missing, I tired to exclude anything which wouldn't be needed. Edit: Almost forgot, you're probably not familiar with ComputerCraft. Once you have the game running, get an advanced computer, place it, right click to open the GUI. Type in "lua" to enter the lua console. Type "ccgit.init( "/test" )" to try to create a git repo. It will show an error message. If it doesn't, I want to know why it works for you and not me XD.
-
External Dependency does not work in Normal MC
- External Dependency does not work in Normal MC
Ah, so also use compile. Tried that, it worked (well, compiled), but ended up with the same results as using "shade" : log4j crashes immediately, and nothing about my mod works. Attempting to use any method I add results in an error referring to log4j.- External Dependency does not work in Normal MC
What. If I don't have it in the dependencies, it won't work...- External Dependency does not work in Normal MC
What should I do with it?- External Dependency does not work in Normal MC
Trying shadow out, gradlew build no longer functions. Repeated "error: package org.eclipse.jgit.api does not exist" for all imports. I have no idea what I'm doing wrong, as I followed the shadow introduction exactly and nothing seems to be wrong with my build.gradle...- External Dependency does not work in Normal MC
JGit is required to do what I'm doing, which is adding a git API to ComputerCraft.- External Dependency does not work in Normal MC
I've found several posts in various places about this, but the syntax in every case is outdated. I am shading JGit. It and it's dependencies end up in my jar, but slf4j crashes on launch causing general horribleness. - External Dependency does not work in Normal MC
IPS spam blocked by CleanTalk.
Important Information
By using this site, you agree to our Terms of Use.