Skip to content

Commit

Permalink
Indicate the Asciidoctor 4.x tasks are not compatible with CC
Browse files Browse the repository at this point in the history
  • Loading branch information
ysb33r committed Dec 18, 2024
1 parent 148b8a7 commit 9e73da1
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -55,6 +55,9 @@ class AsciidoctorEditorConfigGenerator extends DefaultTask {
private Object outputDir

AsciidoctorEditorConfigGenerator() {
notCompatibleWithConfigurationCache(
'Asciidoctor Gradle 4.x is not compatible with CC. Wait for the 5.x release'
)
this.projectOperations = ProjectOperations.find(project)
this.outputDir = project.projectDir
this.outputFile = project.provider({
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -665,6 +665,9 @@ abstract class AbstractAsciidoctorBaseTask extends DefaultTask implements Asciid
@SuppressWarnings('ThisReferenceEscapesConstructor')
protected AbstractAsciidoctorBaseTask() {
super()
notCompatibleWithConfigurationCache(
'Asciidoctor Gradle 4.x is not compatible with CC. Wait for the 5.x release'
)
this.projectOperations = ProjectOperations.find(project)
this.intermediateArtifactPattern = project.objects.property(PatternSet)
this.srcDir = createDirectoryProperty(project)
Expand Down

0 comments on commit 9e73da1

Please sign in to comment.