Gör splash.png-generering till en manuell build-task#100
Merged
Conversation
generateSplashImage kördes automatiskt via processResources, dvs vid varje build/test/jar. Texten "Starting Alipsa Accounting" renderas med det logiska typsnittet Font.SANS_SERIF, som slår mot olika fysiska typsnitt beroende på OS/JDK, så utdata-PNG:en blev inte byte-identisk mellan miljöer trots att inget faktiskt ändrats. Resultatet: en maskinberoende, spretig diff i den incheckade splash.png efter varje lokal build eller CI-körning. Tasken körs nu bara när man uttryckligen ber om den (./gradlew generateSplashImage), t.ex. efter att ha bytt logga eller text - resultatet granskas och checkas in separat. Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com>
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.
Summary
generateSplashImagekördes tidigare automatiskt viaprocessResources(dvs. vid varjebuild/test/jar). Texten renderas med det logiska typsnittetFont.SANS_SERIF, som slår mot olika fysiska typsnitt beroende på OS/JDK, så den incheckadesplash.pngblev en maskinberoende, spretig diff efter varje lokal build eller CI-körning trots att inget faktiskt ändrats../gradlew generateSplashImage.Test plan
./gradlew clean build -x test—generateSplashImagekörs inte längre,splash.pngorörd./gradlew generateSplashImage— fungerar fortfarande och genererar filen som väntat🤖 Generated with Claude Code