forked from kscience/kmath
30 lines
664 B
Plaintext
30 lines
664 B
Plaintext
plugins {
|
|
kotlin("jvm")
|
|
`maven-publish`
|
|
}
|
|
|
|
description = "Commons math binding for kmath"
|
|
|
|
dependencies {
|
|
api(project(":kmath-core"))
|
|
api(project(":kmath-sequential"))
|
|
api("org.apache.commons:commons-math3:3.6.1")
|
|
testImplementation("org.jetbrains.kotlin:kotlin-test")
|
|
testImplementation("org.jetbrains.kotlin:kotlin-test-junit")
|
|
}
|
|
|
|
|
|
val sourcesJar by tasks.registering(Jar::class) {
|
|
archiveClassifier.set("sources")
|
|
from(sourceSets.main.get().allSource)
|
|
}
|
|
|
|
publishing {
|
|
publications {
|
|
register<MavenPublication>("jvm") {
|
|
from(components["java"])
|
|
artifact(sourcesJar.get())
|
|
}
|
|
}
|
|
}
|