Skip to content

Commit

Permalink
Merge pull request #102 from gruelbox/java-11
Browse files Browse the repository at this point in the history
Switch build to Java 11
  • Loading branch information
badgerwithagun authored Oct 8, 2019
2 parents 84cf96d + 30409f8 commit 12f2c45
Show file tree
Hide file tree
Showing 5 changed files with 8 additions and 8 deletions.
6 changes: 3 additions & 3 deletions .circleci/config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ mainenvironment: &mainenvironment
BUILD_ARGS: -B -Dorg.slf4j.simpleLogger.log.org.apache.maven.cli.transfer.Slf4jMavenTransferListener=warn
setup: &setup
docker:
- image: circleci/openjdk:8-jdk-browsers
- image: circleci/openjdk:11-jdk-browsers
environment: *mainenvironment
working_directory: ~/orko

Expand Down Expand Up @@ -164,7 +164,7 @@ jobs:
steps:
- run:
name: apt update
command: sudo apt-get update -y
command: sudo rm -rf /var/lib/apt/lists/* && sudo apt-get update -y
- run:
name: Install packages
command: sudo apt-get install xvfb libgtk2.0-0 libnotify-dev libgconf-2-4 libnss3 libxss1 libasound2
Expand Down Expand Up @@ -203,7 +203,7 @@ jobs:

"Unit tests (MySQL)":
docker:
- image: circleci/openjdk:8-jdk-browsers
- image: circleci/openjdk:11-jdk-browsers
environment: *mainenvironment
- image: circleci/mysql:5.7
environment:
Expand Down
2 changes: 1 addition & 1 deletion orko-base/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -135,4 +135,4 @@
</plugin>
</plugins>
</build>
</project>
</project>
Original file line number Diff line number Diff line change
Expand Up @@ -321,7 +321,7 @@ public String toString() {

public final class State {

public final StateManager<String> persistent = new StateManager<String>() {
public final StateManager<String> persistent = new StateManager<>() {

@Override
public void set(String key, String value) {
Expand Down
4 changes: 2 additions & 2 deletions pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -210,8 +210,8 @@

<properties>
<min.maven.version>3.0.0</min.maven.version>
<maven.compiler.source>1.8</maven.compiler.source>
<maven.compiler.target>1.8</maven.compiler.target>
<maven.compiler.source>11</maven.compiler.source>
<maven.compiler.target>11</maven.compiler.target>
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
<project.reporting.outputEncoding>UTF-8</project.reporting.outputEncoding>
<skip.surefire.tests>${skipTests}</skip.surefire.tests>
Expand Down
2 changes: 1 addition & 1 deletion system.properties
Original file line number Diff line number Diff line change
@@ -1 +1 @@
java.runtime.version=1.8
java.runtime.version=11

0 comments on commit 12f2c45

Please sign in to comment.