Repository navigation
[LLM] build: migrate to AboutLibraries and upgrade build toolchain - #167
Conversation
F-Droid build was failing (#166) because com.google.android.gms:play-services-oss-licenses uses a proprietary Google SDK license (non-FLOSS). Replaced Google OSS licenses plugin and runtime dependencies across all flavors with Mike Penz's AboutLibraries, which is 100% Apache-2.0 FLOSS. What: - Add com.mikepenz.aboutlibraries.plugin.android (15.2.0) and aboutlibraries-compose-m3 - Remove com.google.android.gms:oss-licenses-plugin and play-services-oss-licenses - Replace manual binary license parsing in AboutScreen.kt with AboutLibraries LibrariesContainer - Add keep.xml to preserve aboutlibraries resource under AGP 9 resource shrinking - Add AboutScreenTest with Robolectric unit tests for the About screen and licenses view - Stabilize HistoryViewModelTest Turbine timeouts and test initialization Why: - Resolves non-FLOSS dependency blocker for F-Droid builds - Provides richer license attribution with native Compose Material 3 UI Fixes #166 gemini-3.8-flash
|
This PR is a solid and clean migration from Google's |
anysoftkeyboard-bot
left a comment
There was a problem hiding this comment.
Replacing play-services-oss-licenses with AboutLibraries resolves F-Droid build Scanner issues, simplifies license parsing in AboutScreen, and stabilizes unit test execution timing in HistoryViewModelTest.
anysoftkeyboard-bot
left a comment
There was a problem hiding this comment.
Solid and clean migration from Google's play-services-oss-licenses to AboutLibraries, resolving F-Droid build scanner issues, simplifying UI, and improving test stability.
Summary
Fixes #166 and resolves build/dependency incompatibilities from #154.
Problem
com.google.android.gms:play-services-oss-licensesuses a proprietary Google SDK license, causing F-Droid's build scanners to reject the application.Solution
com.mikepenz.aboutlibraries.plugin.android:15.2.0andaboutlibraries-compose-m3:15.2.0), which is 100% Apache-2.0 FLOSS across all flavors.AboutScreen.ktwith AboutLibraries' native Compose Material 3LibrariesContainer.managedDevicesDSL tolocalDevicesand removed obsolete standalone Kotlin plugin applicationsAboutScreenTestand stabilized Turbine test timeouts inHistoryViewModelTest.Closes #166