mirror of
https://github.com/elastic/elasticsearch.git
synced 2025-04-24 15:17:30 -04:00
Update wrapper to 7.1 (#73941)
- Fix new introduced deprecated usages - Update to newer ospackage snapshot to include provided PR for fixing deprecated usage This gradle release comes with improvements on incremental compilation which we should benefit from
This commit is contained in:
parent
c1e9590a69
commit
c2e86258d8
13 changed files with 19 additions and 23 deletions
|
@ -48,7 +48,7 @@ buildscript {
|
|||
maven { url 'https://jitpack.io' }
|
||||
}
|
||||
dependencies {
|
||||
classpath "com.github.breskeby:gradle-ospackage-plugin:ddb72a9922b934033827d48d296f7f3d470ac422"
|
||||
classpath "com.github.breskeby:gradle-ospackage-plugin:98455c1"
|
||||
}
|
||||
}
|
||||
|
||||
|
@ -124,10 +124,7 @@ Closure commonPackageConfig(String type, boolean oss, boolean jdk, String archit
|
|||
String jdkString = jdk ? "" : "no-jdk-"
|
||||
String prefix = "${architecture == 'aarch64' ? 'aarch64-' : ''}${oss ? 'oss-' : ''}${jdk ? '' : 'no-jdk-'}${type}"
|
||||
destinationDirectory = file("${prefix}/build/distributions")
|
||||
|
||||
// SystemPackagingTask overrides default archive task convention mappings, but doesn't provide a setter so we have to override the convention mapping itself
|
||||
conventionMapping.archiveFile = { objects.fileProperty().fileValue(file("${destinationDirectory.get()}/${packageName}-${project.version}-${jdkString}${archString}.${type}")) }
|
||||
|
||||
archiveFileName.value(project.provider({ "${packageName}-${project.version}-${jdkString}${archString}.${type}" } ))
|
||||
String packagingFiles = "build/packaging/${oss ? 'oss-' : ''}${jdk ? '' : 'no-jdk-'}${type}"
|
||||
|
||||
String scripts = "${packagingFiles}/scripts"
|
||||
|
@ -278,8 +275,6 @@ Closure commonPackageConfig(String type, boolean oss, boolean jdk, String archit
|
|||
}
|
||||
}
|
||||
|
||||
apply plugin: 'nebula.ospackage-base'
|
||||
|
||||
// this is package indepdendent configuration
|
||||
ospackage {
|
||||
maintainer 'Elasticsearch Team <info@elastic.co>'
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue