-
Notifications
You must be signed in to change notification settings - Fork 1
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[BSVR-52] Gradle refreshVersion 플러그인 적용 #5
Conversation
implementation("org.springdoc:springdoc-openapi-starter-webmvc-ui:2.5.0") | ||
implementation("org.springdoc:springdoc-openapi-starter-webmvc-ui:_") |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
refreshVersion가 만들어주는 versions.properties에서 버전 정보를 관리하므로, 직접 하드코딩 하지 않고 _로 표기해주면 돼!
plugins { | ||
// See https://jmfayard.github.io/refreshVersions | ||
id("de.fayard.refreshVersions") version "0.60.5" | ||
} |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
이 플러그인을 사용해서 버전을 중앙 관리 하는 것~~
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
이 파일은 refreshVersions 하면 자동으로 생성되는 파일!
처음 생성된 이후에는, ./gradlew refreshVersions 하면 versions.properties에 기재되어 있는 의존성들의 최신 버전 목록을 주석으로 보여줘.
예시 동작은 공홈 참고 )) https://www.youtube.com/watch?v=VhYERonB8co
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
확인!
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
와 최고다 진짜...
빌드 고치고 하는 게 좀 귀찮았었는데, 이런 게 있는 지도 몰랐다 ㅋㅋㅋ
확인 완료했어!
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
수고하셨습니다~
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
확인!
📌 개요 (필수)
🔨 작업 사항 (필수)
🌱 연관 내용 (선택)
./gradlew refreshVersions
을 이용해 사용 중인 dependency들의 최신 버전을 주석으로 확인할 수 있어요../gradlew refreshVersionsCleanup
을 사용해 주석들을 정리할 수 있어요.