Skip to content

Commit

Permalink
Update redline library to 1.2.10 (elastic#76440)
Browse files Browse the repository at this point in the history
* Update redline library to 1.2.10

The redline team just released version 1.2.10 of the redline
library which contains our fix of the rpm signatures / headers.

Also a PR to update that dependency in the ospackage plugin has been
raised at nebula-plugins/gradle-ospackage-plugin#402

* Update common about enforcing redline 1.2.10
  • Loading branch information
breskeby authored Aug 13, 2021
1 parent a6aa599 commit ba7c7d7
Showing 1 changed file with 3 additions and 7 deletions.
10 changes: 3 additions & 7 deletions distribution/packages/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -48,22 +48,18 @@ buildscript {
maven { url 'https://jitpack.io' }
}

// We rely on a patched version of the redline library used to build rpm packages
// We rely on a specific version of the redline library used to build rpm packages
// to support sha256header in our elasticsearch RPMs
// TODO: Update / remove this dependency once https://github.com/craigwblake/redline/pull/157 got merged
// Be aware that it seems the redline project hasnt been active for a while
// TODO: Remove once https://github.com/nebula-plugins/gradle-ospackage-plugin/pull/402 got merged and released
configurations.all {
resolutionStrategy {
dependencySubstitution {
substitute module('org.redline-rpm:redline') using module('com.github.breskeby:redline:9c85270')
}
force 'org.redline-rpm:redline:1.2.10'
}
}

dependencies {
classpath "com.github.breskeby:gradle-ospackage-plugin:98455c1"
}

}

apply plugin: "nebula.ospackage-base"
Expand Down

0 comments on commit ba7c7d7

Please sign in to comment.