2016-10-17 16:50:33 +00:00
|
|
|
apply plugin: 'kotlin'
|
|
|
|
apply plugin: 'application'
|
|
|
|
|
|
|
|
repositories {
|
|
|
|
mavenLocal()
|
|
|
|
mavenCentral()
|
|
|
|
maven {
|
|
|
|
url 'http://oss.sonatype.org/content/repositories/snapshots'
|
|
|
|
}
|
|
|
|
jcenter()
|
|
|
|
maven {
|
|
|
|
url 'https://dl.bintray.com/kotlin/exposed'
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
sourceSets {
|
|
|
|
main {
|
|
|
|
resources {
|
|
|
|
srcDir "../../config/dev"
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2016-11-16 11:16:42 +00:00
|
|
|
mainClassName = 'net.corda.loadtest.MainKt'
|
2016-10-17 16:50:33 +00:00
|
|
|
|
|
|
|
dependencies {
|
2017-03-21 19:45:12 +00:00
|
|
|
compile project(':client:mock')
|
2016-10-17 16:50:33 +00:00
|
|
|
|
|
|
|
// https://mvnrepository.com/artifact/com.jcraft/jsch
|
|
|
|
compile group: 'com.jcraft', name: 'jsch', version: '0.1.54'
|
|
|
|
compile group: 'com.jcraft', name: 'jsch.agentproxy.core', version: '0.0.9'
|
|
|
|
compile group: 'com.jcraft', name: 'jsch.agentproxy.sshagent', version: '0.0.9'
|
|
|
|
compile group: 'com.jcraft', name: 'jsch.agentproxy.usocket-jna', version: '0.0.9'
|
|
|
|
|
|
|
|
// https://mvnrepository.com/artifact/de.danielbechler/java-object-diff
|
|
|
|
compile group: 'de.danielbechler', name: 'java-object-diff', version: '0.10.2'
|
|
|
|
|
2017-01-03 14:15:23 +00:00
|
|
|
// TypeSafe Config: for simple and human friendly config files.
|
|
|
|
compile "com.typesafe:config:$typesafe_config_version"
|
2016-10-17 16:50:33 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
run {
|
|
|
|
if (project.hasProperty('loadtest-config') ) {
|
|
|
|
args project["loadtest-config"]
|
|
|
|
}
|
|
|
|
}
|