개발

plugin id: 'org.asciidoctor.convert' version: '2.2.1' was not found in any of the following sources 해결법

모달조아 2023. 4. 16. 02:40

Spring Initializr 이용하여서 의존성으로 Spring REST DOCS 를 추가하고 프로젝트를 빌드하였는데

plugin id: 'org.asciidoctor.convert' version: '2.2.1' was not found in any of the following sources

이런 예외가 뜨면서 빌드가 되지 않았다.

 

Gradle 7 부터는 org.asciidoctor.convert 가 아닌 org.asciidoctor.jvm.convert 를 사용해야한다.

참고로 이 플러그인은 adoc 파일 변환, build 디렉토리에 복사하기 위한 역할을 한다.

가장 최신 버전인 3.3.2 버전을 적용해주었다.

 

Spring Initializr 가 왜 옛날 버전을 자동으로 넣어주는걸까