뭐든지 가장 좋은 오류해결방법은 공식문서라고 했던가
(Upgrading your build from Gradle 6.x to the latest) https://docs.gradle.org/current/userguide/upgrading_version_6.html
Upgrading your build from Gradle 6.x to the latest
This chapter provides the information you need to migrate your Gradle 6.x builds to the latest Gradle release. For migrating from Gradle 4.x or 5.x, see the older migration guide first. We recommend the following steps for all users: Try running gradle hel
docs.gradle.org
현재 스프링 부트와 AWS로 혼자 구현하는 웹서비스 책을 보면서 따라서 프로젝트 진행 중이다.
책에서는 Gradle 4.8을 사용하기 때문에 Gradle 7 이상 버전을 사용 중이면 build.gradle에서 오류가 발생하는 구문이 존재한다.
따라서 책에서 사용하는 수준의 기본적인 변경점을 포스팅해둔다.
Gradle 7에서는 compile과 runtime configuration이 제거되었다.
따라서 해당 부분들은 위와 같이 api, implementation 으로 대체하여 사용해야한다.
'Spring > 기타' 카테고리의 다른 글
[Spring boot] mybatis 설정 sqlsession 관련 설정이 필요없는 이유 (0) | 2022.05.09 |
---|---|
Error executing DDL 오류 해결방법 (0) | 2022.02.07 |
gradle 전체 테스트 수행 시 test events were not received 문구 (0) | 2022.02.06 |
IntelliJ 프로젝트 JDK 버전 변경하기 (0) | 2022.01.13 |
Gradle에 lombok 의존성 추가하기 / not initialized in the default constructor 오류 해결 (0) | 2022.01.06 |