Install Java API
Requirements
To run APE you need to have Java 17
(or higher) installed on your system (use the command $ java -version
to check your local version).
To build APE from source,
Maven 3.3+ has to be installed
as well (use command $ mvn -version
to check your local version).
Releases
Add APE to your project
To add a dependency on APE, use the following:
<!-- https://mvnrepository.com/artifact/io.github.sanctuuary/APE -->
<dependency>
<groupId>io.github.sanctuuary</groupId>
<artifactId>APE</artifactId>
<version>2.4.0</version>
</dependency>
// https://mvnrepository.com/artifact/io.github.sanctuuary/APE
compile group: 'io.github.sanctuuary', name: 'APE', version: '2.4.0'
<!-- https://mvnrepository.com/artifact/io.github.sanctuuary/APE -->
<dependency org="io.github.sanctuuary" name="APE" rev="2.4.0"/>
Note
For information regarding dependencies (SBT, Grape, Buildr etc.), we refer to the APE maven repository.
Build APE from source (using Maven)
Tip
Building APE from source is not required to run it, as the latest stable version is available at maven repository. Download the executable jar directly from Releases.
From the project root, simply launch
$ mvn -DskipTests=true install
to build the APE modules from the source tree. The built files will
be generated under the /target
directory. All the dependencies
will be gathered by Maven and the following stand-alone module will be
generated: APE-<version>-executable.jar