Skip to content

Commit

Permalink
Add Modrinth publish plugin
Browse files Browse the repository at this point in the history
  • Loading branch information
Ryhon0 committed Jun 28, 2024
1 parent 263bd37 commit b64f107
Showing 1 changed file with 16 additions and 0 deletions.
16 changes: 16 additions & 0 deletions build.gradle
Original file line number Diff line number Diff line change
@@ -1,6 +1,8 @@
plugins {
id 'fabric-loom' version '1.6-SNAPSHOT'
id 'maven-publish'

id "com.modrinth.minotaur" version "2.+"
}

version = project.mod_version
Expand All @@ -10,6 +12,20 @@ base {
archivesName = project.archives_base_name
}

modrinth {
token = System.getenv("MODRINTH_TOKEN")
projectId = "replanter-plus"
versionNumber = project.mod_version
versionType = "release"
uploadFile = jar
gameVersions = [project.minecraft_version]
loaders = ["fabric", "quilt"]
dependencies {
required.project "fabric-api"
optional.project "modmenu"
}
}

repositories {
maven { url = "https://maven.terraformersmc.com/" }
}
Expand Down

0 comments on commit b64f107

Please sign in to comment.