{"action":"closed","issue":{"url":"https://api.github.com/repos/TheCricket/Chisel-2/issues/256","labels_url":"https://api.github.com/repos/TheCricket/Chisel-2/issues/256/labels{/name}","comments_url":"https://api.github.com/repos/TheCricket/Chisel-2/issues/256/comments","events_url":"https://api.github.com/repos/TheCricket/Chisel-2/issues/256/events","html_url":"https://github.com/TheCricket/Chisel-2/issues/256","id":59703472,"number":256,"title":"Deobj jar contains duplicate classes making it unusable","user":{"login":"bdew","id":96327,"avatar_url":"https://avatars.githubusercontent.com/u/96327?v=3","gravatar_id":"","url":"https://api.github.com/users/bdew","html_url":"https://github.com/bdew","followers_url":"https://api.github.com/users/bdew/followers","following_url":"https://api.github.com/users/bdew/following{/other_user}","gists_url":"https://api.github.com/users/bdew/gists{/gist_id}","starred_url":"https://api.github.com/users/bdew/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/bdew/subscriptions","organizations_url":"https://api.github.com/users/bdew/orgs","repos_url":"https://api.github.com/users/bdew/repos","events_url":"https://api.github.com/users/bdew/events{/privacy}","received_events_url":"https://api.github.com/users/bdew/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":2,"created_at":"2015-03-03T20:51:26Z","updated_at":"2015-03-03T21:32:51Z","closed_at":"2015-03-03T21:32:51Z","body":"This makes the FML crash when using it in a dev environment\r\n\r\n    java.lang.IllegalArgumentException: Multiple entries with same key: chisel=FMLMod:chisel{2.3.7.34} and chisel=FMLMod:chisel{2.3.7.34}\r\n      at com.google.common.collect.ImmutableMap.checkNoConflict(ImmutableMap.java:150)\r\n      at com.google.common.collect.RegularImmutableMap.checkNoConflictInBucket(RegularImmutableMap.java:104)\r\n      at com.google.common.collect.RegularImmutableMap.<init>(RegularImmutableMap.java:70)\r\n      at com.google.common.collect.ImmutableMap$Builder.build(ImmutableMap.java:254)\r\n      at com.google.common.collect.Maps.uniqueIndex(Maps.java:1166)\r\n      at com.google.common.collect.Maps.uniqueIndex(Maps.java:1140)\r\n      at cpw.mods.fml.common.Loader.identifyMods(Loader.java:349)\r\n      at cpw.mods.fml.common.Loader.loadMods(Loader.java:468)\r\n      at cpw.mods.fml.client.FMLClientHandler.beginMinecraftLoading(FMLClientHandler.java:204)\r\n      at net.minecraft.client.Minecraft.startGame(Minecraft.java:480)\r\n      at net.minecraft.client.Minecraft.run(Minecraft.java:867)\r\n      at net.minecraft.client.main.Main.main(SourceFile:148)\r\n      at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)\r\n      at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)\r\n      at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)\r\n      at java.lang.reflect.Method.invoke(Method.java:606)\r\n      at net.minecraft.launchwrapper.Launch.launch(Launch.java:135)\r\n      at net.minecraft.launchwrapper.Launch.main(Launch.java:28)\r\n      at net.minecraftforge.gradle.GradleStartCommon.launch(GradleStartCommon.java:85)\r\n      at GradleStart.main(GradleStart.java:45)\r\n      at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)\r\n      at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)\r\n      at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)\r\n      at java.lang.reflect.Method.invoke(Method.java:606)\r\n      at com.intellij.rt.execution.application.AppMain.main(AppMain.java:134)\r\n\r\nThis happens becaue of this hack (that you added for IDEA i guess?):\r\n\r\n> sourceSets { main { output.resourcesDir = output.classesDir } }\r\n\r\nYou can fix it by either adding\r\n\r\n>  duplicatesStrategy \"exclude\"\r\n\r\nOr changing the from line to \"sourceSets.main.output.classesDir\" in task deobfJar"}}