Created
December 20, 2022 23:22
-
-
Save triphora/f5bf6ed53b49bd92b512ba874934091f to your computer and use it in GitHub Desktop.
Before and after of Minotaur v2 buildscript
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
modrinth { | |
projectId = 'AABBCCDD' | |
versionName = "[$project.minecraft_version] Mod Name $project.version" | |
releaseType = 'alpha' | |
changelog = project.changelog | |
uploadFile = remapJar | |
gameVersions = ['1.18', '1.18.1', '1.18.2'] | |
loaders = ['fabric'] | |
dependencies = [ | |
new ModDependency('P7dR8mSH', 'required') // Creates a new required dependency on Fabric API | |
] | |
} |
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
task publishModrinth(type: com.modrinth.minotaur.TaskModrinthUpload) { | |
onlyIf { | |
System.getenv().MODRINTH_TOKEN | |
} | |
token = System.getenv().MODRINTH_TOKEN | |
projectId = 'AABBCCDD' | |
versionNumber = version | |
versionName = "[$project.minecraft_version] Mod Name $project.version" | |
releaseType = 'alpha' | |
changelog = project.changelog | |
uploadFile = remapJar | |
addGameVersion('1.18') | |
addGameVersion('1.18.1') | |
addGameVersion('1.18.2') | |
addLoader('fabric') | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment