Skip to content

Commit

Permalink
Updated to jdk 12
Browse files Browse the repository at this point in the history
  • Loading branch information
manastalukdar committed Jun 7, 2019
1 parent 678b291 commit 978eaf9
Show file tree
Hide file tree
Showing 7 changed files with 40 additions and 8 deletions.
2 changes: 1 addition & 1 deletion .circleci/config.yml
Expand Up @@ -29,7 +29,7 @@ jobs:
<<: *defaults
docker:
# specify the version you desire here
- image: circleci/openjdk:11-jdk-node-browsers
- image: circleci/openjdk:12-jdk-node-browsers
environment:
CC_TEST_REPORTER_ID: $CC_TEST_REPORTER_ID
COVERALLS_REPO_TOKEN: $COVERALLS_REPO_TOKEN
Expand Down
4 changes: 2 additions & 2 deletions .travis.yml
Expand Up @@ -3,8 +3,8 @@ dist: xenial
language: java

jdk:
- oraclejdk11
# - openjdk11
- oraclejdk12
# - openjdk12

branches:
only:
Expand Down
2 changes: 1 addition & 1 deletion appveyor.yml
Expand Up @@ -11,7 +11,7 @@ image:
- Ubuntu

# todo: https://github.com/appveyor/ci/issues/2160
stack: node 9, jdk 11, python 3.7.1 x64
stack: node 9, jdk 12, python 3.7.1 x64

install:
- cmd: "SET JAVA_HOME=C:\\Program Files\\Java\\jdk11"
Expand Down
4 changes: 2 additions & 2 deletions build.gradle
Expand Up @@ -45,8 +45,8 @@ jacocoTestCoverageVerification {
}

compileTestJava {
sourceCompatibility = 11
targetCompatibility = 11
sourceCompatibility = 12
targetCompatibility = 12
options.compilerArgs += ['-parameters', '-g']
}

Expand Down
Binary file modified gradle/wrapper/gradle-wrapper.jar
Binary file not shown.
18 changes: 17 additions & 1 deletion gradlew
@@ -1,5 +1,21 @@
#!/usr/bin/env sh

#
# Copyright 2015 the original author or authors.
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing, software
# distributed under the License is distributed on an "AS IS" BASIS,
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
# See the License for the specific language governing permissions and
# limitations under the License.
#

##############################################################################
##
## Gradle start up script for UN*X
Expand Down Expand Up @@ -28,7 +44,7 @@ APP_NAME="Gradle"
APP_BASE_NAME=`basename "$0"`

# Add default JVM options here. You can also use JAVA_OPTS and GRADLE_OPTS to pass JVM options to this script.
DEFAULT_JVM_OPTS='"-Xmx64m"'
DEFAULT_JVM_OPTS='"-Xmx64m" "-Xms64m"'

# Use the maximum available, or set MAX_FD != -1 to use that value.
MAX_FD="maximum"
Expand Down
18 changes: 17 additions & 1 deletion gradlew.bat
@@ -1,3 +1,19 @@
@rem
@rem Copyright 2015 the original author or authors.
@rem
@rem Licensed under the Apache License, Version 2.0 (the "License");
@rem you may not use this file except in compliance with the License.
@rem You may obtain a copy of the License at
@rem
@rem http://www.apache.org/licenses/LICENSE-2.0
@rem
@rem Unless required by applicable law or agreed to in writing, software
@rem distributed under the License is distributed on an "AS IS" BASIS,
@rem WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
@rem See the License for the specific language governing permissions and
@rem limitations under the License.
@rem

@if "%DEBUG%" == "" @echo off
@rem ##########################################################################
@rem
Expand All @@ -14,7 +30,7 @@ set APP_BASE_NAME=%~n0
set APP_HOME=%DIRNAME%

@rem Add default JVM options here. You can also use JAVA_OPTS and GRADLE_OPTS to pass JVM options to this script.
set DEFAULT_JVM_OPTS="-Xmx64m"
set DEFAULT_JVM_OPTS="-Xmx64m" "-Xms64m"

@rem Find java.exe
if defined JAVA_HOME goto findJavaFromJavaHome
Expand Down

0 comments on commit 978eaf9

Please sign in to comment.