Skip to content

Commit

Permalink
Merge branch '1.20.4' into 1.20.2
Browse files Browse the repository at this point in the history
  • Loading branch information
Treetrain1 committed Feb 2, 2024
2 parents 08ea53d + 537b3e2 commit 79df82d
Show file tree
Hide file tree
Showing 4 changed files with 1 addition and 52 deletions.
3 changes: 1 addition & 2 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,6 @@ jobs:
MAVEN_USERNAME: ${{secrets.MAVEN_USERNAME}}
MAVEN_PASSWORD: ${{secrets.MAVEN_PASSWORD}}
GITHUB_TOKEN: ${{secrets.GITHUB_TOKEN}}
CURSEFORGE_TOKEN: ${{secrets.CURSEFORGE_TOKEN}}
MODRINTH_TOKEN: ${{secrets.MODRINTH_TOKEN}}
steps:
- name: Checking Out the Repository
Expand All @@ -45,5 +44,5 @@ jobs:
key: ${{ runner.os }}-gradle-#{{ hashFiles('**/gradle-wrapper.properties') }}
restore-keys: |
${{ runner.os }}-gradle-
- name: Publish to CurseForge and Modrinth
- name: Publish to Modrinth
run: ./gradlew publishMod -PreleaseType=stable -PuseThirdPartyMods=false
2 changes: 0 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,4 @@

Wilder Wild overhauls the Wild Update, adding features and improving existing ones.

CurseForge: https://www.curseforge.com/minecraft/mc-mods/wilder-wild

Modrinth: https://modrinth.com/mod/wilder-wild
46 changes: 0 additions & 46 deletions build.gradle.kts
Original file line number Diff line number Diff line change
@@ -1,6 +1,3 @@
import com.matthewprenger.cursegradle.CurseArtifact
import com.matthewprenger.cursegradle.CurseProject
import com.matthewprenger.cursegradle.CurseRelation
import groovy.xml.XmlSlurper
import org.codehaus.groovy.runtime.ResourceGroovyMethods
import java.io.FileInputStream
Expand Down Expand Up @@ -29,7 +26,6 @@ plugins {
id("org.quiltmc.gradle.licenser") version("+")
id("org.ajoberstar.grgit") version("+")
id("com.modrinth.minotaur") version("+")
id("com.matthewprenger.cursegradle") version("+")
`maven-publish`
eclipse
idea
Expand Down Expand Up @@ -160,11 +156,6 @@ repositories {
}

maven("https://maven.shedaniel.me/")
maven("https://cursemaven.com") {
content {
includeGroup("curse.maven")
}
}
maven("https://maven.minecraftforge.net/")
maven("https://maven.parchmentmc.org")
maven("https://maven.quiltmc.org/repository/release") {
Expand Down Expand Up @@ -425,9 +416,7 @@ extra {
}

val modrinth_id: String by extra
val curseforge_id: String by extra
val release_type: String by extra
val curseforge_minecraft_version: String by extra
val changelog_file: String by extra

val modrinth_version = makeModrinthVersion(mod_version)
Expand Down Expand Up @@ -465,40 +454,6 @@ fun getBranch(): String {
return branch.substring(branch.lastIndexOf("/") + 1)
}

curseforge {
val token = System.getenv("CURSEFORGE_TOKEN")
apiKey = if (token == null || token.isEmpty()) "unset" else token
val gameVersion = if (curseforge_minecraft_version != "null") curseforge_minecraft_version else minecraft_version
project(closureOf<CurseProject> {
id = curseforge_id
changelog = changelog_text
releaseType = release_type
addGameVersion("Fabric")
addGameVersion("Quilt")
addGameVersion(gameVersion)
relations(closureOf<CurseRelation> {
requiredDependency("fabric-api")
optionalDependency("cloth-config")
optionalDependency("modmenu")
optionalDependency("terrablender-fabric")
optionalDependency("simple-copper-pipes")
embeddedLibrary("frozenlib")
})
mainArtifact(remapJar, closureOf<CurseArtifact> {
displayName = display_name
})
//addArtifact(tasks.remapSourcesJar.get())
//addArtifact(javadocJar)

afterEvaluate {
uploadTask.dependsOn(remapJar)
//uploadTask.dependsOn(tasks.remapSourcesJar.get())
//uploadTask.dependsOn(javadocJar)
}
})
curseGradleOptions.forgeGradleIntegration = false
}

modrinth {
token.set(System.getenv("MODRINTH_TOKEN"))
projectId.set(modrinth_id)
Expand Down Expand Up @@ -554,6 +509,5 @@ val github by tasks.register("github") {
val publishMod by tasks.register("publishMod") {
dependsOn(tasks.publish)
dependsOn(github)
dependsOn(tasks.curseforge)
dependsOn(tasks.modrinth)
}
2 changes: 0 additions & 2 deletions gradle/publishing.properties
Original file line number Diff line number Diff line change
@@ -1,6 +1,4 @@
modrinth_id=AtHRJSUW
curseforge_id=648511

release_type=release
curseforge_minecraft_version=null
changelog_file=CHANGELOG.md

0 comments on commit 79df82d

Please sign in to comment.