MovingBlocks / DestinationSol

Official continuation of Destination Sol, the great fun little arcade space shooter from http://sourceforge.net/projects/destinationsol/ Modules live at https://github.com/DestinationSol/
Apache License 2.0
325 stars 122 forks source link

build: add gradle library include builds #633

Closed BenjaminAmos closed 2 years ago

BenjaminAmos commented 2 years ago

Description

This pull request adds a convenience shortcut for including external gradle-built libraries from source into the main Destination Sol build. I find it useful for when I need to make and test changes to gestalt and TeraNUI in particular.

Usage:

To include a gradle-built library from source, just clone it into the libs sub-directory, e.g. for gestalt:

git clone https://github.com/MovingBlocks/gestalt.git libs\gestalt

Any dependencies on that library will then use the source version, rather than fetching the dependency from an external repository.

Credits

All credit for this goes to the authors of the original Terasology build file at https://github.com/MovingBlocks/Terasology/blob/develop/libs/subprojects.settings.gradle.