numass-framework/numass-server/build.gradle

39 lines
1.1 KiB
Groovy
Raw Normal View History

2015-12-18 16:20:47 +03:00
description = 'dataforge-server'
2017-04-11 22:48:41 +03:00
buildscript {
repositories {
jcenter()
}
dependencies {
2017-05-21 18:50:47 +03:00
classpath 'io.ratpack:ratpack-gradle:1.4.6'
2017-12-21 16:12:20 +03:00
classpath 'com.github.jengelman.gradle.plugins:shadow:2.+'
2017-04-11 22:48:41 +03:00
}
}
apply plugin: "io.ratpack.ratpack-java"
apply plugin: 'com.github.johnrengelman.shadow'
mainClassName = "inr.numass.server.ServerRunner"
2015-12-18 16:20:47 +03:00
dependencies {
2018-11-17 22:27:12 +03:00
compile project(':numass-core')
compile "hep.dataforge:storage-server" // project(':dataforge-storage:storage-servlet')
compile "hep.dataforge:dataforge-messages"
compile 'commons-daemon:commons-daemon:1.+'
}
2017-04-07 20:58:29 +03:00
//processResources {
// from configurations.compile.files {"hep.dataforge:storage-servlet"}.find {'/src/main/resources/ratpack'}
2017-04-07 20:58:29 +03:00
//}
2017-04-11 17:01:34 +03:00
task runServer(dependsOn: classes, type: JavaExec){
group "numass"
description "Run numass server in current directory"
main 'inr.numass.server.ServerRunner'
classpath = sourceSets.main.runtimeClasspath
workingDir "D:\\Temp\\test\\"
standardInput = System.in
standardOutput = System.out
2017-05-02 16:57:03 +03:00
}