Skip to content

fix: Mistake inside ExcellentEconomy enum name (depreciate old usage) - #9

Merged
Maxlego08 merged 1 commit into
GroupeZ-dev:developfrom
1robie:develop
Aug 10, 2026
Merged

fix: Mistake inside ExcellentEconomy enum name (depreciate old usage)#9
Maxlego08 merged 1 commit into
GroupeZ-dev:developfrom
1robie:develop

Conversation

@1robie

@1robie 1robie commented Aug 7, 2026

Copy link
Copy Markdown
Contributor

This pull request updates the project's Gradle build system to use Gradle 9.6.1 and Java 25, and introduces improvements to the Currencies enum to support deprecated aliases for backward compatibility. Additionally, it refines the Gradle wrapper scripts for better error handling and compliance, and updates documentation to guide users on resolving currency names safely.

Build system upgrades and compatibility:

  • Upgraded Gradle from version 8.8 to 9.6.1 and set the Java version to 25 in the build workflow for improved compatibility and access to the latest features. (gradle/wrapper/gradle-wrapper.properties, .github/workflows/build.yml) [1] [2]
  • Enhanced Gradle wrapper scripts (gradlew, gradlew.bat) with SPDX license identifiers, improved error messages, better environment handling, and switched to using the -jar option for launching Gradle. (gradlew, gradlew.bat) [1] [2] [3] [4] [5] [6] [7] [8] [9] [10] [11]

Currencies enum improvements:

  • Added a deprecated alias EXCELLENTEECONOMY for EXCELLENTECONOMY in the Currencies enum, ensuring old configs and code remain compatible, and introduced the fromName(String) method to resolve names safely while logging warnings for deprecated usage. (src/main/java/fr/traqueur/currencies/Currencies.java) [1] [2] [3]

Documentation updates:

  • Updated the README to correct the currency name, document the new fromName(String) method, and clarify the handling of deprecated aliases for backward compatibility. (readme.md) [1] [2]

feat: update gradle to 9.6.1, need to compile with jdk 25 (excellenteconomy was compile with jdk 25)
@codacy-production

Copy link
Copy Markdown

Up to standards ✅

🟢 Issues 0 issues

Results:
0 new issues

View in Codacy

🟢 Metrics 31 complexity · 0 duplication

Metric Results
Complexity 31
Duplication 0

View in Codacy

NEW Get contextual insights on your PRs based on Codacy's metrics, along with PR and Jira context, without leaving GitHub. Enable AI reviewer
TIP This summary will be updated as you push new changes.

@Maxlego08
Maxlego08 merged commit 9cf5001 into GroupeZ-dev:develop Aug 10, 2026
2 checks passed
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.

2 participants