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

Ivy patternLayout breaks backwards compatiblity #108

Closed
DPUkyle opened this issue Mar 12, 2019 · 3 comments
Closed

Ivy patternLayout breaks backwards compatiblity #108

DPUkyle opened this issue Mar 12, 2019 · 3 comments

Comments

@DPUkyle
Copy link

DPUkyle commented Mar 12, 2019

The use of patternLayout in n.t.d.GradleDependencyGenerator breaks backwards compatibility with Gradle 4.x. It appears this change causes the problem. patternLayout is added in Gradle 5, so invoking this class will result in an error like:

org.gradle.internal.metaobject.AbstractDynamicObject$CustomMessageMissingMethodException: Could not find method patternLayout() for arguments [build_e435034qi9j7da3zn5b1hmt0p$_run_closure1$_closure2$_closure3$_closure5$_closure6@36195c5f] on object of type org.gradle.api.internal.artifacts.repositories.DefaultIvyArtifactRepository.

I didn't see anything in the changelog or readme indicating that Gradle 4 was no longer supported.

@rpalcolea
Copy link
Member

Hi @DPUkyle, let us know if https://github.com/nebula-plugins/nebula-test/releases/tag/v7.1.9 works for you or if you would like to see another way to get this.

@DPUkyle
Copy link
Author

DPUkyle commented Mar 12, 2019

Hi @rpalcolea. Yes once I get v7.1.9 and change to use the overloaded constructor GradleDependencyGenerator(Gradle, DependencyGraph, String), we are back in business.

Gracias!

@rpalcolea
Copy link
Member

nice! sorry for the disruption!

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