7
3
Fork
You've already forked android
4

License page update #57

Merged
dzolnai merged 5 commits from Mino5531/android:license-updates into master 2026年04月23日 10:09:22 +02:00
Contributor
Copy link
  • Implement new license page with updated licenses for the dependencies using the aboutLibraries library.
  • Set minSdk to 23 (Android 6) to be able to use jetpack compose and composeView
    closes: #23
- Implement new license page with updated licenses for the dependencies using the aboutLibraries library. - Set minSdk to 23 (Android 6) to be able to use jetpack compose and composeView closes: #23

Thanks!

How are the JSON files generated under aboutLibrariesConfig/libraries? Is that the result of some tool running?

Can this also work without adding a new dependency? It doesn't have to be fancy :)

Thanks! How are the JSON files generated under `aboutLibrariesConfig/libraries`? Is that the result of some tool running? Can this also work _without_ adding a new dependency? It doesn't have to be fancy :)
Author
Contributor
Copy link

The JSON files under aboutLibrariesConfig/libraries are currently written by hand because there were either no tools to do that task automatically (eduvpn-common, ics-openvpn, wireguard) or the tools that do exist don't really work reliably or only work for projects on GitHub (Go dependencies).

The main JSON file which contains all the merged data (so the manually written JSON files and the automatically detected dependencies) is located at app/src/main/assets/aboutLibraries.json and is generated by running ./gradlew exportLibraryDefinitions.

It is possible to create a license page without using the UI part of the aboutLibraries dependency; however, the dependency is also used for collecting all the data about the Android dependencies (JUnit, OkHttp, etc.).

The JSON files under `aboutLibrariesConfig/libraries` are currently written by hand because there were either no tools to do that task automatically (eduvpn-common, ics-openvpn, wireguard) or the tools that do exist don't really work reliably or only work for projects on GitHub (Go dependencies). The main JSON file which contains all the merged data (so the manually written JSON files and the automatically detected dependencies) is located at `app/src/main/assets/aboutLibraries.json` and is generated by running `./gradlew exportLibraryDefinitions`. It is possible to create a license page without using the UI part of the `aboutLibraries` dependency; however, the dependency is also used for collecting all the data about the Android dependencies (JUnit, OkHttp, etc.).
Mino5531 changed title from (削除) WIP: License page update (削除ここまで) to License page update 2026年04月22日 16:10:51 +02:00
Author
Contributor
Copy link

Should I update the build scripts, so that they rebuild the aboutLibraries.json file every time, before we merge this?

Should I update the build scripts, so that they rebuild the `aboutLibraries.json` file every time, before we merge this?
Collaborator
Copy link

Yes please, otherwise I'm afraid it would be often forgotten :)

Yes please, otherwise I'm afraid it would be often forgotten :)
Author
Contributor
Copy link

Alright, I have added the task exportLibraryDefinitions as a dependency for all release related tasks which should ensure that the aboutLibraries.json file is always up to date for release builds

Alright, I have added the task `exportLibraryDefinitions` as a dependency for all release related tasks which should ensure that the `aboutLibraries.json` file is always up to date for release builds
Collaborator
Copy link

Thanks for the update and your contribution in general.
I tested it, and it works fine, looks nice as well, both in light and dark mode.

Thanks for the update and your contribution in general. I tested it, and it works fine, looks nice as well, both in light and dark mode.
Sign in to join this conversation.
No reviewers
Milestone
Clear milestone
No items
No milestone
Projects
Clear projects
No items
No project
Assignees
Clear assignees
No assignees
3 participants
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
eduVPN/android!57
Reference in a new issue
eduVPN/android
No description provided.
Delete branch "Mino5531/android:license-updates"

Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?