| 1 |
/* |
| 2 |
* Copyright 2015 the original author or authors |
| 3 |
* |
| 4 |
* This software is licensed under the Apache License, Version 2.0, |
| 5 |
* the GNU Lesser General Public License version 2 or later ("LGPL") |
| 6 |
* and the WTFPL. |
| 7 |
* You may choose either license to govern your use of this software only |
| 8 |
* upon the condition that you accept all of the terms of either |
| 9 |
* the Apache License 2.0, the LGPL 2.1+ or the WTFPL. |
| 10 |
*/ |
| 11 |
apply plugin: 'application' |
| 12 |
|
| 13 |
mainClassName = 'org.minidns.integrationtest.IntegrationTestHelper' |
| 14 |
applicationDefaultJvmArgs = ["-enableassertions"] |
| 15 |
|
| 16 |
dependencies { |
| 17 |
compile project(':minidns-client') |
| 18 |
compile project(':minidns-async') |
| 19 |
compile project(':minidns-iterative-resolver') |
| 20 |
compile project(':minidns-dnssec') |
| 21 |
compile project(':minidns-hla') |
| 22 |
implementation "org.junit.vintage:junit-vintage-engine:$junitVersion" |
| 23 |
implementation "org.junit.jupiter:junit-jupiter-api:$junitVersion" |
| 24 |
testCompile project(path: ":minidns-client", configuration: "testRuntime") |
| 25 |
} |
| 26 |
|
| 27 |
run { |
| 28 |
// Pass all system properties down to the "application" run. |
| 29 |
// Used e.g. for integration test configuration via properties. |
| 30 |
systemProperties System.getProperties() |
| 31 |
} |