diff --git a/rest-api-spec/build.gradle b/rest-api-spec/build.gradle index 2a7de2c726d..cd49b9f1925 100644 --- a/rest-api-spec/build.gradle +++ b/rest-api-spec/build.gradle @@ -1,8 +1,7 @@ -apply plugin: 'java' -apply plugin: 'com.bmuschko.nexus' +apply plugin: 'elasticsearch.build' +apply plugin: 'nebula.maven-base-publish' +apply plugin: 'nebula.maven-scm' -extraArchive { - sources = false - javadoc = false - tests = false -} +test.enabled = false +jarHell.enabled = false +licenseHeaders.enabled = false diff --git a/rest-api-spec/src/main/resources/rest-api-spec/api/indices.upgrade.json b/rest-api-spec/src/main/resources/rest-api-spec/api/indices.upgrade.json index 0e5e4ffd244..a8a83d6e82b 100644 --- a/rest-api-spec/src/main/resources/rest-api-spec/api/indices.upgrade.json +++ b/rest-api-spec/src/main/resources/rest-api-spec/api/indices.upgrade.json @@ -29,7 +29,7 @@ "wait_for_completion": { "type" : "boolean", "description" : "Specify whether the request should block until the all segments are upgraded (default: false)" - }, + }, "only_ancient_segments": { "type" : "boolean", "description" : "If true, only ancient (an older Lucene major release) segments will be upgraded"