Example of how to use FunctionalJ in a Gradle project.
It basically boils down to adding the required maven repository (hosted by github).
repositories {
mavenLocal()
mavenCentral()
}
dependencies {
compile 'io.functionalj:functionalj-all:0.5.5.0' // Please look up the lastest version.
annotationProcessor 'io.functionalj:functionalj-types:0.5.5.0' // Please look up the lastest version.
}
See the full code here: build.gradle