File tree Expand file tree Collapse file tree 2 files changed +4
-2
lines changed
Expand file tree Collapse file tree 2 files changed +4
-2
lines changed Original file line number Diff line number Diff line change @@ -171,6 +171,7 @@ abstract class SubstraitSpecVersionValueSource :
171171}
172172
173173tasks.register(" writeManifest" ) {
174+ val version = project.version
174175 doLast {
175176 val substraitSpecVersionProvider =
176177 providers.of(SubstraitSpecVersionValueSource ::class ) {
@@ -187,7 +188,7 @@ tasks.register("writeManifest") {
187188 manifestFile.printWriter(StandardCharsets .UTF_8 ).use {
188189 it.println (" Manifest-Version: 1.0" )
189190 it.println (" Implementation-Title: substrait-java" )
190- it.println (" Implementation-Version: " + project. version)
191+ it.println (" Implementation-Version: " + version)
191192 it.println (" Specification-Title: substrait" )
192193 it.println (" Specification-Version: " + substraitSpecVersionProvider.get())
193194 }
Original file line number Diff line number Diff line change @@ -140,6 +140,7 @@ graal {
140140}
141141
142142tasks.register(" writeIsthmusVersion" ) {
143+ val version = project.version
143144 doLast {
144145 val isthmusVersionClass =
145146 layout.buildDirectory
@@ -155,7 +156,7 @@ tasks.register("writeIsthmusVersion") {
155156 it.println (" public class IsthmusCliVersion implements IVersionProvider {" )
156157 it.println (" public String[] getVersion() throws Exception {" )
157158 it.println (" return new String[] {" )
158- it.println (" \" \$ {COMMAND-NAME} version " + project. version + " \" ," )
159+ it.println (" \" \$ {COMMAND-NAME} version " + version + " \" ," )
159160 it.println (" \" Substrait version \" + SubstraitVersion.VERSION," )
160161 it.println (" };" )
161162 it.println (" }" )
You can’t perform that action at this time.
0 commit comments