apply plugin: 'scala'
apply plugin: 'application'
dependencies {
compile 'org.scala-lang:scala-library:2.11.7'
compile project(path: ':core')
compile 'com.github.scopt:scopt_2.10:3.3.0'
compile 'ch.qos.logback:logback-classic:1.1.7'
}
mainClassName = 'com.nutomic.ensichat.server.Main'
version = "0.3.0"
applicationName = 'ensichat-server'
run {
// Use this to pass command line arguments via `gradle run`.
//
// Uses comma instead of space for command seperation for simpler parsing.
// Examples:
// ```
// ./gradlew server:run -Pargs="--help"
// ./gradlew server:run -Pargs="--name,MyName"
// ./gradlew server:run -Pargs="--name,MyName,--status,My Status"
if (project.hasProperty('args')) {
args project.args.split("\\s+")