Skip to content

Commit

Permalink
Remove doesNotErrorWhenUsingApplicationMainClassProperty as it's redu…
Browse files Browse the repository at this point in the history
…ndant
  • Loading branch information
Goooler committed Jan 13, 2025
1 parent 5dd314e commit a2357e1
Showing 1 changed file with 0 additions and 13 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,6 @@ import assertk.assertions.contains
import assertk.assertions.containsExactly
import assertk.assertions.exists
import assertk.assertions.isEqualTo
import com.github.jengelman.gradle.plugins.shadow.util.Issue
import com.github.jengelman.gradle.plugins.shadow.util.containsEntries
import com.github.jengelman.gradle.plugins.shadow.util.getMainAttr
import com.github.jengelman.gradle.plugins.shadow.util.isRegular
Expand Down Expand Up @@ -96,18 +95,6 @@ class ApplicationTest : BasePluginTest() {
assertThat(jarPath("build/install/myapp-shadow/lib/myapp-1.0-all.jar")).isRegular()
}

@Issue(
"https://github.com/GradleUp/shadow/issues/609",
)
@Test
fun doesNotErrorWhenUsingApplicationMainClassProperty() {
prepare()

val result = run(runShadowTask)

assertThat(result.output).contains("TestApp: Hello World! (foo)")
}

private fun prepare(
projectBlock: String = "",
settingsBlock: String = "",
Expand Down

0 comments on commit a2357e1

Please sign in to comment.