2022-12-17 23:12:00 +03:00
|
|
|
plugins {
|
2022-12-27 12:34:24 +03:00
|
|
|
id("space.kscience.gradle.mpp")
|
2022-12-17 23:12:00 +03:00
|
|
|
id("org.jetbrains.compose")
|
|
|
|
`maven-publish`
|
|
|
|
}
|
|
|
|
|
2023-02-06 17:19:51 +03:00
|
|
|
val kmathVersion: String by rootProject.extra
|
|
|
|
|
2023-01-12 11:52:54 +03:00
|
|
|
kscience{
|
2023-04-06 10:03:38 +03:00
|
|
|
jvm()
|
|
|
|
js()
|
2023-01-12 11:52:54 +03:00
|
|
|
useSerialization{
|
|
|
|
json()
|
|
|
|
}
|
2023-02-11 19:09:27 +03:00
|
|
|
|
|
|
|
useSerialization(sourceSet = space.kscience.gradle.DependencySourceSet.TEST){
|
|
|
|
protobuf()
|
|
|
|
}
|
2023-04-06 10:03:38 +03:00
|
|
|
}
|
|
|
|
|
|
|
|
kotlin {
|
|
|
|
sourceSets {
|
|
|
|
commonMain {
|
|
|
|
dependencies {
|
|
|
|
api(projects.trajectoryKt)
|
|
|
|
api(compose.foundation)
|
2023-09-10 13:12:45 +03:00
|
|
|
api("io.github.oshai:kotlin-logging:5.1.0")
|
2023-04-06 10:03:38 +03:00
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
2022-12-17 23:12:00 +03:00
|
|
|
}
|