Skip to main content

Installation

DSL4GaR is essentially a maven dependency.

Maven repository

The package is not available through maven repository yet.

Requirements

Setup

Since the .jar of the project is not yet available from the maven repository, it is necessary to build the project autonomously by downloading it from here and running the following command:

maven package

Alternatively, is is possible to download the pre-build jar file from here.

Once the jar has been generated/downloaded, it is possible to add the dependency to the project by running the following command:

mvn install:install-file -Dfile=path\to\the\dsl4gar-1.0.0.jar -DgroupId=it.univaq.gamification -DartifactId=dsl4gar -Dversion=1.0.0 -Dpackaging=jar -DgeneratePom=true
Set the right path

In the above command replace the -Dfile path based on the location of the jar on your device.

Lastly, update the pom as follow:

pom.xml
<dependencies>

// Other dependencies

<dependency>
<groupId>it.univaq.gamification</groupId>
<artifactId>dsl4gar</artifactId>
<version>1.0.0</version>
</dependency>

</dependencies>

That's it, you can start using DSL4GaR for designing rules! 🥳