Skip to content

DominoKit/domino-immutables

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

13 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Release Build Status Development Build Status Maven Central Sonatype Nexus (Snapshots)

Domino Immutables

A wrapper project for Immutables.org to work with GWT.

Setup

Maven dependency

  • 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>

GWT module inheritance

<inherits name="org.dominokit.immutables.Immutables"/>

Usage of Immutables can be found in Immutables.org

Example

@Value.Immutable
public interface Person {
    int foo();

    String bar();

    List<Integer> buz();

    Set<Long> crux();
}

About

Wrapper project for Immutables.org to work with GWT

Topics

Resources

License

Stars

Watchers

Forks

Packages

No packages published