Open jinyeanseok opened 1 year ago
https://coderanch.com/t/773323/gradle/build-tools/Deprecated-Gradle-features-build-making
https://github.com/spring-io/initializr/issues/1420
위의 링크에 따라
./gradlew --warning-mode all
실헹 후
`
$ ./gradlew --warning-mode all
`
> Configure project :
Build file 'C:\git\TheCamp\build.gradle': line 24
The org.gradle.api.plugins.JavaPluginConvention type has been deprecated. This is scheduled to be removed in Gradle 9.0. Consult the upgrading guide for further information: https://docs.gradle.org/8.2/userguide/upgrading_version_8.
html#java_convention_deprecation
at build_7vdftk62fzb1pqme8lsfj2i4q$_run_closure1.doCall(C:\git\TheCamp\build.gradle:24)
(Run with --stacktrace to get the full stack trace of this deprecation warning.)
at build_7vdftk62fzb1pqme8lsfj2i4q.run(C:\git\TheCamp\build.gradle:16)
(Run with --stacktrace to get the full stack trace of this deprecation warning.)
Build file 'C:\git\TheCamp\build.gradle': line 24
The org.gradle.api.plugins.Convention type has been deprecated. This is scheduled to be removed in Gradle 9.0. Consult the upgrading guide for further information: https://docs.gradle.org/8.2/userguide/upgrading_version_8.html#depre
cated_access_to_conventions
at build_7vdftk62fzb1pqme8lsfj2i4q$_run_closure1.doCall(C:\git\TheCamp\build.gradle:24)
(Run with --stacktrace to get the full stack trace of this deprecation warning.)
at build_7vdftk62fzb1pqme8lsfj2i4q.run(C:\git\TheCamp\build.gradle:16)
(Run with --stacktrace to get the full stack trace of this deprecation warning.)
using sourceCompatibility은 더 이상 사용되지 않으며 Gradle 9.x에서 제거되도록 표시되었기에 해당 코드 삭제.
build run............