Skip to content

Commit 5eb518d

Browse files
committed
[build] Correctly use bootstrap classpath and source encoding when compiling to ensure backward compat
(cherry picked from commit 69d9a13)
1 parent fa988f7 commit 5eb518d

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

pom.xml

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -19,6 +19,8 @@
1919
</description>
2020

2121
<properties>
22+
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
23+
2224
<jruby.version>9.4.13.0</jruby.version>
2325
<jruby.maven.plugins.version>3.0.6</jruby.maven.plugins.version>
2426
<gem.home>${project.build.directory}/rubygems</gem.home>
@@ -194,8 +196,7 @@
194196
<artifactId>maven-compiler-plugin</artifactId>
195197
<version>3.14.0</version>
196198
<configuration>
197-
<source>8</source>
198-
<target>8</target>
199+
<release>8</release>
199200
<showDeprecation>true</showDeprecation>
200201
<showWarnings>true</showWarnings>
201202
</configuration>

0 commit comments

Comments
 (0)