mikepenz / AboutLibraries

AboutLibraries automatically collects all dependencies and licenses of any gradle project (Kotlin MultiPlatform), and provides easy to integrate UI components for Android and Compose-jb environments
http://mikepenz.github.io/AboutLibraries/
Apache License 2.0
3.68k stars 423 forks source link

Upgrading to latest from 8.9.4 #1002

Closed korejan closed 4 months ago

korejan commented 4 months ago

Hi, I'm updating project files, the code using AboutLibraries was written by another developer and I have no familiarity with it. The only issue I had is LibsBuilder().withFields no longer exists, I removed the call and I didn't notice any issues but I wanted to double check and ask if there is meant to be new way to do this in 11.2.2 that I should be doing rather than only deleting the old code?

again I haven't noticed anything different with the results but just wanted to make sure.

Checklist

mikepenz commented 4 months ago

Good day @korejan

This is correct the withFields was removed and is no longer required. The API and plugin were significantly refactored since v8.9, and work very differently.

E.g. now a json file is build and included as resource which the lib will parse and display.

korejan commented 4 months ago

Thanks!