Skip to content

Commit

Permalink
Updated build config.
Browse files Browse the repository at this point in the history
  • Loading branch information
nickwph committed Feb 13, 2016
1 parent 5dc9011 commit 0283535
Showing 1 changed file with 5 additions and 4 deletions.
9 changes: 5 additions & 4 deletions build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,7 @@ signing {
install {
group 'publish'
repositories.mavenInstaller {
pom.artifactId = project.artifactId
pom.artifactId = artifactId
}
}

Expand All @@ -55,7 +55,7 @@ uploadArchives {
repositories {
mavenDeployer {
pom.groupId = project.group
pom.artifactId = project.artifactId
pom.artifactId = artifactId
pom.version = project.version
pom.project {
name 'Artifact ID Plugin'
Expand All @@ -81,12 +81,13 @@ uploadArchives {
}
}
beforeDeployment { MavenDeployment deployment ->
signing.signPom(deployment)
project.signing.signPom(deployment)
}
String packageName = 'artifactid-gradle'
String username = getGradleProperty('publish.maven.bintray.username');
String password = getGradleProperty('publish.maven.bintray.apiKey')
String id = "bintray-$username-maven"
repository(id: id, url: 'https://api.bintray.com/maven/nickwph/maven/artifactid-gradle') {
repository(id: id, url: "https://api.bintray.com/maven/$username/maven/$packageName") {
authentication(userName: username, password: password)
}
snapshotRepository(id: id, url: 'https://oss.jfrog.org/artifactory/list/oss-snapshot-local') {
Expand Down

0 comments on commit 0283535

Please sign in to comment.