mirror of
https://github.com/CompeyDev/elytra-lock-fabric.git
synced 2025-01-05 18:59:09 +00:00
chore(build.gradle): include minotaur config
This commit is contained in:
parent
14dd54adb8
commit
6bceab7de2
2 changed files with 16 additions and 0 deletions
0
README.md
Normal file
0
README.md
Normal file
16
build.gradle
16
build.gradle
|
@ -1,5 +1,6 @@
|
||||||
plugins {
|
plugins {
|
||||||
id 'fabric-loom' version '1.6-SNAPSHOT'
|
id 'fabric-loom' version '1.6-SNAPSHOT'
|
||||||
|
id "com.modrinth.minotaur" version "2.+"
|
||||||
id 'maven-publish'
|
id 'maven-publish'
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -79,6 +80,21 @@ jar {
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
modrinth {
|
||||||
|
token = System.getenv("MODRINTH_TOKEN")
|
||||||
|
projectId = "elytralock"
|
||||||
|
versionType = "release"
|
||||||
|
debugMode = true
|
||||||
|
uploadFile = remapJar
|
||||||
|
loaders = ["fabric", "quilt"]
|
||||||
|
syncBodyFrom = rootProject.file("README.md").text
|
||||||
|
dependencies {
|
||||||
|
required.project "fabric-api"
|
||||||
|
optional.version "modmenu", "${project.modmenu_version}"
|
||||||
|
optional.version "yacl", "${project.yacl_version}-fabric"
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
// configure the maven publication
|
// configure the maven publication
|
||||||
publishing {
|
publishing {
|
||||||
publications {
|
publications {
|
||||||
|
|
Loading…
Reference in a new issue