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

43 lines
709 B
Plaintext

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