diff options
author | Yasin <LifeIsAParadox@users.noreply.github.com> | 2023-10-09 12:11:19 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-10-09 12:11:19 +0200 |
commit | 3696b874cd89f55ae79cadfd923c26a047add5fe (patch) | |
tree | 6078bbe54377991439ecd5680f02c3ec3648485b /build.gradle | |
parent | 6ccb02d50bcded84ab21437895c9344c9ec416cb (diff) | |
parent | 9086f1ff94daa4933bf29552cfdaa633a251a792 (diff) | |
download | Skyblocker-3696b874cd89f55ae79cadfd923c26a047add5fe.tar.gz Skyblocker-3696b874cd89f55ae79cadfd923c26a047add5fe.tar.bz2 Skyblocker-3696b874cd89f55ae79cadfd923c26a047add5fe.zip |
Merge branch 'master' into better-durability
Diffstat (limited to 'build.gradle')
-rw-r--r-- | build.gradle | 16 |
1 files changed, 10 insertions, 6 deletions
diff --git a/build.gradle b/build.gradle index d26c0e92..3e4a13d3 100644 --- a/build.gradle +++ b/build.gradle @@ -1,5 +1,5 @@ plugins { - id 'fabric-loom' version '1.3-SNAPSHOT' + id 'fabric-loom' version '1.4-SNAPSHOT' id 'maven-publish' id 'com.modrinth.minotaur' version '2.+' } @@ -140,18 +140,22 @@ modrinth { gameVersions = [project.minecraft_version] loaders = ["fabric"] versionType = "release" - dependencies = [ // Yet another array. Create a new `ModDependency` or `VersionDependency` with two strings - the ID and the scope - new ModDependency("P7dR8mSH", "required"), // Creates a new required dependency on Fabric API - new ModDependency("mOgUt4GM", "optional"), // modmenu - new ModDependency("nfn13YXA", "optional") // REI - ] + dependencies { + required.project "fabric-api" + optional.project "modmenu" + optional.project "rei" + optional.project "emi" + } changelog = System.getenv('CHANGELOG') + syncBodyFrom = rootProject.file("MRREADME.md").text } tasks.modrinth.doLast { println "::set-output name=url::https://modrinth.com/mod/skyblocker-liap/version/$uploadInfo.id" } +tasks.modrinth.dependsOn(tasks.modrinthSyncBody) + // configure the maven publication publishing { publications { |