Skip to content

Commit 2c64a05

Browse files
committed
remove maven central and add xander maven
1 parent 0b9a0dd commit 2c64a05

2 files changed

Lines changed: 8 additions & 42 deletions

File tree

build.gradle.kts

Lines changed: 8 additions & 23 deletions
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,6 @@ plugins {
66

77
id("me.modmuss50.mod-publish-plugin")
88
`maven-publish`
9-
id("com.gradleup.nmcp")
109

1110
id("dev.kikugie.postprocess.j52j") version "2.1-beta.3"
1211
}
@@ -288,29 +287,15 @@ publishing {
288287

289288
artifactId = "controlify"
290289
groupId = "dev.isxander"
290+
}
291+
}
291292

292-
pom {
293-
name = modstitch.metadata.modName
294-
description = modstitch.metadata.modDescription
295-
url = "https://www.isxander.dev/projects/controlify"
296-
licenses {
297-
license {
298-
name = "LGPL-3.0-or-later"
299-
url = "https://www.gnu.org/licenses/lgpl-3.0.en.html"
300-
}
301-
}
302-
developers {
303-
developer {
304-
id = "isXander"
305-
name = "Xander"
306-
email = "business@isxander.dev"
307-
}
308-
}
309-
scm {
310-
url = "https://github.com/isXander/Controlify"
311-
connection = "scm:git:git//github.com/isXander/Controlify.git"
312-
developerConnection = "scm:git:ssh://git@github.com/isXander/Controlify.git"
313-
}
293+
repositories {
294+
maven("https://maven.isxander.dev/releases") {
295+
name = "XanderMaven"
296+
credentials {
297+
username = secrets.gradleProperty("maven.username").orNull
298+
password = secrets.gradleProperty("maven.password").orNull
314299
}
315300
}
316301
}

stonecutter.gradle.kts

Lines changed: 0 additions & 19 deletions
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,6 @@ plugins {
55
id("dev.kikugie.stonecutter")
66
id("de.undercouch.download") version "5.6.0"
77
id("org.moddedmc.wiki.toolkit") version "0.2.5"
8-
id("com.gradleup.nmcp.aggregation") version "1.4.3"
98
id("dev.isxander.secrets")
109

1110
id("dev.isxander.modstitch.base") apply false
@@ -75,24 +74,6 @@ publishMods {
7574
// subprojects depend themselves on this task
7675
val releaseModVersions by tasks.registering {
7776
group = "controlify"
78-
79-
if (!publishMods.dryRun.get()) {
80-
dependsOn("publishAggregationToCentralPortal")
81-
}
82-
}
83-
84-
nmcpAggregation {
85-
centralPortal {
86-
username = secrets.gradleProperty("mcentral.username")
87-
password = secrets.gradleProperty("mcentral.password")
88-
89-
publicationName = "controlify:$version"
90-
}
91-
}
92-
dependencies {
93-
allprojects {
94-
nmcpAggregation(project(path))
95-
}
9677
}
9778

9879
wiki {

0 commit comments

Comments
 (0)