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
// what's this asciidoctj for?
asciidoctorj {
version ='1.5.5'
}
asciidoctor {
// there seem to be a syntax error in ItelliJ idea,what's "\" is for?// but weird it works. are the lines below "\" is a Map?
attributes \
'build-gradle': file('build.gradle'),
'sourcedir': project.sourceSets.main.java.srcDirs[0],
'endpoint-url': 'http://example.org',
'source-highlighter': 'coderay',
'imagesdir': './images',
//'toc': 'left','icons': 'font',
'setanchors': '',
'idprefix': '',
'idseparator': '-'//'docinfo1': ''
}
I also refer to Ascidoc plugin which is quite different from the syntax in your build script!
The text was updated successfully, but these errors were encountered:
asciidoctorj is the processor, see https://github.com/asciidoctor/asciidoctorj
The block defines the version we want to use but it's optional (ie. when you apply the plugin it comes with a default version).
there seem to be a syntax error in IntelliJ idea,what's "" is for? but weird it works. are the lines below "" is a Map?
IntelliJ does like the \ but it's still a valid Gradle file. I believe the backslash is to use a nice indentation but you can remove it and use:
I also refer to Ascidoc plugin which is quite different from the syntax in your build script!
The text was updated successfully, but these errors were encountered: