You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Extract jDisco library to separate GitHub repository and consume as Maven dependency
Removed the embedded jDisco module and migrated to consuming jDisco 1.2.0
as an external Maven dependency from GitHub Packages, improving modularity
and maintainability.
Changes:
- Remove jdisco/ subdirectory (59 files) - now maintained at github.com/bedaHovorka/jdisco
- Configure Gradle to fetch jDisco from GitHub Packages with mavenLocal() fallback
- Update Docker build to use GitHub authentication for package access
- Add .env.example for GitHub Packages credentials template
- Update CI/CD workflow to use GitHub token for dependency resolution
- Remove jDisco-specific Maven build from Docker multi-stage process
- Update all documentation to reflect external dependency model
GitHub Packages authentication required for builds:
- Set GITHUB_ACTOR and GITHUB_TOKEN environment variables
- Or configure ~/.gradle/gradle.properties with gpr.user and gpr.key
- CI/CD authentication automatic via GITHUB_TOKEN
Build system now uses three-tier fallback:
1. mavenLocal() cache (fastest, for local jDisco development)
2. GitHub Packages (requires authentication)
3. Build fails with clear error message
🤖 Generated with [Claude Code](https://claude.com/claude-code)
Co-Authored-By: Claude Sonnet 4.5 <noreply@anthropic.com>
Copy file name to clipboardExpand all lines: CLAUDE.md
+50-16Lines changed: 50 additions & 16 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -11,17 +11,22 @@ Railway Interlocking Simulator - A BSc thesis project (2006/2007) from Brno Univ
11
11
12
12
## Build System
13
13
14
-
This project uses Gradle with Kotlin DSL for building. Java 21 LTS is the minimum required version. The jDisco library module remains at Java 6 for compatibility and uses Maven.
14
+
This project uses Gradle with Kotlin DSL for building. Java 21 LTS is the minimum required version.
15
15
16
16
**Migration Notes**:
17
17
- Migrated from Apache Ant + Ivy to Gradle in January 2026
18
18
- Migrated from Java 11 to Java 21 LTS in January 2026
19
19
- Refactored deprecated Observable/Observer to PropertyChangeSupport
20
+
- Extracted jDisco library to separate repository in January 2026
2.**Tests must exist before modifications** - Any Java source file being modified MUST be covered by tests first. If tests don't exist, they must be written before making any changes
356
390
3.**Minimal changes only** - Make only the specific changes requested, nothing more
357
391
4.**No unsolicited modernization** - While the project now uses Java 21, do not update Java idioms to modern features, do not add new language features, do not restructure working code
358
-
5.**jDisco preservation** - The jDisco module must remain at Java 6 compatibility and should never be modified
392
+
5.**jDisco library** - jDisco is now maintained as a separate project. Do not modify jDisco code; report issues at https://github.com/bedavs/jDisco
359
393
360
394
This is a working historical codebase from 2007. Stability and preservation are more important than modernization.
361
395
@@ -561,13 +595,13 @@ The project uses GitHub Actions for automated build, test, and deployment workfl
The jDisco library (Java 6 compatible) has **no deprecated API usage**. It should remain at Java 6 compatibility as designed.
915
+
The jDisco library (Java 6 compatible) is now maintained as a separate project at https://github.com/bedavs/jDisco and has **no deprecated Java API usage**. It remains at Java 6 compatibility as designed.
882
916
883
-
**Note:** This analysis is documentation-only. No code changes have been made. See `docs/deprecated-api-report.md` for detailed findings, migration strategies, and recommendations.
917
+
**Note:** This analysis is documentation-only for the interlockSim codebase. See `docs/deprecated-api-report.md` for detailed findings about interlockSim. For jDisco deprecation analysis, see the jDisco repository.
0 commit comments