|
@@ -46,7 +46,7 @@ kotlin {
|
|
|
}
|
|
}
|
|
|
}
|
|
}
|
|
|
|
|
|
|
|
- commonMain {
|
|
|
|
|
|
|
+ val commonMain by getting {
|
|
|
dependencies {
|
|
dependencies {
|
|
|
api(kotlin("stdlib", Versions.Kotlin.stdlib))
|
|
api(kotlin("stdlib", Versions.Kotlin.stdlib))
|
|
|
api(kotlinx("serialization-runtime-common", Versions.Kotlin.serialization))
|
|
api(kotlinx("serialization-runtime-common", Versions.Kotlin.serialization))
|
|
@@ -58,7 +58,7 @@ kotlin {
|
|
|
}
|
|
}
|
|
|
}
|
|
}
|
|
|
|
|
|
|
|
- commonTest {
|
|
|
|
|
|
|
+ val commonTest by getting {
|
|
|
dependencies {
|
|
dependencies {
|
|
|
implementation(kotlin("test-annotations-common"))
|
|
implementation(kotlin("test-annotations-common"))
|
|
|
implementation(kotlin("test-common"))
|
|
implementation(kotlin("test-common"))
|
|
@@ -94,6 +94,7 @@ kotlin {
|
|
|
|
|
|
|
|
val jvmTest by getting {
|
|
val jvmTest by getting {
|
|
|
dependencies {
|
|
dependencies {
|
|
|
|
|
+ dependsOn(commonTest)
|
|
|
implementation(kotlin("test", Versions.Kotlin.stdlib))
|
|
implementation(kotlin("test", Versions.Kotlin.stdlib))
|
|
|
implementation(kotlin("test-junit", Versions.Kotlin.stdlib))
|
|
implementation(kotlin("test-junit", Versions.Kotlin.stdlib))
|
|
|
implementation("org.pcap4j:pcap4j-distribution:1.8.2")
|
|
implementation("org.pcap4j:pcap4j-distribution:1.8.2")
|