Skip to content
This repository was archived by the owner on May 3, 2025. It is now read-only.
This repository was archived by the owner on May 3, 2025. It is now read-only.

mapping doesn't work #50

@schusterro

Description

@schusterro

Hello,

I'm on 2.0.3, and the mapping functionality doesn't work at all:

gradleFileEncrypt {
plainFiles.from('src/main/resources/sensitive/abc.properties')
mapping = [ 'src/main/resources/sensitive/abc.properties' : 'sensitive/xxx' ]
}

The produced encrypted file is always src/main/resources/sensitive/abc.properties.encrypted. I've also tried with files in other directories that src/main/resources, but no combination worked.

Any advice on how to make this work?

Thank you

PS: "checkFilesGitIgnored" always gives me an error with my referenced sensitive files, even if the .gitignore files in several of my projects are fine. And "checkFilesGitIgnored" from versions 2.0.3 and 2.0.2 doesn't work with a Java 1.8 runtime, because org/eclipse/jgit/api/Git is compiled for Java 11. But this is not an issue, because the main tasks seem to work fine with 1.8. (I have a strange constraint in my cloud environment, that Java 11 is not an option).

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions