Here's a script that doesn't seem to do the job:
uploadArchives {
repositories {
mavenDeployer {
beforeDeployment { MavenDeployment deployment -> signing.signPom(deployment) }
repository(url: "https://oss.sonatype.org/service/local/staging/deploy/maven2/") {
authentication(userName: ossrhUsername, password: ossrhPassword)
}
snapshotRepository(url: "https://oss.sonatype.org/content/repositories/snapshots/") {
authentication(userName: ossrhUsername, password: ossrhPassword)
}
pom.withXml { fixPomXml(it) }
}
}
}
Deleted for now since it was throwing errors on Travis (and I don't want to set up username/password environment variables there.).
If we're going to release versions of RiceChecks on a regular basis, we need to get the uploading process properly automated. Manual upload sucks.
Here's a script that doesn't seem to do the job:
uploadArchives { repositories { mavenDeployer { beforeDeployment { MavenDeployment deployment -> signing.signPom(deployment) } repository(url: "https://oss.sonatype.org/service/local/staging/deploy/maven2/") { authentication(userName: ossrhUsername, password: ossrhPassword) } snapshotRepository(url: "https://oss.sonatype.org/content/repositories/snapshots/") { authentication(userName: ossrhUsername, password: ossrhPassword) } pom.withXml { fixPomXml(it) } } } }Deleted for now since it was throwing errors on Travis (and I don't want to set up username/password environment variables there.).
If we're going to release versions of RiceChecks on a regular basis, we need to get the uploading process properly automated. Manual upload sucks.