Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Dokka: fix compatibility with multiplatform and configuration cache #1493

Open
wants to merge 7 commits into
base: master
Choose a base branch
from

Conversation

Luna712
Copy link
Contributor

@Luna712 Luna712 commented Jan 16, 2025

Fixes many <Error class: unknown class> such as with LiveData and RecyclerView as well as potential conflicts in class names between modules

TODO:

  • Fix <Error class: unknown class> for DataBinding classes
  • Fix <Error class: unknown class> R class
  • Fix <Error class: unknown class> for some jackson and nicehttp classes in library only
  • Fix missing source link in App module
  • Fix overall project to be Cloudstream again

I had DataBinding and R fixed locally by adding the directories the generated files are in to sourceRoots, however that means the dokka script action would also need to build the entire app to get there so decided not to push here, We may be able to find a solution later but testing this locally it seems to fix every other remaining <Error class: unknown class> issue.

This also significantly simplifies the dokka configuration and removes the need to maintain the dokkaImplementation dependencies separately.

Removes libs that were only used in docs as well.

Also, this combined with #1494 adds full support for configuration and build cache across cloudstream entirely.

Fixes many "<Error class: unknown class>" such as with LiveData and RecyclerView as well as potential conflicts in class names between modules
@Luna712 Luna712 marked this pull request as ready for review January 17, 2025 03:21
@@ -41,6 +41,8 @@ jobs:
run: |
cd $GITHUB_WORKSPACE/dokka/
rm -rf "./-cloudstream"
Copy link
Contributor Author

@Luna712 Luna712 Jan 17, 2025

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

NOTE: This line can be removed in a follow-up but it needs to be kept for the next run to remove the old directory in recloudstream/dokka.

@Luna712 Luna712 changed the title Dokka: fix compatibility with multiplatform/modules Dokka: fix compatibility with multiplatform Jan 17, 2025
@Luna712 Luna712 changed the title Dokka: fix compatibility with multiplatform Dokka: fix compatibility with multiplatform and configuration cache Jan 18, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant