-
Notifications
You must be signed in to change notification settings - Fork 139
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
build: require a fixed 'major.minor.patch' Java version to be installed #13108
Conversation
Node: HAPI Test (Restart) Results2 tests 2 ✅ 7m 56s ⏱️ Results for commit 3553bb1. ♻️ This comment has been updated with latest results. |
Node: HAPI Test (Node Death Reconnect) Results2 tests 2 ✅ 8m 59s ⏱️ Results for commit 3553bb1. ♻️ This comment has been updated with latest results. |
Node: HAPI Test (Token) Results235 tests 233 ✅ 21m 18s ⏱️ Results for commit 3553bb1. ♻️ This comment has been updated with latest results. |
Node: HAPI Test (Crypto) Results335 tests 335 ✅ 40m 13s ⏱️ Results for commit 3553bb1. ♻️ This comment has been updated with latest results. |
Node: HAPI Test (Misc) Results464 tests 454 ✅ 39m 58s ⏱️ Results for commit 3553bb1. ♻️ This comment has been updated with latest results. |
Node: HAPI Test (Time Consuming) Results21 tests 21 ✅ 54m 19s ⏱️ Results for commit 3553bb1. ♻️ This comment has been updated with latest results. |
Node: Unit Test Results 2 305 files ±0 2 305 suites ±0 3h 11m 10s ⏱️ - 36m 30s Results for commit 3553bb1. ± Comparison against base commit 0288a4b. This pull request removes 3974 and adds 3738 tests. Note that renamed tests count towards both.
♻️ This comment has been updated with latest results. |
Node: HAPI Test (Smart Contract) Results592 tests 592 ✅ 1h 13m 6s ⏱️ Results for commit 3553bb1. ♻️ This comment has been updated with latest results. |
5797b3f
to
aec433b
Compare
build-logic/project-plugins/src/main/kotlin/com.hedera.hashgraph.java.gradle.kts
Outdated
Show resolved
Hide resolved
build-logic/project-plugins/src/main/kotlin/com.hedera.hashgraph.java.gradle.kts
Show resolved
Hide resolved
aec433b
to
3f55a8d
Compare
build-logic/settings-plugins/src/main/kotlin/com.hedera.hashgraph.settings.settings.gradle.kts
Show resolved
Hide resolved
1fece95
to
535b953
Compare
build-logic/project-plugins/src/main/kotlin/com.hedera.hashgraph.java.gradle.kts
Outdated
Show resolved
Hide resolved
535b953
to
fbea6a7
Compare
Thank you for the feedback @anthony-swirldslabs. I am also not super happy. |
Signed-off-by: Jendrik Johannes <[email protected]>
Signed-off-by: Jendrik Johannes <[email protected]>
fbea6a7
to
3553bb1
Compare
Codecov ReportAll modified and coverable lines are covered by tests ✅
Additional details and impacted files@@ Coverage Diff @@
## develop #13108 +/- ##
=============================================
- Coverage 61.73% 61.72% -0.01%
+ Complexity 31226 31223 -3
=============================================
Files 3442 3442
Lines 141267 141267
Branches 14780 14778 -2
=============================================
- Hits 87207 87199 -8
- Misses 50176 50185 +9
+ Partials 3884 3883 -1 ☔ View full report in Codecov by Sentry. |
Thanks, @jjohannes . The new version of the fix looks great. Approved. |
…ed (#13108) Signed-off-by: Jendrik Johannes <[email protected]> Signed-off-by: Bilyana Gospodinova <[email protected]>
Description:
This PR effectively removes using the Gradle Java Toolchains feature, as it cannot be used to auto-download a precise JDK version (see gradle/gradle#16628 (comment)). After experimenting with different things, I came to the conclusion that this is the best solution with current Gradle features.
This requires users to have the exact JDK required installed. This is documented in the "quickstart" guides once #12813 is merged.
I'll advocate for improving Gradle in this area and keep #12798 open for a better solution in the future. More details in that issue.
Related issue(s):
A first solution for #12798
Notes for reviewer:
Checklist