Refactor native build system, replace Kermit, modernize project#187
Merged
kdroidFilter merged 11 commits intomasterfrom Apr 10, 2026
Merged
Refactor native build system, replace Kermit, modernize project#187kdroidFilter merged 11 commits intomasterfrom
kdroidFilter merged 11 commits intomasterfrom
Conversation
…rnize project - Replace Kermit logger with lightweight multiplatform TaggedLogger (zero external dependency) - Use nucleus.core-runtime NativeLibraryLoader with persistent cache instead of temp files - Rename JNI bridge objects: SharedVideoPlayer → LinuxNativeBridge/MacNativeBridge, MediaFoundationLib → WindowsNativeBridge - Namespace native resources under composemediaplayer/native/ with NATIVE_LIBS_OUTPUT_DIR support - Add ktlint (14.2.0) + detekt (1.23.8) linter configuration - Add Linux x86-64/aarch64 native builds to CI (build-natives.yml) - Split CI into parallel jobs: jvm, android, ios, js, wasmJs, lint - Add GraalVM native-image metadata (reachability-metadata.json) - Migrate Compose dependencies to version catalog (libs.compose.*) - Remove unused dependencies: Kermit, SLF4J, JNA, GStreamer Java, platformtools - Upgrade: Gradle 9.4.1, Kotlin 2.3.20, Compose 1.10.3, kotlinx-datetime 0.7.1 (non-compat) - Drop iosX64 target (Intel Mac simulators obsolete) - Replace platformtools.darkmodedetector with Compose isSystemInDarkTheme()
…ncompatible platform dir naming)
…x Swift MTAudioProcessingTap API for macOS 15
…int ignoreFailures - Upload artifacts from build/nativeLibs/ (parent dir) so subdirectory names (linux-x86-64/, darwin-aarch64/, etc.) are preserved when merged - Add root-level ktlint ignoreFailures to fix :ktlintKotlinScriptCheck failure - Consolidate publish workflow downloads to use merge-multiple pattern
…files - Introduced `.editorconfig` for unified code style across editors and IDEs. - Fixed trailing commas, indentation, and line breaks in Kotlin source and test files for consistency. - Improved Kotlin formatting to align with newly defined coding standards.
- Fix LinuxVideoPlayerStateTest: replace removed SharedVideoPlayer with LinuxNativeBridge - Fix MacFrameUtilsTest: add missing dstRowBytes parameter to copyBgraFrame calls - Upgrade all GitHub Actions to latest versions (Node.js 24): checkout v4→v6, setup-java v4→v5, upload-artifact v4→v7, download-artifact v4→v8, upload-pages-artifact v3→v4, deploy-pages v4→v5
Avoids "Unsupported Operating System" warning when building on Linux/Windows where Xcode toolchain is not available.
Remove leftLevel/rightLevel from VideoPlayerState interface and all platform implementations (Android, iOS, JVM, Web), native bridges (C, C++, Swift), JNI bindings, sample app UI, and tests.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
TaggedLogger— zero external dependencynucleus.core-runtimeNativeLibraryLoaderwith persistent cache (~/.cache/) instead of temp files withdeleteOnExit()SharedVideoPlayer→LinuxNativeBridge/MacNativeBridge,MediaFoundationLib→WindowsNativeBridgeresources/<platform>/→resources/composemediaplayer/native/<platform>/withNATIVE_LIBS_OUTPUT_DIRenv variable support for CINATIVE_LIBS_OUTPUT_DIRpattern (same as ComposeNativeTray)native-image.properties+reachability-metadata.json)libs.compose.*) — no more deprecatedcompose.*accessorsiosX64()target, cocoapods version fixTest plan
./gradlew ktlintCheck detekt— linting passes