plugins { id 'java' id 'org.springframework.boot' version '3.1.1' id 'io.spring.dependency-management' version '1.1.0' } group = 'djmil' version = '0.0.1-SNAPSHOT' java { sourceCompatibility = '20' } repositories { mavenCentral() } dependencies { implementation 'org.springframework.boot:spring-boot-starter-web' testImplementation 'org.springframework.boot:spring-boot-starter-test' implementation 'org.springframework.data:spring-data-jdbc' testImplementation 'com.h2database:h2' implementation 'org.springframework.boot:spring-boot-starter-security' } tasks.named('test') { useJUnitPlatform() } // This section causes useful test output to go to the terminal. test { testLogging { events "passed", "skipped", "failed" //, "standardOut", "standardError" showExceptions true exceptionFormat "full" showCauses true showStackTraces true // Change to `true` for more verbose test output showStandardStreams = false } }