You have two ways to import the GLPI Java Library to your Android project.

External Library Manager

Maven

<dependency>
  <groupId>org.glpi</groupId>
  <artifactId>api</artifactId>
  <version>1.0.0</version>
  <type>pom</type>
</dependency>

Gradle

compile 'org.glpi:api:1.0.0@jar'

Apache Ivy

<dependency org='org.glpi' name='api' rev='1.0.0'>
  <artifact name='api' ext='pom' ></artifact>
</dependency>

You can also find us on Bintray repository.

Manually

In your setting.gradle add the following line:

include ':my-project', ':java-library-glpi'

And in your build.gradle add:

implementation project(':java-library-glpi')