apply plugin: 'application'

dependencies {
    implementation project(':vtm-desktop')
    file("${rootDir}/vtm-desktop/natives").eachDir() { dir ->
        implementation files(dir.path)
    }
    implementation project(':vtm-http')
    implementation project(':vtm-jeo')
    implementation project(':vtm-json')
    implementation project(':vtm-jts')
    implementation "com.badlogicgames.gdx:gdx-platform:$gdxVersion:natives-desktop"
    implementation "org.slf4j:slf4j-jdk14:$slf4jVersion"
}

sourceSets {
    main {
        java.srcDirs = ['src']
        resources.srcDirs = ['resources']
    }
}

mainClassName = "org.oscim.test.MapsforgeTest"
run {
    if (project.hasProperty("args")) {
        args project.getProperty("args").split(",")
    }
}
