Skip to content

Encoutner error when using encryptText #5

Description

@hannah23280

Hi,,

Hi, i execute gradlew.bat encryptText --text=hello --password=encryptor_password , but got the below error. I search overstack flow, and encounter someone also met the same issue.
Note; I am currently using gradle 7.4, and manage to install the plugin using the buildscript and apply plugin in the build.gradle.

> Task :encryptText FAILED

FAILURE: Build failed with an exception.

* What went wrong:
A problem was found with the configuration of task ':encryptText' (type 'EncryptTextTask').
  - In plugin 'com.byteowls.jasypt' type 'com.byteowls.gradle.tasks.text.EncryptTextTask' property 'encryptor' 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.4/userguide/validation_problems.html#missing_annotation for more de
tails 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.4/use

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