44 lines
893 B
Plaintext
44 lines
893 B
Plaintext
|
|
plugins {
|
|
kotlin("jvm")
|
|
}
|
|
|
|
repositories {
|
|
mavenCentral()
|
|
}
|
|
|
|
val gsonDepVersion: String by project
|
|
val specifyKotlinAsDependency: String by project
|
|
|
|
dependencies {
|
|
testImplementation("org.jetbrains.kotlin:kotlin-test")
|
|
|
|
implementation(project(":linear-algebra"))
|
|
implementation(project(":gson"))
|
|
implementation(project(":"))
|
|
|
|
implementation("com.google.code.gson:gson:$gsonDepVersion")
|
|
}
|
|
|
|
publishing {
|
|
publications {
|
|
create<MavenPublication>("mavenJava") {
|
|
from(components["java"])
|
|
artifact(tasks["sourceJar"])
|
|
artifactId = "kommons-gson-linear-algebra"
|
|
|
|
pom {
|
|
dependencies {
|
|
if (specifyKotlinAsDependency.toBoolean()) implementation(kotlin("stdlib"))
|
|
|
|
implementation(project(":linear-algebra"))
|
|
implementation(project(":gson"))
|
|
implementation(project(":"))
|
|
|
|
implementation("com.google.code.gson:gson:[2.8,)")
|
|
}
|
|
}
|
|
}
|
|
}
|
|
}
|