Skip to content

Commit 57e098a

Browse files
committed
add xander maven publishing
1 parent b46e227 commit 57e098a

2 files changed

Lines changed: 7 additions & 18 deletions

File tree

build.gradle.kts

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,6 @@ plugins {
1010
id("me.modmuss50.mod-publish-plugin")
1111
`maven-publish`
1212
signing
13-
id("com.gradleup.nmcp")
1413
id("dev.isxander.secrets")
1514

1615
id("org.ajoberstar.grgit")
@@ -360,6 +359,13 @@ publishing {
360359
}
361360
repositories {
362361
mavenLocal()
362+
363+
maven(url = "https://beta.maven.isxander.dev/releases") {
364+
credentials {
365+
username = secrets.gradleProperty("maven.username").orNull
366+
password = secrets.gradleProperty("maven.password").orNull
367+
}
368+
}
363369
}
364370
}
365371

stonecutter.gradle.kts

Lines changed: 0 additions & 17 deletions
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,6 @@ plugins {
99

1010
id("me.modmuss50.mod-publish-plugin") version "0.8.4" apply false
1111
id("org.ajoberstar.grgit") version "5.0.+" apply false
12-
id("com.gradleup.nmcp.aggregation") version "1.4.3"
1312

1413
id("dev.isxander.secrets") version "0.1.0"
1514
}
@@ -57,19 +56,3 @@ tasks.register("clean") {
5756
group = "build"
5857
delete(layout.buildDirectory.dir("finalJars"))
5958
}
60-
61-
62-
nmcpAggregation {
63-
centralPortal {
64-
username = secrets.gradleProperty("mcentral.username")
65-
password = secrets.gradleProperty("mcentral.password")
66-
67-
publicationName = "yet-another-config-lib:$version"
68-
}
69-
}
70-
dependencies {
71-
allprojects {
72-
nmcpAggregation(project(path))
73-
}
74-
}
75-

0 commit comments

Comments
 (0)