Skip to content

Commit

Permalink
Remove custom JUnit, make sure minecraft classpath is written before …
Browse files Browse the repository at this point in the history
…tests run.
  • Loading branch information
shartte committed Nov 20, 2023
1 parent 9d7e63f commit 45b51ee
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 4 deletions.
8 changes: 5 additions & 3 deletions build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -147,8 +147,7 @@ dependencies {
testImplementation("org.junit.jupiter:junit-jupiter-api")
testImplementation("org.junit.jupiter:junit-jupiter-params")
testRuntimeOnly("org.junit.jupiter:junit-jupiter-engine")
// testImplementation("org.junit.platform:junit-platform-launcher")
testImplementation files("junit-platform-launcher-1.11.0-SNAPSHOT.jar")
testImplementation("org.junit.platform:junit-platform-launcher")
testImplementation files("securejarhandler-2.1.20.jar")
testImplementation("org.assertj:assertj-core:3.19.0")
testImplementation("com.google.guava:guava-testlib:21.0")
Expand Down Expand Up @@ -284,7 +283,6 @@ test {
useJUnitPlatform()

// Might not need this anymore...
systemProperty "junit.platform.launcher.interceptors.enabled", "true"
systemProperty "guideDev.ae2guide.sources", file("guidebook").absolutePath

def aeDir = project.rootDir.absolutePath
Expand Down Expand Up @@ -337,6 +335,10 @@ test {
]
}

tasks.named('test').configure {
it.dependsOn tasks.named('writeMinecraftClasspath')
}

dependencies {
buildtoolsImplementation 'de.siegmar:fastcsv:2.1.0'
buildtoolsImplementation 'com.google.code.gson:gson:2.8.9'
Expand Down

This file was deleted.

0 comments on commit 45b51ee

Please sign in to comment.