aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorisXander <xandersmith2008@gmail.com>2023-12-07 19:05:09 +0000
committerisXander <xandersmith2008@gmail.com>2023-12-07 19:05:09 +0000
commitf5ecba0acfb8b60c1d695d1bb631cdf264365b0f (patch)
tree887f0e1f06b83dea32d7e51ac8989bcf86251a43
parent4936a899e6705d14d7c51fbd0c519a1257c8b95f (diff)
downloadYetAnotherConfigLib-f5ecba0acfb8b60c1d695d1bb631cdf264365b0f.tar.gz
YetAnotherConfigLib-f5ecba0acfb8b60c1d695d1bb631cdf264365b0f.tar.bz2
YetAnotherConfigLib-f5ecba0acfb8b60c1d695d1bb631cdf264365b0f.zip
update publishing metadata
-rw-r--r--fabric/build.gradle.kts5
-rw-r--r--neoforge/build.gradle.kts13
2 files changed, 10 insertions, 8 deletions
diff --git a/fabric/build.gradle.kts b/fabric/build.gradle.kts
index 914e3ae..cb3dd29 100644
--- a/fabric/build.gradle.kts
+++ b/fabric/build.gradle.kts
@@ -131,7 +131,7 @@ if (modrinthId.isNotEmpty()) {
versionNumber.set("${project.version}-fabric")
versionType.set(if (isBeta) "beta" else "release")
uploadFile.set(tasks["remapJar"])
- gameVersions.set(listOf("1.20.2"))
+ gameVersions.set(listOf("1.20.3", "1.20.4"))
loaders.set(listOf("fabric", "quilt"))
changelog.set(changelogText)
syncBodyFrom.set(rootProject.file("README.md").readText())
@@ -150,7 +150,8 @@ if (hasProperty("curseforge.token") && curseforgeId.isNotEmpty()) {
id = curseforgeId
releaseType = if (isBeta) "beta" else "release"
- addGameVersion("1.20.2")
+ addGameVersion("1.20.3")
+ addGameVersion("1.20.4")
addGameVersion("Fabric")
addGameVersion("Java 17")
diff --git a/neoforge/build.gradle.kts b/neoforge/build.gradle.kts
index 7b09032..b58e037 100644
--- a/neoforge/build.gradle.kts
+++ b/neoforge/build.gradle.kts
@@ -134,11 +134,11 @@ if (modrinthId.isNotEmpty()) {
modrinth {
token.set(findProperty("modrinth.token")?.toString())
projectId.set(modrinthId)
- versionName.set("${project.version} (Forge)")
+ versionName.set("${project.version} (NeoForge)")
versionNumber.set("${project.version}-neoforge")
versionType.set(if (isBeta) "beta" else "release")
uploadFile.set(tasks["remapJar"])
- gameVersions.set(listOf("1.20.4"))
+ gameVersions.set(listOf("1.20.4", "1.20.3"))
loaders.set(listOf("neoforge"))
changelog.set(changelogText)
syncBodyFrom.set(rootProject.file("README.md").readText())
@@ -152,12 +152,13 @@ if (hasProperty("curseforge.token") && curseforgeId.isNotEmpty()) {
apiKey = findProperty("curseforge.token")
project(closureOf<me.hypherionmc.cursegradle.CurseProject> {
mainArtifact(tasks["remapJar"], closureOf<me.hypherionmc.cursegradle.CurseArtifact> {
- displayName = "[Forge] ${project.version}"
+ displayName = "[NeoForge] ${project.version}"
})
id = curseforgeId
releaseType = if (isBeta) "beta" else "release"
addGameVersion("1.20.4")
+ addGameVersion("1.20.3")
addGameVersion("NeoForge")
addGameVersion("Java 17")
@@ -175,14 +176,14 @@ rootProject.tasks["releaseMod"].dependsOn(tasks["curseforge"])
publishing {
publications {
- create<MavenPublication>("forge") {
+ create<MavenPublication>("neoforge") {
groupId = "dev.isxander.yacl"
- artifactId = "yet-another-config-lib-forge"
+ artifactId = "yet-another-config-lib-neoforge"
from(components["java"])
}
}
}
-tasks.findByPath("publishForgePublicationToReleasesRepository")?.let {
+tasks.findByPath("publishNeoforgePublicationToReleasesRepository")?.let {
rootProject.tasks["releaseMod"].dependsOn(it)
}