cosminpolifronie / gradle-plantuml-plugin

A simple Gradle plugin to render PlantUML files
MIT License
10 stars 5 forks source link

No files generated #8

Open dmg46664 opened 3 years ago

dmg46664 commented 3 years ago

First time.

> Task :plantUml
[PlantUml] Gradle cannot use an incremental build - rendering everything

Second time

13:12:55: Executing task 'plantUml --warning-mode all'...

Starting Gradle Daemon...
Gradle Daemon started in 1 s 585 ms
> Task :plantUml UP-TO-DATE

BUILD SUCCESSFUL in 6s
1 actionable task: 1 up-to-date
13:13:02: Task execution finished 'plantUml --warning-mode all'.

Config

plantUml {
    render input: 'diagrams/diagram.puml',
            output: 'diagrams/puml.svg'
}

Tried

plantUml {
    render input: 'diagrams/diagram.puml',
            output: 'puml.svg'
}

The files exist at the root of the project. I would expect it to fail stating that it couldn't find the files.

Tried gradle versions 6.3 and 7.0

Nothing with --rerun-tasks --debug from the command line either

2021-05-06T13:22:25.104+0100 [INFO] [org.gradle.internal.execution.steps.SkipUpToDateStep] Task ':plantUml' is not up-to-date because:
  Executed with '--rerun-tasks'.
2021-05-06T13:22:25.104+0100 [INFO] [org.gradle.internal.execution.steps.ResolveInputChangesStep] The input changes require a full rebuild for incremental task ':plantUml'.
2021-05-06T13:22:25.104+0100 [DEBUG] [org.gradle.api.internal.tasks.execution.ExecuteActionsTaskExecuter] Executing actions for task ':plantUml'.
2021-05-06T13:22:25.105+0100 [LIFECYCLE] [org.gradle.api.Task] [PlantUml] Gradle cannot use an incremental build - rendering everything
2021-05-06T13:22:25.105+0100 [DEBUG] [org.gradle.internal.operations.DefaultBuildOperationRunner] Build operation 'Execute execute for :plantUml' completed
2021-05-06T13:22:25.105+0100 [DEBUG] [org.gradle.internal.operations.DefaultBuildOperationRunner] Build operation 'Executing task ':plantUml'' completed
2021-05-06T13:22:25.105+0100 [DEBUG] [org.gradle.internal.operations.DefaultBuildOperationRunner] Build operation 'Snapshot outputs after executing task ':plantUml'' completed
2021-05-06T13:22:25.105+0100 [DEBUG] [org.gradle.api.internal.tasks.execution.ResolveTaskExecutionModeExecuter] Removed task artifact state for task ':plantUml' from context.
2021-05-06T13:22:25.106+0100 [DEBUG] [org.gradle.internal.operations.DefaultBuildOperationRunner] Completing Build operation 'Task :plantUml'
2021-05-06T13:22:25.106+0100 [DEBUG] [org.gradle.internal.operations.DefaultBuildOperationRunner] Build operation 'Task :plantUml' completed
2021-05-06T13:22:25.106+0100 [DEBUG] [org.gradle.cache.internal.btree.BTreePersistentIndexedCache] Opening cache executionHistory.bin (xxxxxxxxxxx)
2021-05-06T13:22:25.106+0100 [INFO] [org.gradle.execution.plan.DefaultPlanExecutor] :plantUml (Thread[Execution worker for ':',5,main]) completed. Took 0.006 secs.
2021-05-06T13:22:25.106+0100 [DEBUG] [org.gradle.execution.plan.DefaultExecutionPlan] Node :plantUml finished executing