ScalaBot/scalabot-ext-example/build.gradle.kts
LamGC fc66cd16f4
build: 优化构建配置脚本.
由于 rootProject 已经为子模块定义 repositories, 且子模块没有定义仓库的需要, 故移除子模块中的 repositories.
2022-06-28 01:37:38 +08:00

21 lines
352 B
Plaintext

plugins {
java
}
dependencies {
compileOnly(project(":scalabot-extension"))
testImplementation("org.junit.jupiter:junit-jupiter-api:5.8.2")
testRuntimeOnly("org.junit.jupiter:junit-jupiter-engine")
}
tasks.getByName<Test>("test") {
useJUnitPlatform()
}
tasks.withType<Javadoc> {
options {
encoding = "UTF-8"
}
}