-
Notifications
You must be signed in to change notification settings - Fork 4.9k
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
Allow source dependencies without settings file before making DeprecateUndefinedBuildWorkExecutor.execute() fail #13793
Comments
This seems to be the call stack for the deprecation warning:
|
Any update on this issue? My understanding is this very valid use case will start failing on Gradle 7.0 which is not a good outcome for my project and the future of source dependency. |
Any update on this issue? As Gradle 7.0 approaches, this becomes important to solve or at least have a workaround. |
Is there any chance this will be addressed before 7.0? This would effectively introduce a regression in the next major release. |
I have added this to the 7.0 RC1 milestone to make sure we give you an answer. |
I agree that there should be a special handling of this case and that the deprecation warning should not be emitted. Before we attempt to make If this turns out to be more difficult than expected, we can also fix this in one of the next releases and not make this a failure at all in 7.0 but keep the deprecation warning for now. |
@lacasseio could you please share a minimal reproduced that triggers the deprecation message? |
Never mind. Of course 5 minutes after I wrote the above, I got it. |
Fix for the original issue: #15997 |
Thanks for fixing this, I appreciate it. |
Expected Behavior
Gradle should not report deprecated feature for "included build" from source dependencies without
settings.gradle
file, that is without a Gradle build.Current Behavior
Gradle reports a deprecated feature for source dependencies without Gradle build where the entire build is configured using injected plugins.
Context
According to the deprecation warning, this will break the build using the source dependency feature to wrap other build systems in Gradle 7.0.
Steps to Reproduce
Consume a project without a Gradle build using source dependencies.
Your Environment
Build scan URL: I would love to produce one but the build scan plugin doesn't support source dependencies.
The text was updated successfully, but these errors were encountered: