Skip to content
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

Fix Gradle 6.0 Deprecations #316

Closed
cdietrich opened this issue Nov 27, 2018 · 6 comments
Closed

Fix Gradle 6.0 Deprecations #316

cdietrich opened this issue Nov 27, 2018 · 6 comments

Comments

@cdietrich
Copy link

When running with Gradle 5.0 i am getting following deprecation warning

> Task :nodeSetup
The IvyArtifactRepository.layout(String, Closure) method has been deprecated. This is scheduled to be removed in Gradle 6.0. Please use the IvyArtifactRepository.patternLayout(Action) method instead.
@cdietrich
Copy link
Author

@deepy am not sure if the can and should be done right know.
patternLayout is still incubating api

@deepy
Copy link

deepy commented Dec 14, 2018

I'm strangely enough not getting this warning on https://github.com/node-gradle/gradle-node-plugin, not even with --warning-mode all

@cdietrich
Copy link
Author

cdietrich commented Dec 14, 2018

are you sure you execute nodeSetup actually?

@cdietrich
Copy link
Author

@deepy
Copy link

deepy commented Dec 14, 2018

I'm not getting this in my local test repo, which apart from using the old plugin syntax is seemingly identical, strange.
Your test-case works brilliantly though!

It's Friday!
Local gradle was 5.0, wrapper was 4.10.2.

@cdietrich
Copy link
Author

switched to node-gradle/gradle-node-plugin which has my fix

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants