``` import com.beust.kobalt.* import com.beust.kob...
# kobalt
b
Copy code
import com.beust.kobalt.*
import com.beust.kobalt.plugin.packaging.*
import com.beust.kobalt.plugin.application.*
import com.beust.kobalt.plugin.java.*

val r = repos(localMaven(), "https://dl.bintray.com/ethauvin/maven")

val p = project {

    name = "dx-api"
    group = "com.example"
    artifactId = name
    version = "0.1"

    sourceDirectories {
        path("src/main/kotlin")
    }

    sourceDirectoriesTest {
        path("src/test/kotlin")
    }

    dependencies {
        compile("io.vertx:vertx-core:3.3.3")
        compile("io.vertx:vertx-web:3.3.3")

        compile("com.graphql-java:graphql-java-annotations:0.13.1")
        compile("io.swagger:swagger-annotations:1.5.8")
        compile("org.antlr:antlr4-runtime:4.5.3")

        compile("org.slf4j:slf4j-api:1.7.12")
        compile("org.apache.logging.log4j:log4j-api:2.3")
        compile("org.apache.logging.log4j:log4j-core:2.3")
        compile("org.apache.logging.log4j:log4j-slf4j-impl:2.3")

        compile("com.couchbase.client:java-client:2.3.6")
    }

    dependenciesTest {
        compile("junit:junit:4.12")
        compile("org.assertj:assertj-core:3.6.1")
    }

    assemble {
        jar {
            fatJar = true
            manifest {
                attributes("Main-Class", "io.vertx.core.Launcher")
                attributes("Main-Verticle", "com.company.labs.graphql.DxGraphQLVerticle")
            }
        }
    }

    application {
        mainClass = "io.vertx.core.Launcher"
    }
}