diff options
Diffstat (limited to 'build.gradle')
-rw-r--r-- | build.gradle | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/build.gradle b/build.gradle index 237ff87..2195aee 100644 --- a/build.gradle +++ b/build.gradle @@ -49,17 +49,19 @@ application { task runAgent(type: JavaExec) { classpath = sourceSets.main.runtimeClasspath main = 'pl.edu.mimuw.cloudatlas.agent.Agent' + systemProperty 'java.rmi.server.hostname', System.getProperty('hostname') } task runClient(type: JavaExec) { classpath = sourceSets.main.runtimeClasspath main = 'pl.edu.mimuw.cloudatlas.client.Client' + systemProperty 'agent_hostname', System.getProperty('hostname') } task runFetcher(type: JavaExec) { classpath = sourceSets.main.runtimeClasspath main = 'pl.edu.mimuw.cloudatlas.fetcher.Fetcher' - args("localhost", 1099) + args(System.getProperty('hostname'), 1099) } task runInterpreter(type: JavaExec) { |