gurkenlabs / litiengine-gurk-nukem

A 2-bit platforming shooter made with LITIENGINE

Home Page:https://litiengine.com/creating-a-platformer-1/

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Build not working

tr7zw opened this issue · comments

commented

The build doesn't work right after cloning using the provided gradle wrapper.

litiengine-gurk-nukem> .\gradlew assemble                                                

FAILURE: Build failed with an exception.

* What went wrong:
Could not determine the dependencies of task ':distTar'.
> Could not resolve all task dependencies for configuration ':runtimeClasspath'.
   > Could not resolve project :litiengine.
     Required by:
         project :
      > Unable to find a matching configuration of project :litiengine:
          - None of the consumable configurations have attributes.

You get this issue because the litiengine dependency is compiled from source. To fix this issue you need to either have the litiengine project in your workspace or just get its dependency the normal way using

compile 'de.gurkenlabs:litiengine:0.4.18+'

instead of

compile project(':litiengine')

in build.gradle