KenCommandAPI/kencommandapi-core/build.gradle.kts
2026-07-06 16:35:01 +02:00

40 lines
1.1 KiB
Kotlin

plugins {
id("java")
id("scrow.scrow-publish")
id("scrow.base-dependencies")
id("scrow.java-library")
}
repositories {
mavenCentral()
}
dependencies {
// https://mvnrepository.com/artifact/org.junit.jupiter/junit-jupiter-api
testImplementation("org.junit.jupiter:junit-jupiter-api:6.1.1")
// https://mvnrepository.com/artifact/org.junit.jupiter/junit-jupiter-engine
testImplementation("org.junit.jupiter:junit-jupiter-engine:6.1.1")
// https://mvnrepository.com/artifact/org.junit.platform/junit-platform-launcher
testImplementation("org.junit.platform:junit-platform-launcher:6.1.1")
testImplementation("net.kyori:adventure-api:5.2.0")
compileOnly("net.kyori:adventure-api:5.2.0")
}
tasks.test {
useJUnitPlatform()
testLogging {
showStandardStreams = true
}
}
publishing {
publications {
create<MavenPublication>("KenCommandAPI") {
groupId = rootProject.group.toString()
version = rootProject.version.toString()
artifactId = project.name
from(components["java"])
}
}
}