An open API service indexing awesome lists of open source software.

https://github.com/dominokit/domino-immutables

Wrapper project for Immutables.org to work with GWT
https://github.com/dominokit/domino-immutables

gwt immutables java

Last synced: 4 months ago
JSON representation

Wrapper project for Immutables.org to work with GWT

Awesome Lists containing this project

README

          


[![Release Build Status](https://github.com/DominoKit/domino-immutables/actions/workflows/deploy.yaml/badge.svg?branch=master)](https://github.com/DominoKit/domino-immutables/actions/workflows/deploy.yaml/badge.svg?branch=master)
[![Development Build Status](https://github.com/DominoKit/domino-immutables/actions/workflows/deploy.yaml/badge.svg?branch=development)](https://github.com/DominoKit/domino-immutables/actions/workflows/deploy.yaml/badge.svg?branch=development)
[![Maven Central](https://maven-badges.herokuapp.com/maven-central/org.dominokit/domino-immutables/badge.svg)](https://maven-badges.herokuapp.com/maven-central/org.dominokit/domino-immutables)
![Sonatype Nexus (Snapshots)](https://img.shields.io/nexus/s/https/oss.sonatype.org/org.dominokit/domino-immutables.svg)

# Domino Immutables

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

## Setup

### Maven dependency

- Latest release
```xml

org.dominokit
domino-immutables
1.0.0

```

- Development Snapshot

```xml

org.dominokit
domino-immutables
HEAD-SNAPSHOT

```

> To use the snapshot version without building locally, configure the snapshot repository
```xml

sonatype-snapshots-repo
https://oss.sonatype.org/content/repositories/snapshots

true
always
fail

```

### GWT module inheritance
```xml

```

Usage of Immutables can be found in [Immutables.org](http://immutables.github.io/)
### Example
```java
@Value.Immutable
public interface Person {
int foo();

String bar();

List buz();

Set crux();
}
```