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

Encoutner error when using encryptText #5

Open
hannah23280 opened this issue Feb 18, 2022 · 0 comments
Open

Encoutner error when using encryptText #5

hannah23280 opened this issue Feb 18, 2022 · 0 comments

Comments

@hannah23280
Copy link

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
@hannah23280 hannah23280 changed the title Encoutner error when using encryptText Encoutner error when using encryptText or encryptProperties Feb 18, 2022
@hannah23280 hannah23280 changed the title Encoutner error when using encryptText or encryptProperties Encoutner error when using encryptText Feb 18, 2022
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

1 participant