Skip to content

Commit

Permalink
Set compiler source version in pom.xml
Browse files Browse the repository at this point in the history
  • Loading branch information
davidstaheli committed Sep 1, 2018
1 parent 2ba47f8 commit b6eb43e
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 2 deletions.
4 changes: 2 additions & 2 deletions build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -6,8 +6,8 @@ version = '1.0-SNAPSHOT'

description = """Hello world sample web app"""

sourceCompatibility = 1.8
targetCompatibility = 1.8
sourceCompatibility = 1.5
targetCompatibility = 1.5

repositories {
maven { url "http://repo.maven.apache.org/maven2" }
Expand Down
8 changes: 8 additions & 0 deletions pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,7 @@
<version>1.0-SNAPSHOT</version>
<name>Hello world sample web app</name>
<url>http://maven.apache.org</url>

<dependencies>
<dependency>
<groupId>junit</groupId>
Expand All @@ -15,7 +16,14 @@
<scope>test</scope>
</dependency>
</dependencies>

<build>
<finalName>helloworld</finalName>
</build>

<properties>
<maven.compiler.source>1.8</maven.compiler.source>
<maven.compiler.target>1.8</maven.compiler.target>
</properties>

</project>

0 comments on commit b6eb43e

Please sign in to comment.