core/build.gradle.kts (830 bytes)
1 import org.jetbrains.kotlin.gradle.dsl.JvmTarget 2 3 plugins { 4 alias(libs.plugins.kotlin.jvm) 5 } 6 7 // Plain JVM on purpose: no Android types in here, so the file format and the deinflector can be tested on a laptop. 8 java { 9 sourceCompatibility = JavaVersion.VERSION_17 10 targetCompatibility = JavaVersion.VERSION_17 11 } 12 kotlin { 13 compilerOptions { jvmTarget.set(JvmTarget.JVM_17) } 14 } 15 16 dependencies { 17 implementation(libs.gson) 18 19 testImplementation(libs.junit) 20 // Property tests. It shrinks a failing input to the smallest one and prints the seed. 21 testImplementation(libs.kotest.property) 22 testImplementation(libs.kotlinx.coroutines.core) 23 } 24 25 tasks.test { 26 useJUnit() 27 testLogging { 28 events("failed") 29 exceptionFormat = org.gradle.api.tasks.testing.logging.TestExceptionFormat.FULL 30 } 31 }