-
Notifications
You must be signed in to change notification settings - Fork 13
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
b953f4c
commit 9bb8fc0
Showing
26 changed files
with
351 additions
and
65 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -21,6 +21,7 @@ build | |
eclipse | ||
run | ||
run_server | ||
runs | ||
secrets.json | ||
changelog.md | ||
*.launch | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
File renamed without changes
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,6 +1,6 @@ | ||
{ | ||
"pack": { | ||
"description": "clumps resources", | ||
"pack_format": 6 | ||
} | ||
"pack": { | ||
"description": "${NAME}", | ||
"pack_format": 6 | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,16 +1,26 @@ | ||
modLoader = "javafml" | ||
loaderVersion = "[41,)" | ||
issueTrackerURL = "https://github.com/jaredlll08/Clumps/issues" | ||
loaderVersion = "${FORGE_LOADER}" | ||
issueTrackerURL = "${GIT_REPO}/issues" | ||
license = "MIT" | ||
[[mods]] | ||
modId = "clumps" | ||
version = "${file.jarVersion}" | ||
displayName = "Clumps" | ||
displayURL = "https://www.curseforge.com/minecraft/mc-mods/clumps" | ||
updateJSONURL = "https://updates.blamejared.com/get?n=clumps&gv=1.20.2" | ||
credits = "" | ||
authors = "Jaredlll08" | ||
modId = "${MODID}" | ||
updateJSONURL = "https://updates.blamejared.com/get?n=${MODID}&gv=${MINECRAFT}&ml=forge" | ||
version = "${version}" | ||
displayName = "${NAME}" | ||
displayURL = "${CURSE_HOMEPAGE}" | ||
authors = "${AUTHOR}" | ||
logoFile = "icon.png" | ||
description = ''' | ||
Clumps xp orbs together. | ||
''' | ||
description = '''${DESCRIPTION}''' | ||
itemIcon = "${ITEM_ICON}" | ||
[[dependencies.${MODID}]] | ||
modId = "forge" | ||
mandatory = true | ||
versionRange = "${FORGE_LOADER}" | ||
ordering = "NONE" | ||
side = "BOTH" | ||
[[dependencies.${MODID}]] | ||
modId = "minecraft" | ||
mandatory = true | ||
versionRange = "[${MINECRAFT}]" | ||
ordering = "NONE" | ||
side = "BOTH" |
Binary file not shown.
Binary file not shown.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,6 +1,7 @@ | ||
distributionBase=GRADLE_USER_HOME | ||
distributionPath=wrapper/dists | ||
distributionUrl=https\://services.gradle.org/distributions/gradle-8.1.1-bin.zip | ||
distributionUrl=https\://services.gradle.org/distributions/gradle-8.5-bin.zip | ||
networkTimeout=10000 | ||
validateDistributionUrl=true | ||
zipStoreBase=GRADLE_USER_HOME | ||
zipStorePath=wrapper/dists |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,56 @@ | ||
import com.blamejared.gradle.mod.utils.GMUtils | ||
import com.blamejared.clumps.gradle.Properties | ||
import com.blamejared.clumps.gradle.Versions | ||
import net.darkhax.curseforgegradle.Constants | ||
import net.darkhax.curseforgegradle.TaskPublishCurseForge | ||
|
||
plugins { | ||
id("com.blamejared.clumps.default") | ||
id("com.blamejared.clumps.loader") | ||
id("net.neoforged.gradle.userdev") version ("7.0.71") | ||
id("com.modrinth.minotaur") | ||
} | ||
|
||
runs { | ||
configureEach { | ||
modSource(project.sourceSets.main.get()) | ||
} | ||
register("client") { | ||
} | ||
register("server") { | ||
programArgument("--nogui") | ||
} | ||
} | ||
|
||
dependencies { | ||
implementation("net.neoforged:neoforge:${Versions.NEO_FORGE}") | ||
compileOnly(project(":common")) | ||
} | ||
|
||
tasks.create<TaskPublishCurseForge>("publishCurseForge") { | ||
dependsOn(tasks.jar) | ||
apiToken = GMUtils.locateProperty(project, "curseforgeApiToken") ?: 0 | ||
|
||
val mainFile = upload(Properties.CURSE_PROJECT_ID, tasks.jar.get().archiveFile) | ||
mainFile.changelogType = "markdown" | ||
mainFile.changelog = GMUtils.smallChangelog(project, Properties.GIT_REPO) | ||
mainFile.releaseType = Constants.RELEASE_TYPE_RELEASE | ||
mainFile.addJavaVersion("Java ${Versions.JAVA}") | ||
mainFile.addGameVersion(Versions.MINECRAFT) | ||
mainFile.addModLoader("NeoForge") | ||
|
||
doLast { | ||
project.ext.set("curse_file_url", "${Properties.CURSE_HOMEPAGE}/files/${mainFile.curseFileId}") | ||
} | ||
} | ||
|
||
modrinth { | ||
token.set(GMUtils.locateProperty(project, "modrinth_token")) | ||
projectId.set(Properties.MODRINTH_PROJECT_ID) | ||
changelog.set(GMUtils.smallChangelog(project, Properties.GIT_REPO)) | ||
versionName.set("NeoForge-${Versions.MINECRAFT}-$version") | ||
versionType.set("release") | ||
gameVersions.set(listOf(Versions.MINECRAFT)) | ||
uploadFile.set(tasks.jar.get()) | ||
} | ||
tasks.modrinth.get().dependsOn(tasks.jar) |
Oops, something went wrong.