Skip to content

fix: Adds copy task for graphviz.dat to epl build - #1530

Merged
arnaudroques merged 1 commit into
plantuml:masterfrom
childenProtos:add-graphviz-to-epl-release
Sep 7, 2023
Merged

arnaudroques merged 1 commit into
plantuml:masterfrom
childenProtos:add-graphviz-to-epl-release

Conversation

@childenProtos

Copy link
Copy Markdown
Contributor

Fixes #1517

@arnaudroques

Copy link
Copy Markdown
Contributor

Thanks for helping us on this subject.
However, it seems that the build fail. Any thought about it?

@The-Lum

The-Lum commented Sep 6, 2023

Copy link
Copy Markdown
Collaborator

FYI, here is the error stack:

* What went wrong:
A problem was found with the configuration of task ':plantuml-epl:sourcesJar' (type 'Jar').
  - Gradle detected a problem with the following location: '/home/runner/work/plantuml/plantuml/plantuml-epl/build/copiedResources'.
    
    Reason: Task ':plantuml-epl:sourcesJar' uses this output of task ':plantuml-epl:copyGraphizBinToGenerated' 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 ':plantuml-epl:copyGraphizBinToGenerated' as an input of ':plantuml-epl:sourcesJar'.
      2. Declare an explicit dependency on ':plantuml-epl:copyGraphizBinToGenerated' from ':plantuml-epl:sourcesJar' using Task#dependsOn.
      3. Declare an explicit dependency on ':plantuml-epl:copyGraphizBinToGenerated' from ':plantuml-epl:sourcesJar' using Task#mustRunAfter.
    
    For more information, please refer to https://docs.gradle.org/8.3/userguide/validation_problems.html#implicit_dependency in the Gradle documentation.

Regards,
Th.

@arnaudroques
arnaudroques merged commit b9cb85c into plantuml:master Sep 7, 2023
@arnaudroques

Copy link
Copy Markdown
Contributor

Very nice.
That's great, many thanks for your help!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

plantuml-epl.jar does not render Dot diagrams

3 participants