-
-
Notifications
You must be signed in to change notification settings - Fork 12.8k
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
freeplane: minor refactor, 1.11.8 -> 1.11.14 #312940
Conversation
I tried to update to 1.11.14, but I was blocked with:
|
@TomaSajt Hope you don't mind me pinging you here, but since you're the only one I know doing some java. I tried to upgrade to 1.11.14, but got an issue with a dependency. If you could have a look, I'll be very grateful. |
okio's naming has always been pretty weird in gradle, so we usually have some workarounds for it in packages that use it. In this case, the original author of the okio patch was really thorough, making sure that they don't hard-code any version numbers. However it looks like okio has changed its naming system for later versions and the patch no longer works as expected. Previously, we had to make a symlink for however, now the original file that needs to be symlinked is in the So I rewrote the logic for the symlinking, and it's pretty short (I also changed the comment) # com/squareup/okio/okio-jvm/x.y.z/okio-jvm-x.y.z.jar is expected to exist under com/squareup/okio/okio/x.y.z/okio-x.y.z.jar
while IFS="" read -r -d "" path; do
ln -s "$path" ''${path//okio-jvm/okio}
done < <(find "$out" -type f -name 'okio-jvm-*.jar' -print0) |
Co-authored-by: TomaSajt <62384384+TomaSajt@users.noreply.github.com>
Thank you !!!! |
Description of changes
Things done
nix.conf
? (See Nix manual)sandbox = relaxed
sandbox = true
nix-shell -p nixpkgs-review --run "nixpkgs-review rev HEAD"
. Note: all changes have to be committed, also see nixpkgs-review usage./result/bin/
)Add a 👍 reaction to pull requests you find important.