Skip to content

Build cleanup: JDK 25 toolchain, JUnit 6, line endings - #84

Merged
mperor merged 1 commit into
masterfrom
PROJECT/build-cleanup
Oct 22, 2026
Merged

mperor merged 1 commit into
masterfrom
PROJECT/build-cleanup

Conversation

@mperor

@mperor mperor commented Oct 22, 2026 •

Copy link
Copy Markdown
Owner
  • Gradle toolchain instead of sourceCompatibility/targetCompatibility: Gradle now picks JDK 25 regardless of the java on PATH (previously a JDK 21 default failed with invalid source release: 25). Added foojay-resolver-convention so a missing JDK is downloaded automatically.
  • JUnit 5.11.3 → 6.1.3 (BOM). All tests pass without changes.
  • CI also publishes Common test results (it was the only module missing from the list).
  • .gitattributes: text=auto with explicit eol=lf for gradlew and eol=crlf for *.bat; test resources under JavaReleases/src/test/resources are marked -text so encoding fixtures stay byte-for-byte intact. The index was already all LF, so renormalization changed no files.
  • .gitignore: /HelloWorld.class never matched (the Java6 test runs in JavaReleases/) — now ignores both HelloWorld.java and .class leftovers there.

@github-actions

Copy link
Copy Markdown

Test Results

260 tests  +2   257 ✅ +2   6s ⏱️ -1s
 78 suites +1     3 💤 ±0 
 78 files   +1     0 ❌ ±0 

Results for commit f22664c. ± Comparison against base commit 1b151e0.

This pull request skips 1 and un-skips 1 tests.
pl.mperor.lab.java.design.pattern.creational.singleton.SingletonTest ‑ testThreadSafe()
pl.mperor.lab.java.design.pattern.creational.singleton.SingletonTest ‑ testLazyInitialized()

@mperor
mperor merged commit d8443fe into master Oct 22, 2026
2 checks passed
@mperor
mperor deleted the PROJECT/build-cleanup branch October 22, 2026 21:07
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant