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

Refactor DokkatooKotlinAdapter, fix AndroidJVM target, add DokkatooAndroidAdapter #59

Merged
merged 18 commits into from
Apr 27, 2023

Conversation

aSemy
Copy link
Contributor

@aSemy aSemy commented Apr 25, 2023

fixes several issues discovered while investigating #57

  • Breaking change: add AndroidJVM target (technically adding an enum value is a breaking change, but it's unlikely anyone is using the enum as-is)
  • Deprecate KotlinPlatformTarget.key - replaced with an internal val that better matches DGP current display name of targets.
  • Refactor DokkatooKotlinAdapter to better match existing DGP code
  • Create DokkatooAndroidAdapter to automatically enable the Android documentation link
  • Add kotlinx-coroutines dependency for DokkaGenerator (otherwise finalizeCoroutines fails, as the method isn't present)
  • fix getName() of DokkaSourceSetIdSpec - it now includes the source set name
  • fetch android.jar via the androidApis configuration
  • fetch JAVA_RUNTIME files via configurations, because otherwise the Android-based configurations don't seem to work.

@aSemy aSemy force-pushed the fix/refactor_kotlin_adapter branch from e9b8972 to 05c3942 Compare April 26, 2023 21:15
@aSemy aSemy merged commit 4e2dbef into main Apr 27, 2023
@aSemy aSemy deleted the fix/refactor_kotlin_adapter branch April 27, 2023 10:58
@aSemy aSemy added this to the v1.3.0 milestone May 22, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant