Skip to content

Commit b3428ab

Browse files
committed
[build] update to 1.8 (drop support for Java 7)
1 parent 42a4b6a commit b3428ab

File tree

2 files changed

+6
-6
lines changed

2 files changed

+6
-6
lines changed

Mavenfile

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ distribution_management do
77
repository :id => :ossrh, :url => 'https://oss.sonatype.org/service/local/staging/deploy/maven2/'
88
end
99

10-
java_target = '1.7'
10+
java_target = '1.8'
1111
gen_sources = '${basedir}/target/generated-sources' # hard-coded in AnnotationBinder
1212

1313
plugin( 'org.codehaus.mojo:exec-maven-plugin', '1.3.2' ) do
@@ -46,7 +46,7 @@ plugin( 'org.codehaus.mojo:build-helper-maven-plugin', '1.9' ) do
4646
end
4747

4848
plugin( :compiler, '3.1',
49-
:source => '1.7', :target => java_target,
49+
:source => '1.8', :target => java_target,
5050
:encoding => 'UTF-8', :debug => true,
5151
:showWarnings => true, :showDeprecation => true,
5252
:excludes => [ 'module-info.java' ],

pom.xml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -209,7 +209,7 @@ DO NOT MODIFIY - GENERATED CODE
209209
<executable>java</executable>
210210
<classpathScope>compile</classpathScope>
211211
<arguments>
212-
<argument>-Djruby.bytecode.version=1.7</argument>
212+
<argument>-Djruby.bytecode.version=1.8</argument>
213213
<argument>-classpath</argument>
214214
<classpath />
215215
<argument>org.jruby.anno.InvokerGenerator</argument>
@@ -261,8 +261,8 @@ DO NOT MODIFIY - GENERATED CODE
261261
</execution>
262262
</executions>
263263
<configuration>
264-
<source>1.7</source>
265-
<target>1.7</target>
264+
<source>1.8</source>
265+
<target>1.8</target>
266266
<encoding>UTF-8</encoding>
267267
<debug>true</debug>
268268
<showWarnings>true</showWarnings>
@@ -368,7 +368,7 @@ DO NOT MODIFIY - GENERATED CODE
368368
<version>3.8.1</version>
369369
<configuration>
370370
<source>9</source>
371-
<target>1.7</target>
371+
<target>1.8</target>
372372
<release>9</release>
373373
<includes>
374374
<include>module-info.java</include>

0 commit comments

Comments
 (0)