Skip to content

Commit

Permalink
...
Browse files Browse the repository at this point in the history
  • Loading branch information
qouteall committed Sep 1, 2024
1 parent 12c0995 commit c3e25ca
Show file tree
Hide file tree
Showing 3 changed files with 32 additions and 0 deletions.
28 changes: 28 additions & 0 deletions build.gradle
Original file line number Diff line number Diff line change
@@ -1,6 +1,9 @@
plugins {
id 'fabric-loom' version '1.6-SNAPSHOT'
id 'maven-publish'

id "me.modmuss50.mod-publish-plugin" version "0.3.5"
// https://modmuss50.github.io/mod-publish-plugin/
}

version = project.mod_version + "+mc" + project.minecraft_version
Expand Down Expand Up @@ -88,4 +91,29 @@ publishing {
// The repositories here will be used for publishing your artifact, not for
// retrieving dependencies.
}
}

publishMods {
file = remapJar.archiveFile
changelog = file("changelog.md").text
type = ALPHA
modLoaders.add("fabric")

displayName = "v${project.mod_version}-mc${project.minecraft_version}"
version = "v${project.mod_version}-mc${project.minecraft_version}"

modrinth {
projectId = "WECKae1F"
accessToken = providers.environmentVariable("MODRINTH_TOKEN")
minecraftVersions.add(minecraft_version)

requires {
slug = "fabric-api"
}
}
github {
repository = "iPortalTeam/DimLib"
accessToken = providers.environmentVariable("GITHUB_TOKEN")
commitish = "${project.git_branch}"
}
}
1 change: 1 addition & 0 deletions changelog.md
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
Update to MC 1.20.1
3 changes: 3 additions & 0 deletions gradle.properties
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,9 @@ mod_version=1.1.0
maven_group=qouteall.dimlib
archives_base_name=dimlib

# don't forget to update this if branch changes
git_branch=1.21

minecraft_version=1.21.1
yarn_mappings=1.21.1+build.3
loader_version=0.16.2
Expand Down

0 comments on commit c3e25ca

Please sign in to comment.