Skip to content

Migrate to Gradle 9, extend country model, and add i18n support#3

Merged
Merkost merged 2 commits into
mainfrom
improvement/gradle9
Mar 27, 2026
Merged

Migrate to Gradle 9, extend country model, and add i18n support#3
Merkost merged 2 commits into
mainfrom
improvement/gradle9

Conversation

@Merkost
Copy link
Copy Markdown
Member

@Merkost Merkost commented Mar 27, 2026

Summary

  • Gradle 9 migration: Updated to Gradle 9 with AGP 9.0.1, extracted Android sample into a separate module (sample/androidApp + sample/shared)
  • Extended country model: Added continent, region, callingCode, currencyCode, and timezoneId fields to all 249 country entries
  • New i18n translations: Added 7 new languages (JA, PT, HI, KO, IT, TR, ID) bringing total to 14 supported locales
  • DSL & API improvements: @DslMarker, not{} combinator, Iterable query results, repository query methods, and String extension properties for country codes
  • Bug fixes: Data inaccuracies (Turkey/Belgium/Peru), FlagEmoji validation, CI workflow references, version generation from version catalog
  • CI updates: Fixed workflow references from :deci: to :countries-core:/:countries-i18n:, upgraded to checkout@v6

Test plan

  • JVM tests pass (./gradlew :countries-core:jvmTest :countries-i18n:jvmTest)
  • All country metadata validated (249 entries with continent, region, calling code, currency, timezone)
  • New translations verified for 7 added languages
  • DSL query tests pass (predicates, combinators, repository methods)
  • Sample app builds successfully with new module structure

Merkost and others added 2 commits March 26, 2026 11:24
Replace invalid builtBy chain with tasks.withType dependsOn to ensure
version file is generated before all Kotlin compilation tasks.

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
Copilot AI review requested due to automatic review settings March 27, 2026 03:52
Copy link
Copy Markdown

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Copilot wasn't able to review any files in this pull request.


💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

@Merkost Merkost merged commit c6ba3dc into main Mar 27, 2026
1 check 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