Skip to content

Build fails with Gradle 7 #377

@sergey-morenets

Description

@sergey-morenets

Hi

I'm using the latest version of this plugin:

plugins {
id "com.moowork.node" version "1.3.1"
}

After I've upgraded from Gradle 6.8.3 to Gradle 7 my project fails to build due to the error:


A problem was found with the configuration of task ':my-project:yarnSetup' (type 'YarnSetupTask').
  - Type 'YarnSetupTask' property 'args' is missing an input or output annotation.

    Reason: A property without annotation isn't considered during up-to-date checking.

    Possible solutions:
      1. Add an input or output annotation.
      2. Mark it as @Internal.

    Please refer to https://docs.gradle.org/7.0/userguide/validation_problems.html#missing_annotation for more details about this problem.

How can I fix it?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions