mirror of
https://github.com/vitorpamplona/amethyst.git
synced 2026-08-11 08:47:33 +00:00
composemediaplayer 0.10.0 publishes kotlinx-coroutines-test as a runtime dependency in its POM. That jar ships a META-INF/services registration for kotlinx.coroutines.CoroutineExceptionHandler -> ExceptionCollectorAsService. The release-only ProGuard pass strips the unreferenced provider class but keeps the services manifest, so the packaged dmg crashed at startup with a ServiceConfigurationError the first time the coroutine exception handler loaded (DesktopHttpClient.<init>). Dev runs were unaffected since they don't run ProGuard. Exclude the test-only artifact so it never lands on the production classpath. Verified: rebuilt release dmg no longer bundles the jar and launches clean. Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>