the maven-deployer plugin is a gradle plugin to access maven deploy functionality from gradle builds
Questions tagged [mavendeployer]
5 questions
8
votes
2 answers
Close and release artifact on maven central using gradle
I have this gradle script:
def configureUploadArtifacts(groupId, repoUrl, _packaging) {
def gpgKeyId = System.getenv('GPG_KEY_ID')
def gpgPassword = System.getenv('GPG_KEY_PASSWORD')
def gpgFile = System.getenv('PATH_TO_GPG_FILE')
…

TacB0sS
- 10,106
- 12
- 75
- 118
3
votes
1 answer
Gradle 5, maven deployer: unknown property uniqueVersion
I use eclipse with gradle buildship. My build.gradle contains
uploadArchives {
repositories {
mavenDeployer {
configuration = configurations.deployerJars
uniqueVersion = false
…

Johannes Flügel
- 3,112
- 3
- 17
- 32
0
votes
1 answer
Gradle dependency resolution strategy with maven deployer
I am working on an android project. We are using the DependencyResoultionStrategy to swap some dependency versions. The code looks like this:
resolutionStrategy.eachDependency { DependencyResolveDetails details ->
final version =…

Simon Schiller
- 644
- 1
- 8
- 23
0
votes
1 answer
mavenDeployer isn't using variable value
I have a build.gradle file that uses the maven plugin. I am attempting to build a project and upload the artifacts to a nexus repo. The build and upload portion is working fine, however I am running into issues trying to set the version name and…

neonDion
- 2,278
- 2
- 20
- 39
0
votes
1 answer
How to upload artifacts to maven central with gradle and the maven plugin via a proxy
I try to upload some artifacts to maven central (well actually to the sonatyp repository) using gradle.
I set up my build file as described in this nice article
And it worked for quite some time, but now I'm sitting behind a proxy, and the only…

Jens Schauder
- 77,657
- 34
- 181
- 348