40 lines
1.1 KiB
Kotlin
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(libs.adventure.api)
|
|
|
|
compileOnly(libs.adventure.api)
|
|
}
|
|
|
|
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"])
|
|
}
|
|
}
|
|
}
|