[CHORE] Update ModPublisher
This commit is contained in:
@@ -101,25 +101,26 @@ publishing {
|
||||
|
||||
publisher {
|
||||
apiKeys {
|
||||
modrinth = System.getenv("MODRINTH_TOKEN")
|
||||
curseforge = System.getenv("CURSE_TOKEN")
|
||||
modrinth(System.getenv("MODRINTH_TOKEN"))
|
||||
curseforge(System.getenv("CURSE_TOKEN"))
|
||||
}
|
||||
|
||||
curseID = curse_id
|
||||
modrinthID = modrinth_id
|
||||
versionType = "release"
|
||||
changelog = "https://raw.githubusercontent.com/hypherionmc/changelogs/main/craterlib/changelog-fabric.md"
|
||||
version = "${minecraft_version}-${project.version}"
|
||||
displayName = "[FABRIC/QUILT 1.20.4] CraterLib - ${project.version}"
|
||||
gameVersions = ["1.20.4"]
|
||||
loaders = ["fabric", "quilt"]
|
||||
artifact = remapJar
|
||||
setCurseID(curse_id)
|
||||
setModrinthID(modrinth_id)
|
||||
setVersionType("release")
|
||||
setChangelog("https://raw.githubusercontent.com/hypherionmc/changelogs/main/craterlib/changelog-fabric.md")
|
||||
setProjectVersion("${minecraft_version}-${project.version}")
|
||||
setDisplayName("[FABRIC/QUILT 1.20.6] CraterLib - ${project.version}")
|
||||
setGameVersions("1.20.6")
|
||||
setLoaders("fabric", "quilt")
|
||||
setArtifact(remapJar)
|
||||
setCurseEnvironment("both")
|
||||
|
||||
modrinthDepends {
|
||||
required = ["P7dR8mSH"]
|
||||
required("fabric-api")
|
||||
}
|
||||
|
||||
curseDepends {
|
||||
required = ["fabric-api"]
|
||||
required("fabric-api")
|
||||
}
|
||||
}
|
@@ -95,17 +95,18 @@ publishing {
|
||||
|
||||
publisher {
|
||||
apiKeys {
|
||||
modrinth = System.getenv("MODRINTH_TOKEN")
|
||||
curseforge = System.getenv("CURSE_TOKEN")
|
||||
modrinth(System.getenv("MODRINTH_TOKEN"))
|
||||
curseforge(System.getenv("CURSE_TOKEN"))
|
||||
}
|
||||
|
||||
curseID = curse_id
|
||||
modrinthID = modrinth_id
|
||||
versionType = "release"
|
||||
changelog = "https://raw.githubusercontent.com/hypherionmc/changelogs/main/craterlib/changelog-forge.md"
|
||||
version = "${minecraft_version}-${project.version}"
|
||||
displayName = "[FORGE 1.20.4] CraterLib - ${project.version}"
|
||||
gameVersions = ["1.20.4"]
|
||||
loaders = ["forge"]
|
||||
artifact = remapJar
|
||||
setCurseID(curse_id)
|
||||
setModrinthID(modrinth_id)
|
||||
setVersionType("release")
|
||||
setChangelog("https://raw.githubusercontent.com/hypherionmc/changelogs/main/craterlib/changelog-forge.md")
|
||||
setProjectVersion("${minecraft_version}-${project.version}")
|
||||
setDisplayName("[Forge 1.20.6] CraterLib - ${project.version}")
|
||||
setGameVersions("1.20.6")
|
||||
setLoaders("forge")
|
||||
setArtifact(remapJar)
|
||||
setCurseEnvironment("both")
|
||||
}
|
@@ -94,20 +94,18 @@ publishing {
|
||||
|
||||
publisher {
|
||||
apiKeys {
|
||||
modrinth = System.getenv("MODRINTH_TOKEN")
|
||||
curseforge = System.getenv("CURSE_TOKEN")
|
||||
modrinth(System.getenv("MODRINTH_TOKEN"))
|
||||
curseforge(System.getenv("CURSE_TOKEN"))
|
||||
}
|
||||
|
||||
curseID = curse_id
|
||||
modrinthID = modrinth_id
|
||||
versionType = "release"
|
||||
changelog = rootProject.file("changelog-forge.md")
|
||||
version = "${minecraft_version}-${project.version}"
|
||||
displayName = "[NEOFORGE 1.20.4] CraterLib - ${project.version}"
|
||||
gameVersions = ["1.20.4"]
|
||||
loaders = ["neoforge"]
|
||||
artifact = remapJar
|
||||
}
|
||||
|
||||
publishCurseforge.dependsOn(remapJar)
|
||||
publishModrinth.dependsOn(remapJar)
|
||||
setCurseID(curse_id)
|
||||
setModrinthID(modrinth_id)
|
||||
setVersionType("release")
|
||||
setChangelog("https://raw.githubusercontent.com/hypherionmc/changelogs/main/craterlib/changelog-forge.md")
|
||||
setProjectVersion("${minecraft_version}-${project.version}")
|
||||
setDisplayName("[NeoForge 1.20.6] CraterLib - ${project.version}")
|
||||
setGameVersions("1.20.6")
|
||||
setLoaders("neoforge")
|
||||
setArtifact(remapJar)
|
||||
setCurseEnvironment("both")
|
||||
}
|
@@ -2,7 +2,7 @@ plugins {
|
||||
id 'java'
|
||||
id 'com.github.johnrengelman.shadow' version '8.1.1' apply false
|
||||
id "xyz.wagyourtail.unimined" version "1.2.4" apply false
|
||||
id "me.hypherionmc.modutils.modpublisher" version "1.0.23+"
|
||||
id "com.hypherionmc.modutils.modpublisher" version "2.1.+"
|
||||
id "com.hypherionmc.modutils.orion" version "1.0.10"
|
||||
id 'maven-publish'
|
||||
}
|
||||
@@ -26,10 +26,10 @@ subprojects {
|
||||
apply plugin: "java"
|
||||
apply plugin: 'maven-publish'
|
||||
apply plugin: 'com.github.johnrengelman.shadow'
|
||||
apply plugin: 'me.hypherionmc.modutils.modpublisher'
|
||||
apply plugin: 'com.hypherionmc.modutils.modpublisher'
|
||||
|
||||
sourceCompatibility = JavaVersion.VERSION_17
|
||||
targetCompatibility = JavaVersion.VERSION_17
|
||||
sourceCompatibility = JavaVersion.VERSION_21
|
||||
targetCompatibility = JavaVersion.VERSION_21
|
||||
|
||||
group = rootProject.group
|
||||
|
||||
|
Reference in New Issue
Block a user