diff options
author | Magdalena GrodziĆska <mag.grodzinska@gmail.com> | 2020-01-15 04:46:19 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-01-15 04:46:19 +0100 |
commit | 97f644e3a983c6a24d26cb04b57b96a42afaa089 (patch) | |
tree | 6875ba1b10c804d728925c9cb282b404cd3c20f6 /build.gradle | |
parent | 8678d8c922b439ff4a58e4b139c4085515a890f0 (diff) | |
parent | 0cb7ded87955286f950d2802fc6a0d1c9c26726a (diff) |
Merge pull request #123 from m-chrzan/clean_udup
Add cleaning to UDUP
Diffstat (limited to 'build.gradle')
-rw-r--r-- | build.gradle | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/build.gradle b/build.gradle index c6ebcae..51a49c5 100644 --- a/build.gradle +++ b/build.gradle @@ -51,6 +51,14 @@ ext.querySignerHostname = { } /* +Example: -DfallbackContacts=\{\"/uw/violet07\":[192,168,0,11]} +escape at the beginning and before " + */ +ext.fallbackContacts = { + return System.getProperty("fallbackContacts") ?: "{\"" + zonePath() + "\":[127,0,0,1]}" +} + +/* Possible options: RoundRobinExp RoundRobinUniform @@ -138,6 +146,7 @@ task runFetcher(type: JavaExec) { main = 'pl.edu.mimuw.cloudatlas.fetcher.Fetcher' args(hostname() , 1099) systemProperty 'zone_path', zonePath() + systemProperty 'fallback_contacts', fallbackContacts() } task runInterpreter(type: JavaExec) { |