You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
In Gradle 4.0, the structure of the build directory changed so that each compiler task uses a different output directory. This necessitated the deprecation of the SourceSetOutput.classesDir property because there are multiple classes directories. Uses of this property should be replaced by SourceSetOutputs.classesDirs. API Documentation is here.
Version 1.5.4.RELEASE produces the following warning at the beginning of a build:
Gradle now uses separate output directories for each JVM language, but this build assumes a single directory for all classes from a source set. This behaviour has been deprecated and is scheduled to be removed in Gradle 5.0
Attached getClassesDirStack.txt includes the full stack trace. This issue should be reproducible in any spring boot application using gradle by upgrading to gradle version 4.0.
The text was updated successfully, but these errors were encountered:
We might be able to add a reflective hack to take care of the warning, but I'd prefer that Gradle didn't generate such warnings for code from a plugin in the first place (see gradle/gradle#1311 and gradle/gradle#1372).
I've added a reflective hack in e6a3ca5. Please note that Gradle 4.x isn't officially supported in Boot 1.5. It may work, but there may also come a point where that's not the case and there will be nothing we can do about it. We've been bitten in the past by trying to support too many major versions of Gradle at the same time and supporting 2.x and 3.x is the focus of 1.5.
In Gradle 4.0, the structure of the build directory changed so that each compiler task uses a different output directory. This necessitated the deprecation of the
SourceSetOutput.classesDir
property because there are multiple classes directories. Uses of this property should be replaced bySourceSetOutputs.classesDirs
. API Documentation is here.Version 1.5.4.RELEASE produces the following warning at the beginning of a build:
Attached getClassesDirStack.txt includes the full stack trace. This issue should be reproducible in any spring boot application using gradle by upgrading to gradle version 4.0.
The text was updated successfully, but these errors were encountered: