Sfoglia il codice sorgente

Update nebula ospackage plugin (#76639)

This updates the nebula ospackage plugin to 8.6.1 that includes
a our provided PRs:

- https://github.com/nebula-plugins/gradle-ospackage-plugin/pull/402
- https://github.com/nebula-plugins/gradle-ospackage-plugin/pull/400
- https://github.com/nebula-plugins/gradle-ospackage-plugin/pull/397

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

- https://github.com/craigwblake/redline/pull/157
Rene Groeschke 4 anni fa
parent
commit
76c7e1bb94
1 ha cambiato i file con 2 aggiunte e 20 eliminazioni
  1. 2 20
      distribution/packages/build.gradle

+ 2 - 20
distribution/packages/build.gradle

@@ -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}"