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

published version is missing annotations. rebuilding it locally works #42

Open
matteomazza91 opened this issue May 28, 2021 · 1 comment

Comments

@matteomazza91
Copy link

is the latest commit (ffa2e38) on master the version actually published as '0.1.15' ?

using the plugin with

plugins {
  ...
  id 'com.github.hesch.execfork' version '0.1.15'
}

I get the following error output. However, if I rebuild the plugin locally, I don't see any error and I'm able to use it


FAILURE: Build failed with an exception.

* What went wrong:
Some problems were found with the configuration of task ':deployment-local:startDynamoDbLocalDaemon' (type 'JavaExecFork').
  - Type 'com.github.psxpaul.task.JavaExecFork' property 'environment' 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.2/userguide/validation_problems.html#missing_annotation for more details about this problem.
  - Type 'com.github.psxpaul.task.JavaExecFork' property 'executable' 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.2/userguide/validation_problems.html#missing_annotation for more details about this problem.
  - Type 'com.github.psxpaul.task.JavaExecFork' property 'killDescendants' of type boolean shouldn't be annotated with @Optional.

    Reason: Properties of primitive type cannot be optional.

    Possible solutions:
      1. Remove the @Optional annotation.
      2. Use the java.lang.Boolean type instead.

    Please refer to https://docs.gradle.org/7.0.2/userguide/validation_problems.html#cannot_use_optional_on_primitive_types for more details about this problem.
  - Type 'com.github.psxpaul.task.JavaExecFork' property 'process' 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.2/userguide/validation_problems.html#missing_annotation for more details about this problem.
  - Type 'com.github.psxpaul.task.JavaExecFork' property 'workingDir' 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.2/userguide/validation_problems.html#missing_annotation for more details about this problem.

@bdellegrazie
Copy link

Hi @psxpaul, thanks for this plugin - it's great.
With the documentation now updated to refer to 0.2.0, are you able to release this please for Gradle v7.x support?

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