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

Disable Dokka #2597

Merged
merged 1 commit into from
Aug 31, 2023
Merged

Disable Dokka #2597

merged 1 commit into from
Aug 31, 2023

Conversation

oldergod
Copy link
Member

Probably related to Kotlin/dokka#2977

We're getting errors like

* What went wrong:
A problem was found with the configuration of task ':wire-gradle-plugin:dokkaJavadocJar' (type 'JavadocJar').
  - Gradle detected a problem with the following location: '/Users/runner/work/wire/wire/docs/3.x'.
    
    Reason: Task ':wire-gradle-plugin:dokkaJavadocJar' uses this output of task ':wire-compiler:dokkaGfm' without declaring an explicit or implicit dependency. This can lead to incorrect results being produced, depending on what order the tasks are executed.
    
    Possible solutions:
      1. Declare task ':wire-compiler:dokkaGfm' as an input of ':wire-gradle-plugin:dokkaJavadocJar'.
      2. Declare an explicit dependency on ':wire-compiler:dokkaGfm' from ':wire-gradle-plugin:dokkaJavadocJar' using Task#dependsOn.
      3. Declare an explicit dependency on ':wire-compiler:dokkaGfm' from ':wire-gradle-plugin:dokkaJavadocJar' using Task#mustRunAfter.
    
    For more information, please refer to https://docs.gradle.org/8.2.1/userguide/validation_problems.html#implicit_dependency in the Gradle documentation.

* Try:
> Run with --info or --debug option to get more log output.
> Run with --scan to get full insights.
> Get more help at https://help.gradle.org./

* Exception is:
org.gradle.internal.execution.WorkValidationException: A problem was found with the configuration of task ':wire-gradle-plugin:dokkaJavadocJar' (type 'JavadocJar').
  - Gradle detected a problem with the following location: '/Users/runner/work/wire/wire/docs/3.x'.
    
    Reason: Task ':wire-gradle-plugin:dokkaJavadocJar' uses this output of task ':wire-compiler:dokkaGfm' without declaring an explicit or implicit dependency. This can lead to incorrect results being produced, depending on what order the tasks are executed.
    
    Possible solutions:
      1. Declare task ':wire-compiler:dokkaGfm' as an input of ':wire-gradle-plugin:dokkaJavadocJar'.
      2. Declare an explicit dependency on ':wire-compiler:dokkaGfm' from ':wire-gradle-plugin:dokkaJavadocJar' using Task#dependsOn.
      3. Declare an explicit dependency on ':wire-compiler:dokkaGfm' from ':wire-gradle-plugin:dokkaJavadocJar' using Task#mustRunAfter.
    
    For more information, please refer to https://docs.gradle.org/8.2.1/userguide/validation_problems.html#implicit_dependency in the Gradle documentation.
	at org.gradle.internal.execution.WorkValidationException$BuilderWithSummary.build(WorkValidationException.java:133)

Probably related to Kotlin/dokka#2977
@oldergod oldergod force-pushed the bquenaudon.2023-08-30.dokka branch from b1c340c to 0c67d0f Compare August 30, 2023 10:09
Base automatically changed from bquenaudon.2023-08-30.retrywindows to master August 30, 2023 12:13
@oldergod oldergod merged commit 4a9ddc7 into master Aug 31, 2023
@oldergod oldergod deleted the bquenaudon.2023-08-30.dokka branch August 31, 2023 10:34
@JakeWharton
Copy link
Collaborator

This does not seem related to cinterop which is what the linked issue is for. I don't know how publishing is set up, but this seems like a relatively normal missing task dependency.

@oldergod oldergod mentioned this pull request Sep 7, 2023
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.

2 participants