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.*
8
3
9
4
plugins {
10
5
// Apply the org.jetbrains.kotlin.jvm Plugin to add support for Kotlin.
@@ -26,14 +21,29 @@ dependencies {
26
21
// Use the JUnit 5 integration.
27
22
testImplementation(" org.junit.jupiter:junit-jupiter-engine:5.9.1" )
28
23
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")
31
26
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" )
34
36
}
35
37
36
38
tasks.named<Test >(" test" ) {
37
39
// Use JUnit Platform for unit tests.
38
40
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
+ }
39
49
}
0 commit comments