kommons/collect/build.gradle.kts
2024-02-03 15:30:56 +07:00

41 lines
629 B
Plaintext

plugins {
kotlin("jvm")
`maven-publish`
}
val collectVersion: String by project
val projectGroup: String by project
group = projectGroup
version = collectVersion
repositories {
mavenCentral()
}
dependencies {
testImplementation("org.jetbrains.kotlin:kotlin-test")
}
tasks.test {
useJUnitPlatform()
}
kotlin {
jvmToolchain(17)
}
publishing {
publications {
create<MavenPublication>("mavenJava") {
from(components["java"])
pom {
dependencies {
implementation(kotlin("stdlib"))
}
}
}
}
}