@@ -65,8 +65,8 @@ tasks.getByName<ProcessResources>("processResources") {
6565 if (name != " apis.json" ) {
6666 // Only process main source-set resources (test files are large)
6767 expand(
68- " version" to version,
69- " git_revision" to (if (rootProject.extra.has(" gitHashFull" )) rootProject.extra[" gitHashFull" ] else " unknown" )
68+ " version" to version,
69+ " git_revision" to (if (rootProject.extra.has(" gitHashFull" )) rootProject.extra[" gitHashFull" ] else " unknown" )
7070 )
7171 }
7272 }
@@ -166,7 +166,7 @@ publishing {
166166 // are the same as the one used in the dependency section below.
167167 val xPathFactory = javax.xml.xpath.XPathFactory .newInstance()
168168 val depSelector = xPathFactory.newXPath()
169- .compile(" /project/dependencies/dependency[groupId/text() = 'org.elasticsearch.client']" )
169+ .compile(" /project/dependencies/dependency[groupId/text() = 'org.elasticsearch.client']" )
170170 val versionSelector = xPathFactory.newXPath().compile(" version" )
171171
172172 var foundVersion = false ;
@@ -282,15 +282,15 @@ licenseReport {
282282class SpdxReporter (val dest : File ) : ReportRenderer {
283283 // License names to their SPDX identifier
284284 val spdxIds = mapOf (
285- " The Apache License, Version 2.0" to " Apache-2.0" ,
286- " Apache License, Version 2.0" to " Apache-2.0" ,
287- " The Apache Software License, Version 2.0" to " Apache-2.0" ,
288- " BSD Zero Clause License" to " 0BSD" ,
289- " Eclipse Public License 2.0" to " EPL-2.0" ,
290- " Eclipse Public License v. 2.0" to " EPL-2.0" ,
291- " Eclipse Public License - v 2.0" to " EPL-2.0" ,
292- " GNU General Public License, version 2 with the GNU Classpath Exception" to " GPL-2.0 WITH Classpath-exception-2.0" ,
293- " COMMON DEVELOPMENT AND DISTRIBUTION LICENSE (CDDL) Version 1.0" to " CDDL-1.0"
285+ " The Apache License, Version 2.0" to " Apache-2.0" ,
286+ " Apache License, Version 2.0" to " Apache-2.0" ,
287+ " The Apache Software License, Version 2.0" to " Apache-2.0" ,
288+ " BSD Zero Clause License" to " 0BSD" ,
289+ " Eclipse Public License 2.0" to " EPL-2.0" ,
290+ " Eclipse Public License v. 2.0" to " EPL-2.0" ,
291+ " Eclipse Public License - v 2.0" to " EPL-2.0" ,
292+ " GNU General Public License, version 2 with the GNU Classpath Exception" to " GPL-2.0 WITH Classpath-exception-2.0" ,
293+ " COMMON DEVELOPMENT AND DISTRIBUTION LICENSE (CDDL) Version 1.0" to " CDDL-1.0"
294294 )
295295
296296 private fun quote (str : String ): String {
0 commit comments