Skip to content

signArchives key file path is appended to user.dir regardless of home symbol #47

@Doctoror

Description

@Doctoror

I've got a global config pointing to

signing.secretKeyRingFile=~/.gnupg/secring.gpg

gradle uploadArchives exits with failure:

FAILURE: Build failed with an exception.

* What went wrong:
Could not evaluate onlyIf predicate for task ':library:signArchives'.
> Unable to retrieve secret key from key ring file '/home/username/androidstudioprojectspath/myproject/library/~/.gnupg/secring.gpg' as it does not exist

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