Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add Asciidoctor caching configuration #2

Open
wants to merge 1 commit into
base: feature/enableCache
Choose a base branch
from
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
128 changes: 128 additions & 0 deletions docs/parent/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -55,6 +55,134 @@
</execution>
</executions>
</plugin>
<plugin>
<groupId>com.gradle</groupId>
<artifactId>develocity-maven-extension</artifactId>
<configuration>
<develocity>
<plugins>
<plugin>
<groupId>org.asciidoctor</groupId>
<artifactId>asciidoctor-maven-plugin</artifactId>
<inputs>
<fileSets>
<fileSet>
<name>sourceDirectory</name>
<normalization>
<ignoreEmptyDirectories>true</ignoreEmptyDirectories>
<ignoreLineEndings>true</ignoreLineEndings>
</normalization>
</fileSet>
<fileSet>
<name>templateDirs</name>
</fileSet>
</fileSets>
<properties>
<property>
<name>preserveDirectories</name>
</property>
<property>
<name>relativeBaseDir</name>
</property>
<property>
<name>skip</name>
</property>
<property>
<name>requires</name>
</property>
<property>
<name>attributes</name>
</property>
<property>
<name>backend</name>
</property>
<property>
<name>doctype</name>
</property>
<property>
<name>encoding</name>
</property>
<property>
<name>headerFooter</name>
</property>
<!-- Standalone was added in 3.0.0 and it replaced headerFooter with the same functionality -->
<!-- <property>-->
<!-- <name>standalone</name>-->
<!-- </property>-->
<property>
<name>templateEngine</name>
</property>
<property>
<name>templateCache</name>
</property>
<property>
<name>sourceDocumentName</name>
</property>
<property>
<name>sourceDocumentExtensions</name>
</property>
<property>
<name>sourcemap</name>
</property>
<property>
<name>catalogAssets</name>
</property>
<property>
<name>extensions</name>
</property>
<property>
<name>embedAssets</name>
</property>
<property>
<name>attributesChain</name>
</property>
</properties>
<ignoredProperties>
<!-- These properties should not impact goal output -->
<ignore>projectDirectory</ignore>
<ignore>rootDir</ignore>
<ignore>baseDir</ignore>
<ignore>gemPath</ignore>

<ignore>eruby</ignore>
<ignore>project</ignore>
<ignore>enableVerbose</ignore>
<ignore>logHandler</ignore>
</ignoredProperties>
</inputs>
<iteratedProperties>
<property>
<name>resources</name>
<inputs>
<properties>
<property>
<name>targetPath</name>
</property>
<property>
<name>filtering</name>
</property>
</properties>
</inputs>
</property>
</iteratedProperties>
<outputs>
<directories>
<directory>
<name>outputDirectory</name>
</directory>
</directories>
<files>
<file>
<name>outputFile</name>
</file>
</files>
<cacheableBecause>generates consistent outputs for declared inputs</cacheableBecause>
</outputs>
</plugin>
</plugins>
</develocity>
</configuration>
</plugin>
</plugins>
</pluginManagement>
<plugins>
Expand Down