Skip to content

Commit 610f142

Browse files
committed
drop support for Java 1.6 and compile using Java 7
1 parent 79d2f55 commit 610f142

File tree

2 files changed

+5
-5
lines changed

2 files changed

+5
-5
lines changed

Mavenfile

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

13-
java_target = '1.6'
13+
java_target = '1.7'
1414
gen_sources = '${basedir}/target/generated-sources' # hard-coded in AnnotationBinder
1515

1616
plugin( 'org.codehaus.mojo:exec-maven-plugin', '1.3.2' ) do
@@ -49,7 +49,7 @@ plugin( 'org.codehaus.mojo:build-helper-maven-plugin', '1.9' ) do
4949
end
5050

5151
plugin( :compiler, '3.1',
52-
:source => '1.6', :target => java_target,
52+
:source => '1.7', :target => java_target,
5353
:encoding => 'UTF-8', :debug => true,
5454
:showWarnings => true, :showDeprecation => true,
5555

pom.xml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -232,7 +232,7 @@ DO NOT MODIFIY - GENERATED CODE
232232
<executable>java</executable>
233233
<classpathScope>compile</classpathScope>
234234
<arguments>
235-
<argument>-Djruby.bytecode.version=1.6</argument>
235+
<argument>-Djruby.bytecode.version=1.7</argument>
236236
<argument>-classpath</argument>
237237
<classpath />
238238
<argument>org.jruby.anno.InvokerGenerator</argument>
@@ -283,8 +283,8 @@ DO NOT MODIFIY - GENERATED CODE
283283
</execution>
284284
</executions>
285285
<configuration>
286-
<source>1.6</source>
287-
<target>1.6</target>
286+
<source>1.7</source>
287+
<target>1.7</target>
288288
<encoding>UTF-8</encoding>
289289
<debug>true</debug>
290290
<showWarnings>true</showWarnings>

0 commit comments

Comments
 (0)