Skip to content

Latest commit

 

History

History
63 lines (45 loc) · 1.33 KB

README.md

File metadata and controls

63 lines (45 loc) · 1.33 KB

swarm4j

Java implementation of Swarm (see: SwarmJS)

Build Status

Building

mvn clean install

Maven3 must be installed

Modules

Usage

in Java-client

pom.xml:

    <dependency>
        <groupId>swarm4j</groupId>
        <artifactId>swarm4j-client</artifactId>
        <version>0.3.0-SNAPSHOT</version>
    </dependency>

in Java-server

pom.xml:

    <dependency>
        <groupId>swarm4j</groupId>
        <artifactId>swarm4j-server</artifactId>
        <version>0.3.0-SNAPSHOT</version>
    </dependency>

in Android application

build.gradle:

repositories {
    mavenLocal()
}

dependencies {
    compile "com.eclipsesource.minimal-json:minimal-json:0.9.2-SNAPSHOT"
    compile "org.java-websocket:Java-WebSocket:1.3.0"
    compile "swarm4j:swarm4j-android:0.3.0-SNAPSHOT"
    compile "org.slf4j:slf4j-api:1.7.6"
    compile "org.slf4j:slf4j-android:1.7.6"
}