import org.gradle.api.tasks.testing.logging.TestExceptionFormat plugins { kotlin("jvm") version "1.3.60" } repositories { jcenter() } dependencies { compile(kotlin("stdlib")) testImplementation("junit:junit:4.12") testImplementation(kotlin("test-junit")) } tasks.withType { testLogging { exceptionFormat = TestExceptionFormat.FULL events("passed", "failed", "skipped") } }