aboutsummaryrefslogtreecommitdiff
path: root/build.gradle
diff options
context:
space:
mode:
authorGrayray75 <69988482+Grayray75@users.noreply.github.com>2023-10-08 16:39:15 +0200
committerGrayray75 <69988482+Grayray75@users.noreply.github.com>2023-10-08 16:40:47 +0200
commite65f26f096e998025fe4c46602adf4638710a977 (patch)
treeff1ea8544a923ca41a99e6ee93ba6e8c28a3c295 /build.gradle
parent19c8450f00b1f18725deb8014b642817bb607682 (diff)
parent0c9381191663a74a9ec3cff9aae1c8b523215f0e (diff)
downloadSkyblocker-e65f26f096e998025fe4c46602adf4638710a977.tar.gz
Skyblocker-e65f26f096e998025fe4c46602adf4638710a977.tar.bz2
Skyblocker-e65f26f096e998025fe4c46602adf4638710a977.zip
Merge branch 'master' into item-cooldown
Diffstat (limited to 'build.gradle')
-rw-r--r--build.gradle14
1 files changed, 9 insertions, 5 deletions
diff --git a/build.gradle b/build.gradle
index d26c0e92..8ed905d1 100644
--- a/build.gradle
+++ b/build.gradle
@@ -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 {