1- /*
2- * This file was generated by the Gradle 'init' task.
3- *
4- * This generated file contains a sample Kotlin library project to get you started.
5- * For more details take a look at the 'Building Java & JVM projects' chapter in the Gradle
6- * User Manual available at https://docs.gradle.org/7.6/userguide/building_java_projects.html
7- */
1+ import org.gradle.api.tasks.testing.logging.TestExceptionFormat.*
2+ import org.gradle.api.tasks.testing.logging.TestLogEvent.*
83
94plugins {
105 // Apply the org.jetbrains.kotlin.jvm Plugin to add support for Kotlin.
@@ -26,14 +21,29 @@ dependencies {
2621 // Use the JUnit 5 integration.
2722 testImplementation(" org.junit.jupiter:junit-jupiter-engine:5.9.1" )
2823
29- // This dependency is exported to consumers, that is to say found on their compile classpath.
30- api(" org.apache.commons:commons-math3:3.6.1" )
24+ // // This dependency is exported to consumers, that is to say found on their compile classpath.
25+ // api("org.apache.commons:commons-math3:3.6.1")
3126
32- // This dependency is used internally, and not exposed to consumers on their own compile classpath.
33- implementation(" com.google.guava:guava:31.1-jre" )
27+ // // This dependency is used internally, and not exposed to consumers on their own compile classpath.
28+ // implementation("com.google.guava:guava:31.1-jre")
29+ // Align versions of all Kotlin components
30+ implementation(platform(" org.jetbrains.kotlin:kotlin-bom" ))
31+
32+ // Use the Kotlin JDK 8 standard library.
33+ implementation(" org.jetbrains.kotlin:kotlin-stdlib-jdk8" )
34+
35+ implementation(" net.java.dev.jna:jna:5.8.0" )
3436}
3537
3638tasks.named<Test >(" test" ) {
3739 // Use JUnit Platform for unit tests.
3840 useJUnitPlatform()
41+
42+ testLogging {
43+ events(PASSED , SKIPPED , FAILED , STANDARD_OUT , STANDARD_ERROR )
44+ exceptionFormat = FULL
45+ showExceptions = true
46+ showCauses = true
47+ showStackTraces = true
48+ }
3949}
0 commit comments