Skip to content

Commit f186008

Browse files
committed
Fix Groovy version in INSTALL.txt
This commit uses maven filtering to set the Groovy version rather than an hard-coded value that can be easily outdated. Closes gh-6530
1 parent 29cd3c4 commit f186008

File tree

2 files changed

+17
-3
lines changed

2 files changed

+17
-3
lines changed

spring-boot-cli/src/main/assembly/bin-package.xml

Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,20 @@
1414
<useDefaultExcludes>true</useDefaultExcludes>
1515
<fileMode>644</fileMode>
1616
<directoryMode>755</directoryMode>
17+
<filtered>true</filtered>
18+
<includes>
19+
<include>INSTALL.txt</include>
20+
</includes>
21+
</fileSet>
22+
<fileSet>
23+
<directory>src/main/content</directory>
24+
<outputDirectory>/</outputDirectory>
25+
<useDefaultExcludes>true</useDefaultExcludes>
26+
<fileMode>644</fileMode>
27+
<directoryMode>755</directoryMode>
28+
<excludes>
29+
<exclude>INSTALL.txt</exclude>
30+
</excludes>
1731
</fileSet>
1832
<fileSet>
1933
<directory>src/main/executablecontent</directory>

spring-boot-cli/src/main/content/INSTALL.txt

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -7,9 +7,9 @@ in order to complete your installation.
77

88
Prerequisites
99
-------------
10-
Spring Boot CLI requires Java JDK v1.6 or above in order to run. Groovy v2.1 is packaged
11-
as part of this distribution, and therefore does not need to be installed (any existing
12-
Groovy installation is ignored).
10+
Spring Boot CLI requires Java JDK v1.6 or above in order to run. Groovy v${groovy.version}
11+
is packaged as part of this distribution, and therefore does not need to be installed (any
12+
existing Groovy installation is ignored).
1313

1414
The CLI will use whatever JDK it finds on your path, to check that you have an appropriate
1515
version you should run:

0 commit comments

Comments
 (0)