kotcrab/vis-ui

Build issue default startup LibGDX project with GWT and VisUI

pkruczynski opened this issue · 3 comments

LibGdx: 1.10.0
VisUI: 1.3.0, 1.4.0
Gwt: 2.8.2

I can run the application in superDev mode but the gradle task compileGwt fails with an error:

> Task :gwt:compileGwt
Compiling module GdxDefinition
   Tracing compile failure path for type 'com.kotcrab.vis.ui.widget.spinner.Spinner'
      [ERROR] Errors in 'com/kotcrab/vis/ui/widget/spinner/Spinner.java'
         [ERROR] Line 169: The method scrolled(InputEvent, float, float, int) of type new InputListener(){} must override or implement a supertype method
   Tracing compile failure path for type 'com.kotcrab.vis.ui.widget.tabbedpane.TabbedPane'
      [ERROR] Errors in 'com/kotcrab/vis/ui/widget/tabbedpane/TabbedPane.java'
         [ERROR] Line 312: Type mismatch: cannot convert from element type ObjectMap.Entry<Tab,TabbedPane.TabButtonTable> to Entry
         [ERROR] Line 38: The import com.badlogic.gdx.utils.IdentityMap.Entry cannot be resolved
         [ERROR] Line 312: Entry cannot be resolved to a type
   Tracing compile failure path for type 'com.kotcrab.vis.ui.widget.Draggable'
      [ERROR] Errors in 'com/kotcrab/vis/ui/widget/Draggable.java'
         [ERROR] Line 123: The method scrolled(InputEvent, float, float, int) of type new InputListener(){} must override or implement a supertype method
   [ERROR] Aborting compile due to errors in some input files

> Task :gwt:compileGwt FAILED

This makes it impossible to build a distribution GWT with the gradle dist task

VisUI 1.4.11 is the latest stable version of VisUI and it currently does not officially support libGDX 1.10.0. In the meanwhile, if you encounter the error with the latest VisUI version, please downgrade the libGDX dependency to 1.9.12.

@pkruczynski Can to try to recompile the application with VisUI 1.5.0?

Closing due to the lack of activity, please reopen the issue if the problem persists.