Gradle 7 에서 asciidoctor 빌드시 asciidoc 폴더가 생기지 않는 이슈


Gradle 7 에서 asciidoctor 빌드시 asciidoc 폴더가 생기지 않는 이슈

Spring Boot 는 2.5.1 Gradle 은 7.0.3 버전 asciidoctor 플러그인은 1.5.8 버전을 사용중이다 RestDocs 를 작성하고 빌드를 했지만 문서 html 파일이 생성되는 asciidoc 이라는 폴더가 생기지 않았다. 또한 gradle 설정에서 build/asciidoc/html5 안에 있는 html 파일들을 정적 리소스 폴더에 copy 해주는 작업을 명시했었는데 org.asciidoctor.gradle.AsciidoctorTask method, property ~~ should not be annotated with @Optional, @InputDirectory 이러한 오류가 뜨면서 build 가 실패했다. 보니까 메서드 asGemPath(), 프로퍼티 asciidoctor, asciidoctorExtensions 가 사라졌다고 오류가 떴다. 보니까 전에는 안그랬는데 Gradle 7 을 사용..........



원문링크 : Gradle 7 에서 asciidoctor 빌드시 asciidoc 폴더가 생기지 않는 이슈