Skip to content

Commit

Permalink
foo
Browse files Browse the repository at this point in the history
  • Loading branch information
tsjensen committed Mar 4, 2025
1 parent 831388e commit d9b5a14
Showing 1 changed file with 10 additions and 0 deletions.
10 changes: 10 additions & 0 deletions build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -274,6 +274,16 @@ publishing {
name = 'localBuildDir'
url = project.layout.buildDirectory.dir('maven-repo-test')
}
if (project.hasProperty('SB_SONATYPE_USER') && project.hasProperty('SB_SONATYPE_PASSWORD')) {
maven {
name = 'mavenCentralStaging'
url = 'https://oss.sonatype.org/service/local/staging/deploy/maven2/'
credentials {
username = project.getProperty('SB_SONATYPE_USER')
password = project.getProperty('SB_SONATYPE_PASSWORD')
}
}
}
}
publications {
mavenJava(MavenPublication) {
Expand Down

0 comments on commit d9b5a14

Please sign in to comment.