A wrapper project for Immutables.org to work with GWT.
- Latest release
<dependency>
<groupId>org.dominokit</groupId>
<artifactId>domino-immutables</artifactId>
<version>1.0.0</version>
</dependency>
- Development Snapshot
<dependency>
<groupId>org.dominokit</groupId>
<artifactId>domino-immutables</artifactId>
<version>HEAD-SNAPSHOT</version>
</dependency>
To use the snapshot version without building locally, configure the snapshot repository
<repository>
<id>sonatype-snapshots-repo</id>
<url>https://oss.sonatype.org/content/repositories/snapshots</url>
<snapshots>
<enabled>true</enabled>
<updatePolicy>always</updatePolicy>
<checksumPolicy>fail</checksumPolicy>
</snapshots>
</repository>
<inherits name="org.dominokit.immutables.Immutables"/>
Usage of Immutables can be found in Immutables.org
@Value.Immutable
public interface Person {
int foo();
String bar();
List<Integer> buz();
Set<Long> crux();
}