LaPasse for Java
CQRS and Redux inspired library for Java.
LaPasse requires at minimum Java 7.
Note: proper documentation is in the works!
Download
The distribution is hosted on Bintray. To include the package in your projects, you can add the jCenter repository.
Gradle
Add jCenter to your repositories
block (not necessary for Android - jCenter is the default repository):
repositories {
jcenter()
}
and add the project to the dependencies
block in your build.gradle
:
dependencies {
compile 'com.cookingfox:lapasse:0.5.6'
}
Maven
Add jCenter to your repositories in pom.xml
or settings.xml
:
<repositories>
<repository>
<id>jcenter</id>
<url>http://jcenter.bintray.com</url>
</repository>
</repositories>
and add the project to the dependencies
block in your pom.xml
:
<dependency>
<groupId>com.cookingfox</groupId>
<artifactId>lapasse</artifactId>
<version>0.5.6</version>
</dependency>
Rx extension
There is also an RxJava extension for the library. To download it, replace lapasse
with lapasse-rx
in the above dependency declarations.
Usage
Javadocs (hosted on javadoc.io):
Samples
You can find the following sample applications in the lapasse-samples
folder:
- Tasks app "vanilla": uses the core LaPasse library (no extensions) and no annotations.
- Tasks app with annotations: uses the core LaPasse library (no extensions) and annotations.
- Tasks app with Immutables: uses the core LaPasse library (no extensions), annotations and Immutables library.
- Counter example with Rx: uses the LaPasse library with the Rx extension and no annotations.