File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed
buildSrc/src/main/groovy/org/elasticsearch/gradle Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -145,14 +145,14 @@ class DependenciesInfoTask extends ConventionTask {
145145 // As we have the license file, we create a Custom entry with the URL to this license file.
146146 final gitBranch = System . getProperty(' build.branch' , ' master' )
147147 final String githubBaseURL = " https://raw.githubusercontent.com/elastic/elasticsearch/${ gitBranch} /"
148- licenseType = " ${ licenseInfo.identifier} ;${ license.getCanonicalPath().replaceFirst('.*/elasticsearch/', githubBaseURL)} "
148+ licenseType = " ${ licenseInfo.identifier} ;${ license.getCanonicalPath().replaceFirst('.*/elasticsearch/', githubBaseURL)} , "
149149 } else {
150- licenseType = licenseInfo. identifier
150+ licenseType = " ${ licenseInfo.identifier} , "
151151 }
152152
153153 if (licenseInfo. sourceRedistributionRequired) {
154154 File sources = getDependencyInfoFile(group, name, ' SOURCES' )
155- licenseType + = " , ${ sources.text.trim()} "
155+ licenseType + = " ${ sources.text.trim()} "
156156 }
157157
158158 return licenseType
You can’t perform that action at this time.
0 commit comments