2022-12-17 23:12:00 +03:00
|
|
|
plugins {
|
2022-12-27 12:34:24 +03:00
|
|
|
id("space.kscience.gradle.mpp")
|
2024-06-04 14:38:21 +03:00
|
|
|
alias(spclibs.plugins.compose.compiler)
|
|
|
|
alias(spclibs.plugins.compose.jb)
|
2022-12-17 23:12:00 +03:00
|
|
|
`maven-publish`
|
|
|
|
}
|
|
|
|
|
2023-02-06 17:19:51 +03:00
|
|
|
val kmathVersion: String by rootProject.extra
|
|
|
|
|
2024-02-23 12:11:43 +03:00
|
|
|
kscience {
|
2023-04-06 10:03:38 +03:00
|
|
|
jvm()
|
2024-02-23 12:11:43 +03:00
|
|
|
// js()
|
|
|
|
wasm{
|
|
|
|
browser {
|
|
|
|
testTask {
|
|
|
|
enabled = false
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
useCoroutines()
|
|
|
|
|
|
|
|
useSerialization {
|
2023-01-12 11:52:54 +03:00
|
|
|
json()
|
|
|
|
}
|
2023-02-11 19:09:27 +03:00
|
|
|
|
2024-02-23 12:11:43 +03:00
|
|
|
useSerialization(sourceSet = space.kscience.gradle.DependencySourceSet.TEST) {
|
2023-02-11 19:09:27 +03:00
|
|
|
protobuf()
|
|
|
|
}
|
2023-04-06 10:03:38 +03:00
|
|
|
|
2024-06-04 14:38:21 +03:00
|
|
|
commonMain{
|
|
|
|
api(projects.trajectoryKt)
|
|
|
|
api(compose.runtime)
|
|
|
|
api(compose.foundation)
|
|
|
|
api(compose.material)
|
|
|
|
api(compose.ui)
|
|
|
|
api("io.github.oshai:kotlin-logging:6.0.3")
|
2024-07-06 09:54:06 +03:00
|
|
|
api("com.benasher44:uuid:0.8.4")
|
2023-04-06 10:03:38 +03:00
|
|
|
}
|
2022-12-17 23:12:00 +03:00
|
|
|
}
|