Skip to content

Commit 6a2f75c

Browse files
build: remove nexus-publishing plugin
1 parent 2e8421c commit 6a2f75c

File tree

2 files changed

+0
-25
lines changed

2 files changed

+0
-25
lines changed

build.gradle.kts

Lines changed: 0 additions & 20 deletions
Original file line numberDiff line numberDiff line change
@@ -3,31 +3,11 @@ plugins {
33
id("org.gradle.java-library")
44
id("org.gradle.maven-publish")
55
id("org.gradle.signing")
6-
id("io.github.gradle-nexus.publish-plugin") version "1.1.0"
76
id("org.jetbrains.dokka").version("2.0.0").apply(false)
87
id("org.jetbrains.dokka-javadoc").version("2.0.0").apply(false)
98
}
109

1110
// library version is defined in gradle.properties
1211
val libraryVersion: String by project
13-
14-
// These properties are required here so that the nexus publish-plugin
15-
// finds a staging profile with the correct group (group is otherwise set as "")
16-
// and knows whether to publish to a SNAPSHOT repository or not
17-
// https://github.com/gradle-nexus/publish-plugin#applying-the-plugin
1812
group = "org.bitcoindevkit"
1913
version = libraryVersion
20-
21-
nexusPublishing {
22-
repositories {
23-
create("sonatype") {
24-
nexusUrl.set(uri("https://s01.oss.sonatype.org/service/local/"))
25-
snapshotRepositoryUrl.set(uri("https://s01.oss.sonatype.org/content/repositories/snapshots/"))
26-
27-
val ossrhUsername: String? by project
28-
val ossrhPassword: String? by project
29-
username.set(ossrhUsername)
30-
password.set(ossrhPassword)
31-
}
32-
}
33-
}

lib/build.gradle.kts

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -111,11 +111,6 @@ signing {
111111
if (project.hasProperty("localBuild")) {
112112
isRequired = false
113113
}
114-
115-
val signingKeyId: String? by project
116-
val signingKey: String? by project
117-
val signingPassword: String? by project
118-
useInMemoryPgpKeys(signingKeyId, signingKey, signingPassword)
119114
sign(publishing.publications)
120115
}
121116

0 commit comments

Comments
 (0)