You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
// custom AsciidoctorTask tasks
project.getTasks()
.create(taskName, AsciidoctorTask.class, (AsciidoctorTask task) -> {
//set Source by deprecated function
task.setSourceDocumentNames("index.adoc");
});
...
}
this is work, but has warn message like this
Asciidoctor: setSourceDocumentNames is deprecated and will be removed in a future version. Use setIncludes instead. Files are converted to patterns. Some might not convert correctly. FileCollections will not convert
How Can I correctly config setIncludes() in java ?
The text was updated successfully, but these errors were encountered:
I suggest you upgrade to v2.0.0 and extend org.asciidoctor.gradle.jvm.AbstractAsciidoctorTask ro org.asciidoctor.gradle.jvm.AsciidoctorTask. If you still have issue feel free to open a new issue.
hi:
in gradle we can set Source like this
But now, I need to extends AsciidoctorTask in java, and in my custom tasks
but it is not work!
this is work, but has warn message like this
How Can I correctly config
setIncludes()
in java ?The text was updated successfully, but these errors were encountered: