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
Could not find method layout() for arguments [pattern, com.moowork.gradle.node.task.SetupTask$_addRepository_closure5$_closure7@2a9dd171] on object of type org.gradle.api.internal.artifacts.repositories.DefaultIvyArtifactRepository
Inside my react-native project android is using gradle 7.2 so I was hoping to match that version.
The text was updated successfully, but these errors were encountered:
Caused by: org.gradle.internal.metaobject.AbstractDynamicObject$CustomMessageMissingMethodException: Could not find method layout() for arguments [pattern, com.moowork.gradle.node.task.SetupTask$_addRepository_closure5$_closure7@1251e743] on object of type org.gradle.api.internal.artifacts.repositories.DefaultIvyArtifactRepository.
at org.gradle.internal.metaobject.AbstractDynamicObject$CustomMissingMethodExecutionFailed.<init>(AbstractDynamicObject.java:190)
at org.gradle.internal.metaobject.AbstractDynamicObject.methodMissingException(AbstractDynamicObject.java:184)
at org.gradle.internal.metaobject.ConfigureDelegate.invokeMethod(ConfigureDelegate.java:86)
at com.moowork.gradle.node.task.SetupTask$_addRepository_closure5.doCall(SetupTask.groovy:182)
at org.gradle.util.internal.ClosureBackedAction.execute(ClosureBackedAction.java:72)
...
There's more history in #315, but the short of it is that this repository is no longer actively developed and does not work with Gradle 7 (or even 6 I think)
Luckily there's a community fork that's actively developed and has Gradle 7 support https://github.com/node-gradle/gradle-node-plugin
I think it is a version issue. I ran into this when re-using the file https://github.com/shekhargulati/gradle-react-app/blob/master/build.gradle . I upgraded the version of the plugin to the latest and got this error ->
Inside my react-native project android is using gradle 7.2 so I was hoping to match that version.
The text was updated successfully, but these errors were encountered: