Skip to content

Commit

Permalink
Move to Java 8 as minumum
Browse files Browse the repository at this point in the history
  • Loading branch information
adamretter committed Jul 3, 2020
1 parent 76b5b7f commit 973c998
Show file tree
Hide file tree
Showing 2 changed files with 14 additions and 8 deletions.
9 changes: 2 additions & 7 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,20 +14,15 @@ branches:
- master

addons:
homebrew:
update: true
casks:
- zulu7
- maven
apt:
packages:
- openjdk-7-jdk
- openjdk-8-jdk
- maven

before_install:
- |
if [ "${TRAVIS_OS_NAME}" == windows ]; then
choco install -y zulu7
choco install -y zulu8
choco install -y maven
export PATH=/C/ProgramData/chocolatey/lib/maven/apache-maven-3.6.3/bin:$PATH
echo "PATH=${PATH}"
Expand Down
13 changes: 12 additions & 1 deletion pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,8 @@
<url>http://mycila.github.io/${mycila.github.name}</url>

<properties>
<jdk.version>1.6</jdk.version>
<jdk.version>1.8</jdk.version>
<source.encoding>UTF-8</source.encoding>
<mycila.github.name>license-maven-plugin</mycila.github.name>
<junit.version>4.12</junit.version>
</properties>
Expand Down Expand Up @@ -177,6 +178,16 @@
<tag>${project.artifactId}-${project.version}</tag>
</configuration>
</plugin>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-compiler-plugin</artifactId>
<version>3.8.1</version>
<configuration>
<source>${jdk.version}</source>
<target>${jdk.version}</target>
<encoding>${source.encoding}</encoding>
</configuration>
</plugin>
<plugin>
<groupId>com.mycila</groupId>
<artifactId>license-maven-plugin</artifactId>
Expand Down

0 comments on commit 973c998

Please sign in to comment.