Skip to content

Commit

Permalink
ci: add nexus-staging plugin
Browse files Browse the repository at this point in the history
  • Loading branch information
tommytroen committed Feb 21, 2020
1 parent 75bcda2 commit c08dcbd
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,7 @@ plugins {
id("com.google.cloud.tools.jib") version "2.0.0"
id("com.github.johnrengelman.shadow") version "5.2.0"
id("net.researchgate.release") version "2.8.1"
id("io.codearte.nexus-staging") version "0.21.2"
`java-library`
`maven-publish`
signing
Expand Down Expand Up @@ -56,6 +57,12 @@ dependencies {
testRuntimeOnly("org.junit.jupiter:junit-jupiter-engine:$junitJupiterVersion")
}

nexusStaging {
username = System.getenv("SONATYPE_USERNAME")
password = System.getenv("SONATYPE_PASSWORD")
packageGroup = "no.nav"
}

publishing {
publications {
create<MavenPublication>("mavenJava") {
Expand Down

0 comments on commit c08dcbd

Please sign in to comment.