Creates a shared JVM-test module and moves the jackson inlining tests there
This commit is contained in:
@@ -141,6 +141,14 @@ kotlin {
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
// Must be defined before androidMain and jvmMain
|
||||||
|
val jvmAndroidTest = create("jvmAndroidTest") {
|
||||||
|
dependsOn(commonTest.get())
|
||||||
|
dependencies {
|
||||||
|
implementation(libs.kotlin.test)
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
jvmMain {
|
jvmMain {
|
||||||
dependsOn(jvmAndroid)
|
dependsOn(jvmAndroid)
|
||||||
dependencies {
|
dependencies {
|
||||||
@@ -154,6 +162,7 @@ kotlin {
|
|||||||
}
|
}
|
||||||
|
|
||||||
jvmTest {
|
jvmTest {
|
||||||
|
dependsOn(jvmAndroidTest)
|
||||||
dependencies {
|
dependencies {
|
||||||
// Bitcoin secp256k1 bindings
|
// Bitcoin secp256k1 bindings
|
||||||
implementation(libs.secp256k1.kmp.jni.jvm)
|
implementation(libs.secp256k1.kmp.jni.jvm)
|
||||||
|
|||||||
+1
-1
@@ -21,8 +21,8 @@
|
|||||||
package com.vitorpamplona.quartz.nip01Core.jackson
|
package com.vitorpamplona.quartz.nip01Core.jackson
|
||||||
|
|
||||||
import com.fasterxml.jackson.module.kotlin.jacksonObjectMapper
|
import com.fasterxml.jackson.module.kotlin.jacksonObjectMapper
|
||||||
import org.junit.Assert.assertEquals
|
|
||||||
import kotlin.test.Test
|
import kotlin.test.Test
|
||||||
|
import kotlin.test.assertEquals
|
||||||
|
|
||||||
class InliningTagArrayPrettyPrinterTest {
|
class InliningTagArrayPrettyPrinterTest {
|
||||||
val mapper =
|
val mapper =
|
||||||
Reference in New Issue
Block a user