Source Code
Dependencies
The GCL is distributed through a Distribution Service. In order to use the Distribution Service, a valid api-key is needed.
The Java library is open source and distributed through:
- Github repository
Github Repository
Maven Package
Maven can be used to add the library to your project
<dependendies>
<!--Trust1Connector Java Library-->
<dependency>
<groupId>com.t1t.t1c</groupId>
<artifactId>Connector</artifactId>
<version>${version.t1c.lib-java}</version>
</dependency>
<!--Google JSON needed for t1c-lib-java-->
<dependency>
<groupId>com.google.code.gson</groupId>
<artifactId>gson</artifactId>
<version>${version.gson}</version>
</dependency>
</dependencies>
...
<repositories>
<repository>
<id>t1t-releases</id>
<url>https://repo.t1t.be/repository/maven-releases/</url>
</repository>
</repositories>
The reason why 'gson' is included, is because underlying Retrofit is used as a REST client.
Distribution Service API
JVM
While the GCL component of the Trust1Connector
does NOT have any dependencies on Java Virtual Machine, the Java client library is compatible with versions of Java from 1.7 onwards.
Build T1C-JLIB from source
Build with Maven
$ clean install