Skip to content

v2: language and formatType are now enums#3

Merged
adashrod merged 7 commits into
mainfrom
v2-language-enum
Jun 15, 2026
Merged

v2: language and formatType are now enums#3
adashrod merged 7 commits into
mainfrom
v2-language-enum

Conversation

@adashrod

Copy link
Copy Markdown
Owner
  • change Track#language to a new language enum
  • update Eact3toScanner's parsing to handle both language names (e.g. "English") and ISO-639-2/T codes (e.g. "eng")
  • change demuxByLanguage functions to accept enum languages instead of strings

items 1 and 3 are breaking changes

adashrod added 2 commits June 13, 2026 17:10
- update Eact3toScanner's parsing to handle both language names (e.g. "English") and ISO-639-2/T codes (e.g. "eng")
- change demuxByLanguage functions to accept enum languages instead of strings

items 1 and 3 are breaking changes
@adashrod adashrod changed the title v2: language is now an enum v2: language and formatType are now enums Jun 14, 2026
adashrod and others added 5 commits June 14, 2026 18:21
… really relevant since it doesn't depend on anything being published locally, but just to be correct.

- Change Iso639Language#fromToken to throw an exception on invalid input
Replace Ant build system with Gradle for better Sonatype Central compatibility:
- Add build.gradle with Maven publishing, GPG signing, and nexus-publish plugin
- Add settings.gradle and Gradle wrapper (8.14)
- Replace .github/workflows/ant.yml with gradle.yml (updated action versions)
- Remove build.xml, ivy.xml, ivySettings.xml, pomTemplate.xml
- Update CLAUDE.md with new build/publish commands
- Add .gradle and build/ to .gitignore

Gradle 8.14 requires Java 8+ for the source/target compatibility.
Use JAVA_HOME=/usr/lib/jvm/java-1.8.0-openjdk-amd64 ./gradlew when building.

Sonatype endpoints configured in build.gradle:
- Snapshots: https://central.sonatype.com/repository/maven-snapshots/
- Staging: https://ossrh-staging-api.central.sonatype.com/service/local/staging/deploy/maven2/

Co-Authored-By: Claude Haiku 4.5 <noreply@anthropic.com>
@adashrod adashrod merged commit af259c0 into main Jun 15, 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.

1 participant