aboutsummaryrefslogtreecommitdiff
path: root/build.gradle.kts
diff options
context:
space:
mode:
authorbush-did-711 <39170869+bush-did-711@users.noreply.github.com>2022-03-30 23:03:09 -1000
committerbush-did-711 <39170869+bush-did-711@users.noreply.github.com>2022-03-30 23:03:09 -1000
commit0f5fdefed68d4d54f08d8e9fc9dc3a0e098f93a1 (patch)
tree5f773a9927046a0a0c41c4fb01bcda48dc3cbf6b /build.gradle.kts
parent1246f0f644eb1fca30f92c601941937506ca2beb (diff)
downloadeventbus-kotlin-0f5fdefed68d4d54f08d8e9fc9dc3a0e098f93a1.tar.gz
eventbus-kotlin-0f5fdefed68d4d54f08d8e9fc9dc3a0e098f93a1.tar.bz2
eventbus-kotlin-0f5fdefed68d4d54f08d8e9fc9dc3a0e098f93a1.zip
started adding tests, more refactoring (not done)
Diffstat (limited to 'build.gradle.kts')
-rw-r--r--build.gradle.kts8
1 files changed, 7 insertions, 1 deletions
diff --git a/build.gradle.kts b/build.gradle.kts
index a1450bd..e253db8 100644
--- a/build.gradle.kts
+++ b/build.gradle.kts
@@ -1,4 +1,7 @@
import org.jetbrains.kotlin.gradle.tasks.KotlinCompile
+import org.gradle.api.tasks.testing.logging.TestLogEvent.*
+import org.gradle.api.tasks.testing.logging.TestExceptionFormat.FULL
+import kotlin.collections.setOf
plugins {
kotlin("jvm") version "1.6.10"
@@ -14,7 +17,6 @@ repositories {
dependencies {
testImplementation(kotlin("test"))
- // Staying on the version used by 1.12.2 to avoid possible incompatibilities.
// 2.15.0 is not vulnerable to any RCE exploits.
implementation("org.apache.logging.log4j:log4j-api:2.15.0")
implementation("org.apache.logging.log4j:log4j-core:2.15.0")
@@ -25,6 +27,10 @@ dependencies {
}
tasks.test {
+ testLogging {
+ exceptionFormat = FULL
+ showStandardStreams = true
+ }
useJUnitPlatform()
}