2021-04-11 22:16:25 +03:00
|
|
|
plugins {
|
2023-01-24 12:08:29 +03:00
|
|
|
id("space.kscience.gradle.mpp")
|
2021-04-11 22:16:25 +03:00
|
|
|
`maven-publish`
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
val dataforgeVersion: String by rootProject.extra
|
|
|
|
val kmathVersion: String by rootProject.extra
|
|
|
|
|
2023-10-09 13:35:39 +03:00
|
|
|
kscience{
|
|
|
|
jvm()
|
|
|
|
js()
|
2021-04-11 22:16:25 +03:00
|
|
|
commonMain {
|
|
|
|
dependencies {
|
2021-05-14 21:30:28 +03:00
|
|
|
api("space.kscience:dataforge-context:$dataforgeVersion")
|
2021-04-11 22:16:25 +03:00
|
|
|
api("space.kscience:kmath-for-real:$kmathVersion")
|
2021-05-13 11:09:07 +03:00
|
|
|
api("space.kscience:kmath-functions:$kmathVersion")
|
2021-04-11 22:16:25 +03:00
|
|
|
}
|
|
|
|
}
|
2023-10-09 13:35:39 +03:00
|
|
|
}
|
|
|
|
|
|
|
|
kotlin.sourceSets{
|
|
|
|
getByName("jvmMain"){
|
2021-05-14 21:30:28 +03:00
|
|
|
dependencies {
|
2021-04-11 22:16:25 +03:00
|
|
|
api("space.kscience:kmath-commons:$kmathVersion")
|
|
|
|
api("ch.qos.logback:logback-classic:1.2.3")
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|