Skip to content

Commit 743e137

Browse files
committed
adjusted build files for manual publishing to Maven central
1 parent 1621875 commit 743e137

2 files changed

Lines changed: 2 additions & 7 deletions

File tree

build.gradle

Lines changed: 1 addition & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -114,11 +114,7 @@ task yguardJavaDoc(type: Jar) {
114114
publishing {
115115
repositories {
116116
maven {
117-
url 'https://oss.sonatype.org/service/local/staging/deploy/maven2'
118-
credentials {
119-
username SONATYPE_NEXUS_USERNAME
120-
password SONATYPE_NEXUS_PASSWORD
121-
}
117+
url LOCAL_MAVEN_REPOSITORY
122118
}
123119
}
124120
publications {

gradle.properties

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -16,5 +16,4 @@ POM_LICENCE_NAME=MIT
1616
POM_LICENCE_URL=https://opensource.org/licenses/mit-license.php
1717
POM_LICENCE_DIST=repo
1818

19-
SONATYPE_NEXUS_USERNAME=
20-
SONATYPE_NEXUS_PASSWORD=
19+
LOCAL_MAVEN_REPOSITORY=

0 commit comments

Comments
 (0)