뭐든지시작이반이다
Dream Future
뭐든지시작이반이다
  • 분류 전체보기
    • Spring
      • 개념
      • 기타
    • Java
    • Algorithm
      • 알고리즘 정리
    • DB
      • Postgresql
    • 트러블슈팅
    • Git & Github
    • V&V
    • EFK
    • 북스터디
    • 기타

인기 글

최근 댓글

전체 방문자
오늘
어제

블로그 메뉴

  • 홈
  • 태그
  • 방명록

태그

  • springboot
  • gradle
  • sqlSessionTemplate
  • mybatis
  • ambiguous오류
  • SelectionSort
  • spring-boot
  • spring
  • github
  • docker
  • SqlSessionFactory
  • 대규모서비스
  • auditing
  • JPA
  • Controller
  • lombok
  • 트러블슈팅
  • git
  • 알고리즘
  • dirtyChecking
  • Hibernate
  • 파티셔닝
  • Kibana
  • requestmapping
  • fluentd
  • Kotlin
  • gitignore
  • springbot
  • efk
  • multimodule
hELLO · Designed By 정상우.
뭐든지시작이반이다

Dream Future

Gradle 7 기본 변경점
Spring/기타

Gradle 7 기본 변경점

2022. 1. 6. 19:27

뭐든지 가장 좋은 오류해결방법은 공식문서라고 했던가

(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에서 오류가 발생하는 구문이 존재한다.

따라서 책에서 사용하는 수준의 기본적인 변경점을 포스팅해둔다.

Common configuration upgrades

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
    'Spring/기타' 카테고리의 다른 글
    • Error executing DDL 오류 해결방법
    • gradle 전체 테스트 수행 시 test events were not received 문구
    • IntelliJ 프로젝트 JDK 버전 변경하기
    • Gradle에 lombok 의존성 추가하기 / not initialized in the default constructor 오류 해결
    뭐든지시작이반이다
    뭐든지시작이반이다
    기록장입니다.

    티스토리툴바