The triava project contains several of trivago's core libraries for Java-based projects: caching, collections, annotations, concurrency libraries and more.
triava has no dependencies apart from Java 7. The following will build everything, including Javadoc and a source jar:
mvn package
This will create three artefacts in the target/ folder:
- triava-[version].jar
- triava-[version]-sources.jar
- triava-[version]-javadoc.jar
To start, look at the examples folder.
<dependencies>
<dependency>
<groupId>com.trivago</groupId>
<artifactId>triava</artifactId>
<version>0.4.0</version>
</dependency>
</dependencies>
triava in Maven Central
dependencies {
compile 'com.trivago:triava:0.4.0'
}
Licensed under the Apache License, Version 2.0
Have a look at the examples folder.