diff options
| author | Fabian Mastenbroek <mail.fabianm@gmail.com> | 2021-01-07 23:36:34 +0100 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2021-01-07 23:36:34 +0100 |
| commit | 3441586e4a10fcc6b2f458d16301ae2770d4886a (patch) | |
| tree | 82ddeaced2a42dd49a633a0669fbd8fedd1c167d /simulator/opendc-harness/build.gradle.kts | |
| parent | 74a4bff83bfb6366cc193d1fc9c4a07e49649649 (diff) | |
| parent | 885730e31a2bb987f2dcc8a90921e2f06a8c857a (diff) | |
Merge pull request #70 from atlarge-research/feat/harness
Add universal experiment harness
Diffstat (limited to 'simulator/opendc-harness/build.gradle.kts')
| -rw-r--r-- | simulator/opendc-harness/build.gradle.kts | 47 |
1 files changed, 47 insertions, 0 deletions
diff --git a/simulator/opendc-harness/build.gradle.kts b/simulator/opendc-harness/build.gradle.kts new file mode 100644 index 00000000..359d2384 --- /dev/null +++ b/simulator/opendc-harness/build.gradle.kts @@ -0,0 +1,47 @@ +/* + * Copyright (c) 2020 AtLarge Research + * + * Permission is hereby granted, free of charge, to any person obtaining a copy + * of this software and associated documentation files (the "Software"), to deal + * in the Software without restriction, including without limitation the rights + * to use, copy, modify, merge, publish, distribute, sublicense, and/or sell + * copies of the Software, and to permit persons to whom the Software is + * furnished to do so, subject to the following conditions: + * + * The above copyright notice and this permission notice shall be included in all + * copies or substantial portions of the Software. + * + * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR + * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, + * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE + * AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER + * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, + * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE + * SOFTWARE. + */ + +description = "Harness for defining repeatable experiments using OpenDC" + +/* Build configuration */ +plugins { + `kotlin-library-convention` +} + +dependencies { + api("org.jetbrains.kotlinx:kotlinx-coroutines-core:${Library.KOTLINX_COROUTINES}") + api("org.junit.platform:junit-platform-commons:${Library.JUNIT_PLATFORM}") + + implementation("io.github.classgraph:classgraph:4.8.98") + implementation("me.tongfei:progressbar:0.9.0") + implementation("io.github.microutils:kotlin-logging:2.0.4") + implementation("com.github.ajalt.clikt:clikt:3.1.0") + + api("org.junit.platform:junit-platform-engine:${Library.JUNIT_PLATFORM}") + api("org.junit.platform:junit-platform-suite-api:${Library.JUNIT_PLATFORM}") + api("org.junit.platform:junit-platform-launcher:${Library.JUNIT_PLATFORM}") + + runtimeOnly("org.apache.logging.log4j:log4j-slf4j-impl:2.14.0") + + testImplementation("org.junit.jupiter:junit-jupiter-api:${Library.JUNIT_JUPITER}") + testRuntimeOnly("org.junit.jupiter:junit-jupiter-engine:${Library.JUNIT_JUPITER}") +} |
