aboutsummaryrefslogtreecommitdiff
path: root/build.gradle.kts
diff options
context:
space:
mode:
authorxander <xander@isxander.dev>2022-09-05 12:49:42 +0100
committerxander <xander@isxander.dev>2022-09-05 12:49:42 +0100
commit2dc3dbbcb05af0a1ec2f65b3ff7b4770a37c382e (patch)
tree422f8e6f17c7649565735bb073a6477c4da37ab4 /build.gradle.kts
parent6eb8458ef50feee8f9853cf71eb3d2f419f2f10e (diff)
downloadYetAnotherConfigLib-2dc3dbbcb05af0a1ec2f65b3ff7b4770a37c382e.tar.gz
YetAnotherConfigLib-2dc3dbbcb05af0a1ec2f65b3ff7b4770a37c382e.tar.bz2
YetAnotherConfigLib-2dc3dbbcb05af0a1ec2f65b3ff7b4770a37c382e.zip
dependencies!
Diffstat (limited to 'build.gradle.kts')
-rw-r--r--build.gradle.kts11
1 files changed, 9 insertions, 2 deletions
diff --git a/build.gradle.kts b/build.gradle.kts
index b476deb..17c9fb4 100644
--- a/build.gradle.kts
+++ b/build.gradle.kts
@@ -114,10 +114,13 @@ if (modrinthId.isNotEmpty()) {
token.set(findProperty("modrinth.token")?.toString())
projectId.set(modrinthId)
versionNumber.set("${project.version}")
- versionType.set("release")
+ versionType.set("beta")
uploadFile.set(tasks["remapJar"])
gameVersions.set(listOf("1.19", "1.19.1", "1.19.2"))
loaders.set(listOf("fabric", "quilt"))
+ dependencies {
+ required.project("fabric-api")
+ }
changelog.set(changelogText)
syncBodyFrom.set(file("README.md").readText())
}
@@ -133,7 +136,7 @@ if (hasProperty("curseforge.token") && curseforgeId.isNotEmpty()) {
})
id = curseforgeId
- releaseType = "release"
+ releaseType = "beta"
addGameVersion("1.19")
addGameVersion("1.19.1")
addGameVersion("1.19.2")
@@ -142,6 +145,10 @@ if (hasProperty("curseforge.token") && curseforgeId.isNotEmpty()) {
changelog = changelogText
changelogType = "markdown"
+
+ relations(closureOf<me.hypherionmc.cursegradle.CurseRelation> {
+ requiredDependency("fabric-api")
+ })
})
options(closureOf<me.hypherionmc.cursegradle.Options> {