This commit is contained in:
Glavo 2025-08-01 17:16:57 +08:00
parent 767d1ac939
commit 3984702c5b
2 changed files with 8 additions and 1 deletions

View File

@ -32,7 +32,8 @@ subprojects {
}
dependencies {
"testImplementation"("org.junit.jupiter:junit-jupiter:5.10.2")
"testImplementation"(rootProject.libs.junit.jupiter)
"testRuntimeOnly"("org.junit.platform:junit-platform-launcher")
}
tasks.withType<Test> {

View File

@ -17,6 +17,9 @@ jna = "5.17.0"
pci-ids = "0.4.0"
java-info = "1.0"
# testing
junit = "5.13.4"
# plugins
shadow = "8.3.6"
@ -41,5 +44,8 @@ jna-platform = { module = "net.java.dev.jna:jna-platform", version.ref = "jna" }
pci-ids = { module = "org.glavo:pci-ids", version.ref = "pci-ids" }
java-info = { module = "org.glavo:java-info", version.ref = "java-info" }
# testing
junit-jupiter = { module = "org.junit.jupiter:junit-jupiter", version.ref = "junit" }
[plugins]
shadow = { id = "com.gradleup.shadow", version.ref = "shadow" }