Skip to content

Commit

Permalink
Merge branch 'master' into to/#94-rtd-integration
Browse files Browse the repository at this point in the history
  • Loading branch information
sebastian-peter authored Apr 1, 2022
2 parents cbcf9c2 + 5e11244 commit e64ea3f
Show file tree
Hide file tree
Showing 6 changed files with 14 additions and 6 deletions.
2 changes: 1 addition & 1 deletion Jenkinsfile
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@ def mavenCentralSignKeyId = "a1357827-1516-4fa2-ab8e-72cdea07a692"
//// define and setjava version ////
//// requires the java version to be set in the internal jenkins java version management
//// use identifier accordingly
def javaVersionId = 'jdk-8'
def javaVersionId = 'jdk-17'

//// set java version method (needs node{} for execution)
def setJavaVersion(javaVersionId) {
Expand Down
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -94,7 +94,7 @@ If you want to provide this future feel free to hand in an issue or a pull reque
### Requirements
* Unix based OS
* [ecCodes](https://confluence.ecmwf.int//display/ECC/Releases) installed
* JRE 1.8 installed
* JRE 17 installed
* access to a postgresql database
* internet access
* write permission on download directory
Expand Down
2 changes: 1 addition & 1 deletion build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ ext {
hibernateVersion = '5.3.3.Final'
log4jVersion = '2.17.1'
picoliVersion = '4.6.1'
javaVersion = JavaVersion.VERSION_1_8
javaVersion = JavaVersion.VERSION_17

scriptsLocation = 'gradle' + File.separator + 'scripts' + File.separator //location of script plugins
mainClass = 'edu.ie3.tools.Main'
Expand Down
9 changes: 9 additions & 0 deletions gradle.properties
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
# Workaround to make spotless work with java 17 -
# see https://github.com/diffplug/spotless/tree/main/plugin-gradle#google-java-format and
# https://github.com/ie3-institute/DWDWeatherTools/issues/124 for details
org.gradle.jvmargs=\
--add-exports jdk.compiler/com.sun.tools.javac.api=ALL-UNNAMED \
--add-exports jdk.compiler/com.sun.tools.javac.file=ALL-UNNAMED \
--add-exports jdk.compiler/com.sun.tools.javac.parser=ALL-UNNAMED \
--add-exports jdk.compiler/com.sun.tools.javac.tree=ALL-UNNAMED \
--add-exports jdk.compiler/com.sun.tools.javac.util=ALL-UNNAMED
2 changes: 1 addition & 1 deletion gradle/wrapper/gradle-wrapper.properties
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
distributionBase=GRADLE_USER_HOME
distributionPath=wrapper/dists
distributionUrl=https\://services.gradle.org/distributions/gradle-6.9-bin.zip
distributionUrl=https\://services.gradle.org/distributions/gradle-7.4.2-bin.zip
zipStoreBase=GRADLE_USER_HOME
zipStorePath=wrapper/dists
3 changes: 1 addition & 2 deletions src/main/java/edu/ie3/tools/Converter.java
Original file line number Diff line number Diff line change
Expand Up @@ -310,8 +310,7 @@ public void convertTimeStep(ZonedDateTime modelRun, int timeStep, String folderP
}

// update the entities with the extraction results
entities
.parallelStream()
entities.parallelStream()
.forEach(
entity ->
// get each parameter from the extraction results and update the entity accordingly
Expand Down

0 comments on commit e64ea3f

Please sign in to comment.