41 lines
904 B
Plaintext
41 lines
904 B
Plaintext
|
|
plugins {
|
|
kotlin("jvm")
|
|
}
|
|
|
|
val linearAlgebraVersion: String by project
|
|
val specifyKotlinAsDependency: String by project
|
|
|
|
version = linearAlgebraVersion
|
|
|
|
repositories {
|
|
mavenCentral()
|
|
}
|
|
|
|
dependencies {
|
|
testImplementation("org.jetbrains.kotlin:kotlin-test")
|
|
|
|
implementation(project(":collect"))
|
|
implementation(project(":math"))
|
|
implementation(project(":core"))
|
|
}
|
|
|
|
publishing {
|
|
publications {
|
|
create<MavenPublication>("mavenJava") {
|
|
from(components["java"])
|
|
artifact(tasks["sourceJar"])
|
|
|
|
pom {
|
|
dependencies {
|
|
if (specifyKotlinAsDependency.toBoolean()) implementation(kotlin("stdlib"))
|
|
|
|
implementation(project(":collect"))
|
|
implementation(project(":math"))
|
|
implementation(project(":core"))
|
|
}
|
|
}
|
|
}
|
|
}
|
|
}
|