Skip to content

Add Gradle build script

Nikola Hardi requested to merge nhardi/jalien:wip-gradle into master

This merge request introduces support for building jalien using Gradle. The build process is replicated from compile.sh, and artifacts are the same as before (alien.jar, alien-cs.jar, alien-users.jar), but they are placed in the build/libs directory.

How to use: ./gradlew build How to run unit tests: ./gradlew test How to build all three jars: ./gradlew all

Currently the main and test source sets are overlapping. When using the eclipse gradle plugin, the src directory appears twice in the buildpath and presents a conflict to build the project with eclipse.

ToDo:

  • Split main and test source sets.
  • Enable eclipse plugin.
  • Switch from local dependenies to Maven dependencies.
Edited by Nikola Hardi

Merge request reports