Skip to content

Commit

Permalink
Update nebula ospackage plugin (elastic#76639)
Browse files Browse the repository at this point in the history
This updates the nebula ospackage plugin to 8.6.1 that includes
a our provided PRs:

- nebula-plugins/gradle-ospackage-plugin#402
- nebula-plugins/gradle-ospackage-plugin#400
- nebula-plugins/gradle-ospackage-plugin#397

and also an update to the redline library our fix for ssh256 headers

- craigwblake/redline#157
  • Loading branch information
breskeby committed Dec 20, 2021
1 parent e61b096 commit 5279c17
Showing 1 changed file with 2 additions and 20 deletions.
22 changes: 2 additions & 20 deletions distribution/packages/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -42,28 +42,10 @@ import java.util.regex.Pattern
* dpkg -c path/to/elasticsearch.deb
*/

buildscript {
repositories {
mavenCentral()
maven { url 'https://jitpack.io' }
}

// We rely on a specific version of the redline library used to build rpm packages
// to support sha256header in our elasticsearch RPMs
// TODO: Remove once https://github.com/nebula-plugins/gradle-ospackage-plugin/pull/402 got merged and released
configurations.all {
resolutionStrategy {
force 'org.redline-rpm:redline:1.2.10'
}
}

dependencies {
classpath "com.github.breskeby:gradle-ospackage-plugin:98455c1"
}
plugins {
id "nebula.ospackage-base" version "8.6.1"
}

apply plugin: "nebula.ospackage-base"

void addProcessFilesTask(String type, boolean oss, boolean jdk) {
String packagingFiles = "build/packaging/${oss ? 'oss-' : ''}${jdk ? '' : 'no-jdk-'}${type}"

Expand Down

0 comments on commit 5279c17

Please sign in to comment.