Open diguage opened 3 years ago
Hi! Did you solve this issue? I need to do something similar as well.
@sebastianzillessen No.
Please try 4.0.0-alpha.1 and tell me if the problem still exists
Hi @ysb33r ,
yes, with the updated version it works! When are you planning on releasing it?
Thanks, Seb
@sebastianzillessen I am not sure yet.
There are a still some things we would like to fix before release. We would also prefer to release it with the final version of Grolifant 2.0.0 rather than an alpha version of it.
I test it, it is OK. Thanks!
There is an error:
- Finding 'dot' in attributes
- Found value '/usr/local/bin/dot' in attribute 'graphvizdot'
- Is '/usr/local/bin/dot' executable? true
at org.asciidoctor.gradle.remote.ExecutorBase.failOnWarnings(ExecutorBase.groovy:231)
at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:77)
at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.base/java.lang.reflect.Method.invoke(Method.java:568)
at org.codehaus.groovy.reflection.CachedMethod.invoke(CachedMethod.java:107)
at groovy.lang.MetaMethod.doMethodInvoke(MetaMethod.java:323)
at groovy.lang.MetaClassImpl.invokeMethod(MetaClassImpl.java:1268)
at groovy.lang.MetaClassImpl.invokeMethod(MetaClassImpl.java:1035)
at org.codehaus.groovy.runtime.InvokerHelper.invokePogoMethod(InvokerHelper.java:1029)
at org.codehaus.groovy.runtime.InvokerHelper.invokeMethod(InvokerHelper.java:1012)
at org.codehaus.groovy.runtime.InvokerHelper.invokeMethodSafe(InvokerHelper.java:101)
at org.asciidoctor.gradle.remote.AsciidoctorJavaExec$_run_closure3.doCall(AsciidoctorJavaExec.groovy:76)
at org.asciidoctor.gradle.remote.AsciidoctorJavaExec$_run_closure3.call(AsciidoctorJavaExec.groovy)
at org.codehaus.groovy.runtime.DefaultGroovyMethods.each(DefaultGroovyMethods.java:2359)
at org.codehaus.groovy.runtime.DefaultGroovyMethods.each(DefaultGroovyMethods.java:2344)
at org.codehaus.groovy.runtime.DefaultGroovyMethods.each(DefaultGroovyMethods.java:2385)
at org.asciidoctor.gradle.remote.AsciidoctorJavaExec.run(AsciidoctorJavaExec.groovy:68)
at org.asciidoctor.gradle.remote.AsciidoctorJavaExec.main(AsciidoctorJavaExec.groovy:49)
But the file is OK:
$ which dot
/usr/local/bin/dot
$ dot -V
dot - graphviz version 7.1.0 (20230121.1956)
I created a submodule in the spring framework project. The spring framework project uses the plugin to convert the manual document to HTML and PDF. I want to follow the spring framework project to use the plugin to deal with my document.
The global config is as following:
The submodule task is as following:
I need to override the global task, but it always throws an error. The log is as following:
The project is at https://github.com/diguage/spring-framework/tree/analysis
The task is at https://github.com/diguage/spring-framework/blob/analysis/truman/build.gradle#L90
How to override the global task?
And I would really appreciate it that if you can show me some examples of how to use the plugin, and it would be better if you can add the examples to the document of the plugin. All the users of the plugin will thank you for the examples in the document.