Skip to content

Commit ce0208e

Browse files
committed
remove unnecessary code
1 parent c023797 commit ce0208e

File tree

1 file changed

+4
-16
lines changed

1 file changed

+4
-16
lines changed

build.gradle.kts

Lines changed: 4 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -162,27 +162,15 @@ signing {
162162
extra["signing.secretKeyRingFile"] as String,
163163
extra["signing.password"] as String
164164
)
165-
sign(publishing.publications["maven"])
165+
sign(publishing.publications)
166166
}
167167

168168
nexusPublishing {
169169
repositories {
170170
sonatype {
171-
username.set(extra["ossrhUsername"] as String)
172-
password.set(extra["ossrhPassword"] as String)
173-
stagingProfileId.set(extra["sonatypeStagingProfileId"] as String)
171+
username = extra["ossrhUsername"] as String
172+
password = extra["ossrhPassword"] as String
173+
stagingProfileId = extra["sonatypeStagingProfileId"] as String
174174
}
175175
}
176-
}
177-
178-
// Optional: configure tasks for releases
179-
tasks.register("prepareRelease") {
180-
group = "publishing"
181-
description = "Prepares the project for release"
182-
183-
dependsOn("clean")
184-
dependsOn("build")
185-
dependsOn("javadoc")
186-
dependsOn("sourcesJar")
187-
dependsOn("publishToMavenLocal") // Test locally first
188176
}

0 commit comments

Comments
 (0)