use version platform more, try fixing projects must be configuring bug
This commit is contained in:
parent
c29b66aada
commit
5fcb831df2
6 changed files with 16 additions and 18 deletions
|
|
@ -50,27 +50,24 @@ kotlin {
|
|||
|
||||
val commonMain by getting {
|
||||
dependencies {
|
||||
implementation(project.dependencies.platform(libs.kotlin.bom))
|
||||
implementation(dependencies.platform(projects.modules.versionsPlatform))
|
||||
|
||||
implementation(project.dependencies.platform(libs.kotlinx.serialization.bom))
|
||||
implementation(libs.kotlinx.serialization.core)
|
||||
implementation(libs.kotlinx.serialization.json)
|
||||
api(libs.kxs.kxsTsGen)
|
||||
|
||||
implementation(dependencies.platform(libs.okio.bom))
|
||||
implementation(libs.okio.core)
|
||||
|
||||
implementation(dependencies.platform(libs.kotlinx.coroutines.bom))
|
||||
implementation(libs.kotlinx.coroutines.core)
|
||||
}
|
||||
}
|
||||
|
||||
val commonTest by getting {
|
||||
dependencies {
|
||||
implementation(dependencies.platform(projects.modules.versionsPlatform))
|
||||
|
||||
implementation(kotlin("test"))
|
||||
|
||||
implementation(project.dependencies.platform(libs.kotest.bom))
|
||||
implementation(libs.kotest.core)
|
||||
implementation(libs.kotest.datatest)
|
||||
implementation(libs.kotest.frameworkEngine)
|
||||
|
|
@ -81,20 +78,22 @@ kotlin {
|
|||
|
||||
val jvmMain by getting {
|
||||
dependencies {
|
||||
implementation(dependencies.platform(projects.modules.versionsPlatform))
|
||||
|
||||
implementation(kotlin("reflect"))
|
||||
}
|
||||
}
|
||||
|
||||
val jvmTest by getting {
|
||||
dependencies {
|
||||
implementation(dependencies.platform(projects.modules.versionsPlatform))
|
||||
|
||||
implementation(libs.kotest.runnerJunit5)
|
||||
}
|
||||
}
|
||||
|
||||
val jsTest by getting {
|
||||
dependencies {
|
||||
// implementation(kotlin("test-js"))
|
||||
}
|
||||
dependencies { }
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
|
|||
|
|
@ -167,8 +167,7 @@ class UpdatePacketsTest : FunSpec({
|
|||
"isConnected": true,
|
||||
"diedCause": {
|
||||
"unitNumber": 66,
|
||||
"name": "small-biter",
|
||||
"protoType": "unit"
|
||||
"protoId": "unit/small-biter"
|
||||
},
|
||||
"events": {
|
||||
"on_player_died": [2]
|
||||
|
|
|
|||
|
|
@ -14,8 +14,7 @@ class EntityUpdateTest : FunSpec({
|
|||
"data": {
|
||||
"type": "kafkatorio.packet.keyed.EntityUpdate",
|
||||
"key": {
|
||||
"name": "assembling-machine-2",
|
||||
"protoType": "assembling-machine-2",
|
||||
"protoId": "entity/assembling-machine-2",
|
||||
"unitNumber": 4622
|
||||
},
|
||||
"events": {
|
||||
|
|
@ -30,8 +29,7 @@ class EntityUpdateTest : FunSpec({
|
|||
"health": 350,
|
||||
"isActive": true,
|
||||
"isRotatable": true,
|
||||
"lastUser": 1,
|
||||
"prototype": "assembling-machine-2"
|
||||
"lastUser": 1
|
||||
},
|
||||
"modVersion": "0.4.0",
|
||||
"tick": 38388
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue