Skip to content

Commit

Permalink
Fix junit engine typo
Browse files Browse the repository at this point in the history
  • Loading branch information
DenWav committed Sep 4, 2024
1 parent 46caaf6 commit 8467b15
Show file tree
Hide file tree
Showing 4 changed files with 3 additions and 9 deletions.
5 changes: 0 additions & 5 deletions build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -141,11 +141,6 @@ dependencies {
gradleToolingExtension(libs.groovy)
gradleToolingExtension(libs.gradleToolingExtension)
gradleToolingExtension(libs.annotations)

testImplementation(libs.junit.api)
testCompileOnly(libs.junit.vintage) // Hack to get tests to compile
testRuntimeOnly(libs.junit.entine)
testRuntimeOnly(libs.junit.platform.launcher)
}

val artifactType = Attribute.of("artifactType", String::class.java)
Expand Down
3 changes: 2 additions & 1 deletion buildSrc/src/main/kotlin/mcdev-core.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -108,7 +108,8 @@ dependencies {
implementation(libs.bundles.coroutines)

testImplementation(libs.junit.api)
testRuntimeOnly(libs.junit.entine)
testCompileOnly(libs.junit.vintage) // Hack to get tests to compile and run
testRuntimeOnly(libs.junit.engine)
testRuntimeOnly(libs.junit.platform.launcher)
}

Expand Down
2 changes: 1 addition & 1 deletion gradle/libs.versions.toml
Original file line number Diff line number Diff line change
Expand Up @@ -68,7 +68,7 @@ test-fabricloader = "net.fabricmc:fabric-loader:0.15.11"
test-nbt = "com.demonwav.mcdev:all-types-nbt:1.0"

junit-api = { module = "org.junit.jupiter:junit-jupiter-api", version.ref = "junit" }
junit-entine = { module = "org.junit.jupiter:junit-jupiter-engine", version.ref = "junit" }
junit-engine = { module = "org.junit.jupiter:junit-jupiter-engine", version.ref = "junit" }
junit-vintage = { module = "org.junit.vintage:junit-vintage-engine", version.ref = "junit" }
junit-platform-launcher = { module = "org.junit.platform:junit-platform-launcher", version.ref = "junit-platform" }

Expand Down
2 changes: 0 additions & 2 deletions obfuscation-explorer/build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -49,8 +49,6 @@ dependencies {
testFramework(TestFrameworkType.JUnit5)
testFramework(TestFrameworkType.Platform)
}

testCompileOnly(libs.junit.vintage) // Hack to get tests to compile and run
}

val generateSrgLexer by lexer("SrgLexer", "io/mcdev/obfex/formats/srg/gen")
Expand Down

0 comments on commit 8467b15

Please sign in to comment.