示例#1
0
 public DependencyBank() {
   for (ProjectDependency projectDep : ProjectDependency.values()) {
     Dependency dependency =
         new Dependency(
             projectDep.name(),
             projectDep.getGwtInherits(),
             projectDep.getDependencies(ProjectType.CORE),
             projectDep.getDependencies(ProjectType.DESKTOP),
             projectDep.getDependencies(ProjectType.ANDROID),
             projectDep.getDependencies(ProjectType.IOS),
             projectDep.getDependencies(ProjectType.HTML));
     gdxDependencies.put(projectDep, dependency);
   }
 }
示例#2
0
 public DependencyBank() {
   for (ProjectDependency projectDep : ProjectDependency.values()) {
     Dependency dependency =
         new Dependency(
             projectDep.name(),
             projectDep.getDependencies(ProjectType.CORE),
             projectDep.getDependencies(ProjectType.DESKTOP),
             projectDep.getDependencies(ProjectType.ANDROID),
             projectDep.getDependencies(ProjectType.IOS),
             projectDep.getDependencies(ProjectType.HTML));
     gdxDependencies.put(projectDep, dependency);
   }
   gwtInheritances.put(
       ProjectDependency.GDX, new String[] {"com.badlogic.gdx.backends.gdx_backends_gwt"});
   gwtInheritances.put(
       ProjectDependency.CONTROLLERS,
       new String[] {"com.badlogic.gdx.controllers.controllers-gwt"});
   gwtInheritances.put(
       ProjectDependency.BOX2D, new String[] {"com.badlogic.gdx.physics.box2d.box2d-gwt"});
   gwtInheritances.put(ProjectDependency.BOX2DLIGHTS, new String[] {"Box2DLights"});
 }