Skip to content

Commit

Permalink
fix rpm jre dependency (via #2556)
Browse files Browse the repository at this point in the history
  • Loading branch information
KoLLlMapuK committed May 9, 2024
1 parent fd4481d commit 623f530
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions allure-commandline/build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -74,8 +74,6 @@ ospackage {
os = org.redline_rpm.header.Os.LINUX
release = "1"

requires("default-jre-headless")

// Remove closureOf when https://github.com/nebula-plugins/gradle-ospackage-plugin/issues/399 is fixed
from("${pack}/bin", closureOf<CopySpec> {
into("${dest}/bin")
Expand All @@ -97,10 +95,12 @@ ospackage {

val buildDeb by tasks.existing(Deb::class) {
dependsOn(preparePackageOutput)
requires("default-jre-headless")
}

val buildRpm by tasks.existing(Rpm::class) {
dependsOn(preparePackageOutput)
requires("jre")
}

publishing {
Expand Down

0 comments on commit 623f530

Please sign in to comment.