albertoruibal / carballo

Carballo Chess Engine
GNU General Public License v3.0
69 stars 39 forks source link

Building gwt fails due to build.gradle error. #9

Open parth-code opened 5 years ago

parth-code commented 5 years ago

Getting the following error:

` FAILURE: Build failed with an exception.

* Where:
Build file 'D:\Ghrepo\carballo\gwtgui\build.gradle' line: 19

* What went wrong:
A problem occurred evaluating project ':gwtgui'.
> No signature of method: org.gradle.api.internal.tasks.DefaultTaskInputs.source() is applicable      for argument types: (LinkedHashSet) values: [[D:\Ghrepo\carballo\gwtgui\src\main\java]]
  Possible solutions: collect(), use([Ljava.lang.Object;)

* Try:
Run with --stacktrace option to get the stack trace. Run with --info or --debug option to get more log output. Run with --scan to get full insights.

* Get more help at https://help.gradle.org

BUILD FAILED in 35s. `

I ran it using the gradle commands in cmd as well as building it via IntelliJ and faced the same error.

albertoruibal commented 5 years ago

The master branch uses a deprecated gradle version 3.5.

Try to build the develop branch. It is upgraded to the last gradle version and it uses the gradle wrapper. Soon the develop branch will be merged into master for the release 1.8 and this will be fixed.

parth-code commented 5 years ago

That got it working. Thanks!