Skip to content

Commit 73c7ffb

Browse files
feat: [CS-37836] includeMetadata, Azure-EU and General Fixes
1 parent fd1db81 commit 73c7ffb

File tree

1 file changed

+1
-11
lines changed

1 file changed

+1
-11
lines changed

scripts/publish-root.gradle

Lines changed: 1 addition & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -7,20 +7,10 @@ ext["ossrhPassword"] = ''
77
ext["sonatypeStagingProfileId"] = ''
88

99
File secretPropsFile = project.rootProject.file('local.properties')
10-
if (secretPropsFile.exists()) {
10+
if (!secretPropsFile.exists()) {
1111
Properties p = new Properties()
1212
new FileInputStream(secretPropsFile).withCloseable { is -> p.load(is) }
1313
p.each { name, value -> ext[name] = value }
14-
} else {
15-
def localProperties = new Properties()
16-
localProperties.load(new FileInputStream(rootProject.file("local.properties")))
17-
18-
ext["ossrhUsername"] = localProperties['mavenCentralUsername']
19-
ext["ossrhPassword"] = localProperties['mavenCentralPassword']
20-
ext["sonatypeStagingProfileId"] = localProperties['sonatypeStagingProfileId']
21-
ext["signing.keyId"] = localProperties['signing.keyId']
22-
ext["signing.password"] = localProperties['signing.password']
23-
ext["signing.secretKeyRingFile"] = localProperties['signing.secretKeyRingFile']
2414
}
2515

2616
nexusPublishing {

0 commit comments

Comments
 (0)