import org.gradle.api.tasks.testing.logging.TestLogEvent plugins { val kotlinVersion = "1.8.22" kotlin("js") version kotlinVersion apply false kotlin("jvm") version kotlinVersion apply false kotlin("multiplatform") version kotlinVersion apply false kotlin("plugin.spring") version kotlinVersion apply false kotlin("plugin.serialization") version kotlinVersion apply false } allprojects { repositories { mavenCentral() } } subprojects { tasks.withType { // JVM only kotlinOptions.jvmTarget = "17" } tasks.withType> { kotlinOptions.allWarningsAsErrors = true } tasks.withType { testLogging { events(TestLogEvent.FAILED, TestLogEvent.STANDARD_ERROR) exceptionFormat = org.gradle.api.tasks.testing.logging.TestExceptionFormat.FULL showStackTraces = true } } }