Skip to content

Commit 4d0ce1f

Browse files
fix: not conditional
1 parent 9e68894 commit 4d0ce1f

1 file changed

Lines changed: 4 additions & 7 deletions

File tree

build.gradle

Lines changed: 4 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -58,15 +58,12 @@ if (project.hasProperty('ossrhUsername') && project.hasProperty('ossrhPassword')
5858
uploadArchives {
5959
repositories {
6060
mavenDeployer {
61-
// Maven Central
62-
if (project.hasProperty('ossrhUsername') && project.hasProperty('ossrhPassword')) {
63-
beforeDeployment { MavenDeployment deployment -> signing.signPom(deployment) }
61+
beforeDeployment { MavenDeployment deployment -> signing.signPom(deployment) }
6462

65-
repository(url: "artifactregistry://us-maven.pkg.dev/mw-lunarclient-maven-repo/public") {
66-
}
63+
repository(url: "artifactregistry://us-maven.pkg.dev/mw-lunarclient-maven-repo/public") {
64+
}
6765

68-
snapshotRepository(url: "artifactregistry://us-maven.pkg.dev/mw-lunarclient-maven-repo/public") {
69-
}
66+
snapshotRepository(url: "artifactregistry://us-maven.pkg.dev/mw-lunarclient-maven-repo/public") {
7067
}
7168

7269
pom {

0 commit comments

Comments
 (0)