2021-01-06 17:01:37 +03:00
|
|
|
plugins {
|
2021-04-14 12:40:26 +03:00
|
|
|
kotlin("multiplatform")
|
|
|
|
id("ru.mipt.npm.gradle.common")
|
2022-04-04 14:43:20 +03:00
|
|
|
// id("ru.mipt.npm.gradle.native")
|
2021-01-06 17:01:37 +03:00
|
|
|
}
|
|
|
|
|
2021-01-20 10:56:09 +03:00
|
|
|
kotlin.sourceSets {
|
|
|
|
commonMain {
|
|
|
|
dependencies {
|
|
|
|
api(project(":kmath-core"))
|
|
|
|
}
|
2021-01-06 17:01:37 +03:00
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
readme {
|
|
|
|
description = "Complex numbers and quaternions."
|
2021-04-20 17:39:45 +03:00
|
|
|
maturity = ru.mipt.npm.gradle.Maturity.PROTOTYPE
|
2021-01-06 17:01:37 +03:00
|
|
|
propertyByTemplate("artifact", rootProject.file("docs/templates/ARTIFACT-TEMPLATE.md"))
|
|
|
|
|
|
|
|
feature(
|
|
|
|
id = "complex",
|
|
|
|
description = "Complex Numbers",
|
2021-03-16 22:46:22 +03:00
|
|
|
ref = "src/commonMain/kotlin/space/kscience/kmath/complex/Complex.kt"
|
2021-01-06 17:01:37 +03:00
|
|
|
)
|
|
|
|
|
|
|
|
feature(
|
|
|
|
id = "quaternion",
|
|
|
|
description = "Quaternions",
|
2021-03-16 22:46:22 +03:00
|
|
|
ref = "src/commonMain/kotlin/space/kscience/kmath/complex/Quaternion.kt"
|
2021-01-06 17:01:37 +03:00
|
|
|
)
|
|
|
|
}
|
2022-04-04 14:43:20 +03:00
|
|
|
|
|
|
|
// Testing multi-receiver!
|
|
|
|
tasks.withType<org.jetbrains.kotlin.gradle.tasks.Kotlin2JsCompile> {
|
|
|
|
enabled = false
|
|
|
|
}
|