CallMeFoxie / MewnbaseModded

3 stars 1 forks source link

./gradlew build errorS #2

Closed lipki closed 5 years ago

lipki commented 5 years ago

./gradlew build

$ ./gradlew build Starting a Gradle Daemon (subsequent builds will be faster)

Task :compileJava /home/kevin/.config/itch/apps/MewnbaseModded/src/main/java/eu/foxiemods/mewnloader/tools/ItemsLoader.java:39: error: incompatible types: Object cannot be converted to ItemData for (ItemData itemData : itemDataSet.itemDataList) { ^ /home/kevin/.config/itch/apps/MewnbaseModded/src/main/java/eu/foxiemods/mewnloader/tools/ItemsLoader.java:40: error: cannot find symbol itemData.modId = mod.getModId(); ^ symbol: variable modId location: variable itemData of type ItemData /home/kevin/.config/itch/apps/MewnbaseModded/src/main/java/eu/foxiemods/mewnloader/tools/ItemsLoader.java:44: error: cannot find symbol if(itemData.craftedIn != null && !itemData.craftedIn.equals("")) { ^ symbol: variable craftedIn location: variable itemData of type ItemData /home/kevin/.config/itch/apps/MewnbaseModded/src/main/java/eu/foxiemods/mewnloader/tools/ItemsLoader.java:44: error: cannot find symbol if(itemData.craftedIn != null && !itemData.craftedIn.equals("")) { ^ symbol: variable craftedIn location: variable itemData of type ItemData /home/kevin/.config/itch/apps/MewnbaseModded/src/main/java/eu/foxiemods/mewnloader/tools/ItemsLoader.java:45: error: cannot find symbol CraftingRegistry.getCraftingRegistry(itemData.craftedIn).buildables.add(itemData.id); ^ symbol: variable craftedIn location: variable itemData of type ItemData /home/kevin/.config/itch/apps/MewnbaseModded/src/main/java/com/cairn4/moonbase/Player.java:331: error: <anonymous com.cairn4.moonbase.Player$1> is not abstract and does not override abstract method event(TrackEntry,Event) in AnimationStateListener this.spineActor.state.addListener(new AnimationStateListener() { ^ /home/kevin/.config/itch/apps/MewnbaseModded/src/main/java/com/aurelienribon/BodyEditorLoader.java:81: error: incompatible types: float cannot be converted to Matrix3 Vector2 origin = vec.set(rbModel.origin).mul(scale); ^ /home/kevin/.config/itch/apps/MewnbaseModded/src/main/java/com/aurelienribon/BodyEditorLoader.java:88: error: incompatible types: float cannot be converted to Matrix3 vertices[ii] = newVec().set(polygon.vertices.get(ii)).mul(scale); ^ /home/kevin/.config/itch/apps/MewnbaseModded/src/main/java/com/aurelienribon/BodyEditorLoader.java:103: error: incompatible types: float cannot be converted to Matrix3 Vector2 center = newVec().set(circle.center).mul(scale); ^ /home/kevin/.config/itch/apps/MewnbaseModded/src/main/java/com/aurelienribon/BodyEditorLoader.java:135: error: incompatible types: float cannot be converted to Matrix3 return vec.set(rbModel.origin).mul(scale); ^ /home/kevin/.config/itch/apps/MewnbaseModded/src/main/java/com/aurelienribon/BodyEditorLoader.java:179: error: incompatible types: JsonValue cannot be converted to OrderedMap<String,?> OrderedMap<String,?> rootElem = (OrderedMap<String,?>) new JsonReader().parse(str); ^ /home/kevin/.config/itch/apps/MewnbaseModded/src/main/java/com/cairn4/moonbase/ZSortComparator.java:6: error: ZSortComparator is not abstract and does not override abstract method compare(Object,Object) in Comparator public class ZSortComparator implements Comparator { ^ /home/kevin/.config/itch/apps/MewnbaseModded/src/main/java/eu/foxiemods/mewnloader/tools/ResourceTilesLoader.java:39: error: incompatible types: Object cannot be converted to ItemDropperData for (ItemDropperData itemData : itemDropperSet.itemDropperList) { ^ /home/kevin/.config/itch/apps/MewnbaseModded/src/main/java/com/cairn4/moonbase/tiles/RepairDroneBase.java:91: error: <anonymous com.cairn4.moonbase.tiles.RepairDroneBase$1> is not abstract and does not override abstract method compare(Object,Object) in Comparator Collections.sort(this.basesWithDisasters, new Comparator() { ^ Note: Some input files use unchecked or unsafe operations. Note: Recompile with -Xlint:unchecked for details. Note: Some messages have been simplified; recompile with -Xdiags:verbose to get full output 14 errors

FAILURE: Build failed with an exception.

BUILD FAILED in 13s 1 actionable task: 1 executed

lipki commented 5 years ago

The patch is not to apply.