Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
18 changes: 3 additions & 15 deletions build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ plugins {
id 'jacoco'
id 'com.github.kt3k.coveralls' version '2.8.2'
id 'com.palantir.git-version' version '0.12.3'
id 'io.github.gradle-nexus.publish-plugin' version '1.1.0'
id 'io.github.gradle-nexus.publish-plugin' version '2.0.0'
}

repositories {
Expand Down Expand Up @@ -86,12 +86,12 @@ def signingPassword = findProperty("signingPassword")
publishing {
publications {
mavenJava(MavenPublication) {
from(components.java)

groupId = "com.namehillsoftware"
artifactId = 'handoff'
version = version

from components.java

pom {
name = 'handoff'
description = 'A Clean Continuations Library for Java'
Expand All @@ -115,18 +115,6 @@ publishing {
}
}
}
repositories {
maven {
// change URLs to point to your repos, e.g. http://my.org/repo
def releasesRepoUrl = "https://oss.sonatype.org/service/local/staging/deploy/maven2/"
def snapshotsRepoUrl = "https://oss.sonatype.org/content/repositories/snapshots/"
url = isRelease ? releasesRepoUrl : snapshotsRepoUrl
credentials {
username sonatypeUsername
password sonatypePassword
}
}
}
}

nexusPublishing {
Expand Down
Loading