I've been looking around for a way to encrypt password when it comes to upload an artifact to my "Archiva" repository and it seems all of the solutions do support Artifactory and Nexus. Is there a way to do it with Archiva in Gradle. Snippet below:
publishing {
publications {
maven(MavenPublication) {
groupId 'com.x'
version sprint + buildNumber
}
}
repositories {
maven {
credentials {
username "admin"
password "admin"
}
url "snapshots"
}
}
}