Skip to content

Commit 6f4be92

Browse files
Merge pull request #1463 from ie3-institute/pp/#1462-fix-checkjavaversiongradle
Included a doFirst clause into checkJavaVersion.gradle
2 parents 8784506 + 8efd66b commit 6f4be92

File tree

2 files changed

+2
-1
lines changed

2 files changed

+2
-1
lines changed

CHANGELOG.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -18,6 +18,7 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
1818
- Added mising fields to field validation [#1422](https://github.com/ie3-institute/PowerSystemDataModel/issues/1422)
1919
- Fixed the issues with rtd for Cylindrical thermal storage [#1273](https://github.com/ie3-institute/PowerSystemDataModel/issues/1273)
2020
- Updated Controlling_em for all the loads in readthedocs[#1447](https://github.com/ie3-institute/PowerSystemDataModel/issues/1447)
21+
- Included a doFirst clause into `checkJavaVersion.gradle` [#1462](https://github.com/ie3-institute/PowerSystemDataModel/issues/1462)
2122

2223
### Changed
2324
- Updated CI-Pipeline to run task `Deploy` and `Staging` only for `Main` [#1403](https://github.com/ie3-institute/PowerSystemDataModel/issues/1403)

gradle/scripts/checkJavaVersion.gradle

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ tasks.register("checkJavaVersion") {
44
group = 'Verification'
55
description = 'Enforces correct Java version'
66

7-
doLast {
7+
doFirst {
88
def foundVersion = JavaVersion.current()
99
if (foundVersion != javaVersion)
1010
throw new IllegalStateException("Wrong Java version: required is "

0 commit comments

Comments
 (0)