summaryrefslogtreecommitdiff
path: root/simulator/buildSrc/src/main/kotlin/Versions.kt
diff options
context:
space:
mode:
authorFabian Mastenbroek <mail.fabianm@gmail.com>2021-02-23 11:46:06 +0100
committerFabian Mastenbroek <mail.fabianm@gmail.com>2021-02-23 11:46:06 +0100
commit0b092b352dc29ce69f6f126eb7857a1243a6ef62 (patch)
tree44047aba0874b80ffd406cfc6c7776bde0eaaf90 /simulator/buildSrc/src/main/kotlin/Versions.kt
parentbde79549149eca269c033302729ba06043efb29c (diff)
Extract testing conventions from Kotlin conventions
This change extracts the configuration for test from the Kotlin library conventions.
Diffstat (limited to 'simulator/buildSrc/src/main/kotlin/Versions.kt')
-rw-r--r--simulator/buildSrc/src/main/kotlin/Versions.kt50
1 files changed, 50 insertions, 0 deletions
diff --git a/simulator/buildSrc/src/main/kotlin/Versions.kt b/simulator/buildSrc/src/main/kotlin/Versions.kt
new file mode 100644
index 00000000..d845c4bd
--- /dev/null
+++ b/simulator/buildSrc/src/main/kotlin/Versions.kt
@@ -0,0 +1,50 @@
+/*
+ * MIT License
+ *
+ * Copyright (c) 2019 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.
+ */
+
+/**
+ * This class contains the versions of the dependencies shared by the different
+ * subprojects.
+ */
+public object Versions {
+
+ /**
+ * The library for testing the projects.
+ */
+ val JUNIT_JUPITER = "5.7.1"
+
+ /**
+ * The library for hosting the tests.
+ */
+ val JUNIT_PLATFORM = "1.7.1"
+
+ /**
+ * Logging facade.
+ */
+ val SLF4J = "1.7.30"
+
+ /**
+ * Kotlin coroutines support
+ */
+ val KOTLINX_COROUTINES = "1.4.2"
+}