Skip to content

"Task :licenseMain FAILED" when running gradle license task #3

@treimers

Description

@treimers

Hi,

I am getting an error when running gradle license task. The error message is

> Task :licenseMain FAILED
FAILURE: Build failed with an exception.

The completion invocation and error is shown below:

$ ./gradlew license

> Configure project :
Project : => no module-info.java found

> Task :licenseMain FAILED

FAILURE: Build failed with an exception.

* What went wrong:
Some problems were found with the configuration of task ':licenseMain' (type 'LicenseCheck').
  - In plugin 'com.github.hierynomus.license-base' type 'com.hierynomus.gradle.license.tasks.LicenseCheck' property 'URI' 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.5.1/userguide/validation_problems.html#missing_annotation for more details about this problem.
  - In plugin 'com.github.hierynomus.license-base' type 'com.hierynomus.gradle.license.tasks.LicenseCheck' property 'check' 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.5.1/userguide/validation_problems.html#missing_annotation for more details about this problem.
  - In plugin 'com.github.hierynomus.license-base' type 'com.hierynomus.gradle.license.tasks.LicenseCheck' property 'dryRun' 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.5.1/userguide/validation_problems.html#missing_annotation for more details about this problem.
  - In plugin 'com.github.hierynomus.license-base' type 'com.hierynomus.gradle.license.tasks.LicenseCheck' property 'encoding' 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.5.1/userguide/validation_problems.html#missing_annotation for more details about this problem.
  - In plugin 'com.github.hierynomus.license-base' type 'com.hierynomus.gradle.license.tasks.LicenseCheck' property 'headerDefinitions' 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.5.1/userguide/validation_problems.html#missing_annotation for more details about this problem.

* Try:
> Run with --stacktrace option to get the stack trace.
> Run with --info or --debug option to get more log output.
> Run with --scan to get full insights.

* Get more help at https://help.gradle.org

Deprecated Gradle features were used in this build, making it incompatible with Gradle 8.0.

You can use '--warning-mode all' to show the individual deprecation warnings and determine if they come from your own scripts or plugins.

See https://docs.gradle.org/7.5.1/userguide/command_line_interface.html#sec:command_line_warnings

BUILD FAILED in 1s
1 actionable task: 1 executed

Thanks in advance
Thorsten

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