From b5b7d0aa90a36a36ba85395ab8dda6cda1cd236d Mon Sep 17 00:00:00 2001 From: "Plamen K. Kosseff" Date: Sat, 6 Nov 2021 22:32:35 +0200 Subject: [PATCH] version bump. --- build.gradle.kts | 2 +- platforms/fabric-1.14/build.gradle.kts | 4 ++++ platforms/fabric-1.15/build.gradle.kts | 5 +++++ platforms/fabric-1.16/build.gradle.kts | 5 +++++ platforms/fabric-1.17/build.gradle.kts | 6 +++++- 5 files changed, 20 insertions(+), 2 deletions(-) diff --git a/build.gradle.kts b/build.gradle.kts index 765ff7b4..33a01d27 100644 --- a/build.gradle.kts +++ b/build.gradle.kts @@ -9,7 +9,7 @@ buildscript { } } -val versionObj = Version("1", "1", "3", +val versionObj = Version("1", "1", "4", preRelease = (System.getenv("IPNEXT_RELEASE") == null)) diff --git a/platforms/fabric-1.14/build.gradle.kts b/platforms/fabric-1.14/build.gradle.kts index ee404be2..8c88b8b1 100644 --- a/platforms/fabric-1.14/build.gradle.kts +++ b/platforms/fabric-1.14/build.gradle.kts @@ -229,6 +229,10 @@ configure { displayName = "Inventory Profiles Next-fabric-$minecraft_version-$mod_version" }) + relations(closureOf { + requiredDependency("fabric-api") + optionalDependency("modmenu") + }) afterEvaluate { uploadTask.dependsOn("build") } diff --git a/platforms/fabric-1.15/build.gradle.kts b/platforms/fabric-1.15/build.gradle.kts index 1edebf98..343d6152 100644 --- a/platforms/fabric-1.15/build.gradle.kts +++ b/platforms/fabric-1.15/build.gradle.kts @@ -229,6 +229,11 @@ configure { displayName = "Inventory Profiles Next-fabric-$minecraft_version-$mod_version" }) + relations(closureOf { + requiredDependency("fabric-api") + optionalDependency("modmenu") + }) + afterEvaluate { uploadTask.dependsOn("build") } diff --git a/platforms/fabric-1.16/build.gradle.kts b/platforms/fabric-1.16/build.gradle.kts index 400c2ccd..879d2e3d 100644 --- a/platforms/fabric-1.16/build.gradle.kts +++ b/platforms/fabric-1.16/build.gradle.kts @@ -226,6 +226,11 @@ configure { displayName = "Inventory Profiles Next-fabric-$minecraft_version-$mod_version" }) + relations(closureOf { + requiredDependency("fabric-api") + optionalDependency("modmenu") + }) + afterEvaluate { uploadTask.dependsOn("build") } diff --git a/platforms/fabric-1.17/build.gradle.kts b/platforms/fabric-1.17/build.gradle.kts index d132a347..dc7eacc0 100644 --- a/platforms/fabric-1.17/build.gradle.kts +++ b/platforms/fabric-1.17/build.gradle.kts @@ -1,4 +1,5 @@ import com.github.jengelman.gradle.plugins.shadow.tasks.ShadowJar +import com.matthewprenger.cursegradle.CurseRelation import com.modrinth.minotaur.TaskModrinthUpload import net.fabricmc.loom.task.RemapJarTask import org.anti_ad.mc.configureCommon @@ -222,7 +223,10 @@ configure { mainArtifact(remappedJarFile, closureOf { displayName = "Inventory Profiles Next-fabric-$minecraft_version-$mod_version" }) - + relations(closureOf { + requiredDependency("fabric-api") + optionalDependency("modmenu") + }) afterEvaluate { uploadTask.dependsOn("build") }