Commit 4c8abbba7ab5768bc0cbdfbfff58ddf1227a33df

Authored by Nathanael Jourdane
1 parent 8a698605
Exists in master

compile in 1.7

.classpath
... ... @@ -22,7 +22,7 @@
22 22 <attribute name="maven.pomderived" value="true"/>
23 23 </attributes>
24 24 </classpathentry>
25   - <classpathentry kind="con" path="org.eclipse.jdt.launching.JRE_CONTAINER/org.eclipse.jdt.internal.debug.ui.launcher.StandardVMType/JavaSE-1.8"/>
  25 + <classpathentry kind="con" path="org.eclipse.jdt.launching.JRE_CONTAINER/org.eclipse.jdt.internal.debug.ui.launcher.StandardVMType/JavaSE-1.7"/>
26 26 <classpathentry kind="con" path="org.eclipse.m2e.MAVEN2_CLASSPATH_CONTAINER">
27 27 <attributes>
28 28 <attribute name="maven.pomderived" value="true"/>
... ...
.settings/org.eclipse.jdt.core.prefs
1 1 eclipse.preferences.version=1
2 2 org.eclipse.jdt.core.compiler.codegen.inlineJsrBytecode=enabled
3   -org.eclipse.jdt.core.compiler.codegen.targetPlatform=1.8
4   -org.eclipse.jdt.core.compiler.compliance=1.8
  3 +org.eclipse.jdt.core.compiler.codegen.targetPlatform=1.7
  4 +org.eclipse.jdt.core.compiler.compliance=1.7
5 5 org.eclipse.jdt.core.compiler.problem.assertIdentifier=error
6 6 org.eclipse.jdt.core.compiler.problem.enumIdentifier=error
7 7 org.eclipse.jdt.core.compiler.problem.forbiddenReference=warning
8   -org.eclipse.jdt.core.compiler.source=1.8
  8 +org.eclipse.jdt.core.compiler.source=1.7
... ...
pom.xml
... ... @@ -21,6 +21,19 @@
21 21 <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
22 22 </properties>
23 23  
  24 + <build>
  25 + <plugins>
  26 + <plugin>
  27 + <artifactId>maven-compiler-plugin</artifactId>
  28 + <version>3.3</version>
  29 + <configuration>
  30 + <source>1.7</source>
  31 + <target>1.7</target>
  32 + </configuration>
  33 + </plugin>
  34 + </plugins>
  35 + </build>
  36 +
24 37 <dependencies>
25 38 <dependency>
26 39 <groupId>com.google.code.gson</groupId>
... ...