Creating project

If you would like to create new project using Tigase IoT Framework, then simplest solution will be to create new project using Gradle with following entries in @build.gradle@ file:

Example project file for Gradle. 

group 'your.project.group'
version 'your.project-version'

apply plugin: 'java'
apply plugin: 'application'

mainClassName = "tigase.bot.runtime.Main"
sourceCompatibility = 1.8
targetCompatibility = 1.8

publishing {
    publications {
        mavenJava(MavenPublication) {
            from components.java
        }
    }
}

repositories {
    maven {url "https://oss.sonatype.org/content/groups/public"}
}

dependencies {
    testCompile group: 'junit', name: 'junit', version: '4.12'
    compile group: 'tigase.iot', name: 'iot-runtime', version: '1.0.0-SNAPSHOT'
    compile group: 'tigase.iot', name: 'iot-devices', version: '1.0.0-SNAPSHOT'
    compile group: 'tigase.iot', name: 'iot-devices-rpi', version: '1.0.0-SNAPSHOT'
}

Now you can focus on implementation of support for devices as described in other parts of this section.