moberwasserlechner / jasypt-gradle-plugin

Jasypt value encryption/decryption plugin for Gradle 4.10+
MIT License
6 stars 6 forks source link

Encryption not working with gradle 7.5.1 #6

Open mattkoss opened 1 year ago

mattkoss commented 1 year ago
$ gradle encryptText --text=hello --password=ttt                                                                                                           
> 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.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                                                                                                                 

BUILD FAILED in 1s     
mattkoss commented 1 year ago

Just realised this is a duplicate of issue 5 , same error.