added empty "base" mod that acts as the owner of the api to avoid cyclic dependencies

This commit is contained in:
Florian Nücke 2014-01-03 23:26:40 +01:00
parent 4c622bb9ba
commit 038baea1ac
3 changed files with 10 additions and 2 deletions

View File

@ -14,7 +14,7 @@ import li.cil.oc.common.Proxy
import li.cil.oc.server.{PacketHandler => ServerPacketHandler}
@Mod(modid = "OpenComputers", name = "OpenComputers", version = "1.1.0",
dependencies = "required-after:Forge@[9.11.1.940,);after:BuildCraft|Energy;after:ComputerCraft;after:IC2;after:MineFactoryReloaded;after:ProjRed|Transmission;after:RedLogic;after:StargateTech2;after:ThermalExpansion",
dependencies = "required-after:Forge@[9.11.1.940,);after:BuildCraft|Energy;after:ComputerCraft;after:IC2;after:MineFactoryReloaded;after:OpenComputersAPI;after:ProjRed|Transmission;after:RedLogic;after:StargateTech2;after:ThermalExpansion",
modLanguage = "scala")
@NetworkMod(clientSideRequired = true, serverSideRequired = false,
clientPacketHandlerSpec = new SidedPacketHandler(

View File

@ -0,0 +1,8 @@
package li.cil.oc
import cpw.mods.fml.common.Mod
// This empty mod is used to avoid cyclic dependencies with mods we depend on
// for optional interfaces, for example, but that also depend on our API.
@Mod(modid = "OpenComputers|Core", name = "OpenComputers (Core)", version = "1.0.0", modLanguage = "scala")
object OpenComputersCore

View File

@ -35,7 +35,7 @@
* </dl>
*/
@cpw.mods.fml.common.API(
owner = "OpenComputers",
owner = "OpenComputers|Core",
provides = "OpenComputersAPI",
apiVersion = "1.1.0")
package li.cil.oc.api;