Skip to content

Commit ea8df1f

Browse files
committed
Drop nexus publishing plugin
Maven Central recently deprecated the Sonatype-style publishing, which means the nexus publishing gradle plugin we used didn't work anymore. As Maven Central has yet to release a replacement plugin for gradle, we simply drop nexus publishing support here and manually upload the archives in the meantime, which is simple enough. We also drop the publishing CI jobs that originally aimed to automate publishing to Maven Central, which we however never came around to use since we didn't want to fully trust Github CI with publishing binaries for us.
1 parent 014620a commit ea8df1f

File tree

4 files changed

+0
-173
lines changed

4 files changed

+0
-173
lines changed

.github/workflows/publish-android.yml

Lines changed: 0 additions & 43 deletions
This file was deleted.

.github/workflows/publish-jvm.yml

Lines changed: 0 additions & 86 deletions
This file was deleted.

bindings/kotlin/ldk-node-android/build.gradle.kts

Lines changed: 0 additions & 22 deletions
Original file line numberDiff line numberDiff line change
@@ -7,30 +7,8 @@ buildscript {
77
}
88
}
99

10-
plugins {
11-
id("io.github.gradle-nexus.publish-plugin") version "1.1.0"
12-
}
13-
1410
// library version is defined in gradle.properties
1511
val libraryVersion: String by project
1612

17-
// These properties are required here so that the nexus publish-plugin
18-
// finds a staging profile with the correct group (group is otherwise set as "")
19-
// and knows whether to publish to a SNAPSHOT repository or not
20-
// https://github.com/gradle-nexus/publish-plugin#applying-the-plugin
2113
group = "org.lightningdevkit"
2214
version = libraryVersion
23-
24-
nexusPublishing {
25-
repositories {
26-
create("sonatype") {
27-
nexusUrl.set(uri("https://s01.oss.sonatype.org/service/local/"))
28-
snapshotRepositoryUrl.set(uri("https://s01.oss.sonatype.org/content/repositories/snapshots/"))
29-
30-
val ossrhUsername: String? by project
31-
val ossrhPassword: String? by project
32-
username.set(ossrhUsername)
33-
password.set(ossrhPassword)
34-
}
35-
}
36-
}

bindings/kotlin/ldk-node-jvm/build.gradle.kts

Lines changed: 0 additions & 22 deletions
Original file line numberDiff line numberDiff line change
@@ -7,30 +7,8 @@ buildscript {
77
}
88
}
99

10-
plugins {
11-
id("io.github.gradle-nexus.publish-plugin") version "1.1.0"
12-
}
13-
1410
// library version is defined in gradle.properties
1511
val libraryVersion: String by project
1612

17-
// These properties are required here so that the nexus publish-plugin
18-
// finds a staging profile with the correct group (group is otherwise set as "")
19-
// and knows whether to publish to a SNAPSHOT repository or not
20-
// https://github.com/gradle-nexus/publish-plugin#applying-the-plugin
2113
group = "org.lightningdevkit"
2214
version = libraryVersion
23-
24-
nexusPublishing {
25-
repositories {
26-
create("sonatype") {
27-
nexusUrl.set(uri("https://s01.oss.sonatype.org/service/local/"))
28-
snapshotRepositoryUrl.set(uri("https://s01.oss.sonatype.org/content/repositories/snapshots/"))
29-
30-
val ossrhUsername: String? by project
31-
val ossrhPassword: String? by project
32-
username.set(ossrhUsername)
33-
password.set(ossrhPassword)
34-
}
35-
}
36-
}

0 commit comments

Comments
 (0)