Repository navigation
2.0: Gradle + GitHub Actions, new API, no dependencies - #2
Merged
Merged
Conversation
Infrastructure (based on sanyarnd/applocker): - Gradle 9 with version catalog, Java 11 bytecode built with JDK 25 toolchain - Error Prone + NullAway, Spotless with palantir-java-format, -Werror - JUnit 6, Mockito, Instancio, AssertJ, JaCoCo - GitHub Actions: build on Linux/Windows/macOS, publication check, release to Maven Central and GitHub Packages, GitHub Pages - Remove Maven wrapper, Travis CI, Checkstyle and Bintray configuration Fixes: - Implement macOS locations, use XDG implementation for other Unix-likes - Read Linux user directories from user-dirs.dirs - Ignore relative XDG values, respect TMPDIR, no relative "~" home - Windows: use Shell32Util/FOLDERID_Profile, drop userenv binding and manual native memory reading, fix "nullnull" home fallback - Darwin is no longer detected as Windows - Lazy delegate initialization in StandardPaths
- Remove jna-platform: Windows directories come from the environment and the User Shell Folders registry key (reg.exe, queried once) - All methods return Optional<Path>, NoSuchPathException is removed - StandardPaths.forApp(name) returns AppPaths with cache/config/data/ dataLocal/state/runtime application directories - New locations: state, runtime, templates, publicShare - Windows: config() is the roaming directory
sanyarnd
force-pushed
the
claude/epic-turing-j666fo
branch
from
October 8, 2026 21:44
d776b04 to
6f45b93
Compare
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Infrastructure (based on sanyarnd/applocker)
release = 11), JDK 25 toolchain@NullMarked), Spotless + palantir-java-format,-Xlint:all -Werror, strict javadocbuild.yml(ubuntu/windows/macos matrix +publishToMavenLocalcheck + aggregateBuildjob),release.yml(tagX.Y.Z→ Maven Central + GitHub Packages + GitHub release),pages.yml, DependabotAPI (2.0)
jna-platformremoved. Windows directories come from the environment (APPDATA,LOCALAPPDATA, …) and from theUser Shell Foldersregistry key read viareg.exe(once per JVM), so moved folders are supportedOptional<Path>;NoSuchPathExceptionremovedStandardPaths.forApp("name")→AppPathswithcache/config/data/dataLocal/state/runtime(on Windows:%LOCALAPPDATA%\name\cache,%APPDATA%\name\config, …)state(),runtime(),templates(),publicShare()config()→%APPDATA%(Roaming)Fixes
ExceptionInInitializerError); XDG implementation for other Unix-like systemsdarwinwas detected as Windowsuser-dirs.dirsis read, relativeXDG_*values are ignored,$TMPDIRis respected, no relative~"nullnull"home fallback467 tests locally, ~92% coverage (the rest is the real
reg.execall, which is tested on the Windows runner).Before the first release
Secrets in the
releaseenvironment:MAVEN_CENTRAL_USERNAME,MAVEN_CENTRAL_PASSWORD,GPG_PRIVATE_KEY,GPG_KEY_PASSPHRASE; theio.github.sanyarndnamespace must be verified in the Central Portal.