Jump to content

Recommended Posts

Posted

Hi, so i was trying to build my mod after the 10 months of bug-testing and development. 
My friend set up the gradle scripts and i had nothing to worry about before when building test versions.

Today I tried to build a official release by using ./gradlew -debug --stacktrace.
It yielded me a jar file 600kb in size despite my dependencies being greater than 1Mb. (Build Successful)

Furthermore when run in game the world would not load because of the dependencies not being provided:

 

Minecraft Error: 

[B#349]      UCHIJAAAAAAAAA    mcp{9.05} [Minecraft Coder Pack] (minecraft.jar) 
[B#349]      UCHIJAAAAAAAAA    FML{7.10.99.99} [Forge Mod Loader] (modpack.jar) 
[B#349]      UCHIJAAAAAAAAA    Forge{10.13.4.1614} [Minecraft Forge] (modpack.jar) 
[B#349]      UCHIJAAEEEEEEE    Empires{1.0.0} [Empires] (Empires-1.7.10-1.0.0A.jar) 
[B#349]  [15:32:29] [Server thread/ERROR] [FML]: The following problems were captured during this phase
[B#349]  [15:32:29] [Server thread/ERROR] [FML]: Caught exception from Empires
[B#349]  java.lang.NoClassDefFoundError: org/sqlite/JDBC
[B#349]      at com.EmpireMod.Empires.Datasource.Bridge.BridgeSQLite.initConnection(BridgeSQLite.java:41) ~[BridgeSQLite.class:?]
[B#349]      at com.EmpireMod.Empires.Datasource.Bridge.BridgeSQLite.<init>(BridgeSQLite.java:28) ~[BridgeSQLite.class:?]

 

Build.gradle: https://github.com/Andrew2070/Empires-Mod/blob/master/build.gradle

 

Yes i have all the dependencies imported in my project libraries (eclipse).

 

I don't know what to do at this point having spent hours trying to understand and solve the problem.

My friend is too busy to explain it to me and i was wondering if anyone else out there knows?

 

Thanks for your time.

Posted

tried i got this:

 

01:25:47.801 [ERROR] [org.gradle.BuildExceptionReporter] Caused by: org.gradle.api.plugins.UnknownPluginException: Plugin with id 'com.github.johnrengelman.shadow' not found.
01:25:47.802 [ERROR] [org.gradle.BuildExceptionReporter] 	at org.gradle.api.internal.plugins.DefaultPluginRegistry.getTypeForId(DefaultPluginRegistry.java:91)
01:25:47.802 [ERROR] [org.gradle.BuildExceptionReporter] 	at org.gradle.api.internal.plugins.DefaultPluginContainer.getTypeForId(DefaultPluginContainer.java:105)
01:25:47.803 [ERROR] [org.gradle.BuildExceptionReporter] 	at org.gradle.api.internal.plugins.DefaultPluginContainer.apply(DefaultPluginContainer.java:35)
01:25:47.803 [ERROR] [org.gradle.BuildExceptionReporter] 	at org.gradle.api.internal.plugins.DefaultObjectConfigurationAction.applyPlugin(DefaultObjectConfigurationAction.java:117)
01:25:47.804 [ERROR] [org.gradle.BuildExceptionReporter] 	at org.gradle.api.internal.plugins.DefaultObjectConfigurationAction.access$200(DefaultObjectConfigurationAction.java:36)
01:25:47.804 [ERROR] [org.gradle.BuildExceptionReporter] 	at org.gradle.api.internal.plugins.DefaultObjectConfigurationAction$3.run(DefaultObjectConfigurationAction.java:85)
01:25:47.805 [ERROR] [org.gradle.BuildExceptionReporter] 	at org.gradle.api.internal.plugins.DefaultObjectConfigurationAction.execute(DefaultObjectConfigurationAction.java:130)
01:25:47.805 [ERROR] [org.gradle.BuildExceptionReporter] 	at org.gradle.api.internal.project.AbstractPluginAware.apply(AbstractPluginAware.java:41)
01:25:47.806 [ERROR] [org.gradle.BuildExceptionReporter] 	at org.gradle.api.Project$apply$0.call(Unknown Source)
01:25:47.807 [ERROR] [org.gradle.BuildExceptionReporter] 	at org.gradle.api.internal.project.ProjectScript.apply(ProjectScript.groovy:34)
01:25:47.809 [ERROR] [org.gradle.BuildExceptionReporter] 	at org.gradle.api.Script$apply$0.callCurrent(Unknown Source)
01:25:47.810 [ERROR] [org.gradle.BuildExceptionReporter] 	at build_51m775vl65nq24j22lepeptkm0.run(/Users/Ali/Desktop/Eclipse/WorkSpace/Minecraft/Mods/1.7.10/Empires-Mod/build.gradle:18)
01:25:47.810 [ERROR] [org.gradle.BuildExceptionReporter] 	at org.gradle.groovy.scripts.internal.DefaultScriptRunnerFactory$ScriptRunnerImpl.run(DefaultScriptRunnerFactory.java:52)
01:25:47.811 [ERROR] [org.gradle.BuildExceptionReporter] 	... 34 more
01:25:47.811 [ERROR] [org.gradle.BuildExceptionReporter] 
01:25:47.814 [LIFECYCLE] [org.gradle.BuildResultLogger] 
01:25:47.814 [LIFECYCLE] [org.gradle.BuildResultLogger] BUILD FAILED
01:25:47.818 [LIFECYCLE] [org.gradle.BuildResultLogger] 
01:25:47.819 [LIFECYCLE] [org.gradle.BuildResultLogger] Total time: 12.017 secs

 

  • Guest locked this topic
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.