From 870eafbbe4037ff6af4494e489b4d8795b0c51d4 Mon Sep 17 00:00:00 2001 From: Martin Robertz Date: Wed, 3 May 2023 21:24:41 +0200 Subject: [PATCH] update dep --- build.gradle | 18 +++++++++++++++++- dependencies.gradle | 8 ++++---- 2 files changed, 21 insertions(+), 5 deletions(-) diff --git a/build.gradle b/build.gradle index 17e7501..6243482 100644 --- a/build.gradle +++ b/build.gradle @@ -1,4 +1,4 @@ -//version: 1682616243 +//version: 1683056771 /* DO NOT CHANGE THIS FILE! Also, you may replace this file at any time if there is an update available. @@ -71,6 +71,9 @@ plugins { id 'com.matthewprenger.cursegradle' version '1.4.0' apply false id 'com.gtnewhorizons.retrofuturagradle' version '1.3.7' } + +print("You might want to check out './gradlew :faq' if your build fails.") + boolean settingsupdated = verifySettingsGradle() settingsupdated = verifyGitAttributes() || settingsupdated if (settingsupdated) @@ -1252,6 +1255,19 @@ if (!project.getGradle().startParameter.isOffline() && !Boolean.getBoolean('DISA } } +// If you want to add more cases to this task, implement them as arguments if total amount to print gets too large +tasks.register('faq') { + group = 'GTNH Buildscript' + description = 'Prints frequently asked questions about building a project' + + doLast { + print("If your build fails to fetch dependencies, they might have been deleted and replaced by newer " + + "versions.\nCheck if the versions you try to fetch are still on the distributing sites.\n" + + "The links can be found in repositories.gradle and build.gradle:repositories, " + + "not build.gradle:buildscript.repositories - this one is for gradle plugin metadata.") + } +} + static URL availableBuildScriptUrl() { new URL("https://raw.githubusercontent.com/GTNewHorizons/ExampleMod1.7.10/master/build.gradle") } diff --git a/dependencies.gradle b/dependencies.gradle index e3d6c51..006efb1 100644 --- a/dependencies.gradle +++ b/dependencies.gradle @@ -1,13 +1,13 @@ // Add your dependencies here dependencies { - compile('com.github.GTNewHorizons:ForestryMC:4.6.6:dev') + compile('com.github.GTNewHorizons:ForestryMC:4.6.7:dev') - compileOnly('com.github.GTNewHorizons:BloodMagic:1.4.0:dev') + compileOnly('com.github.GTNewHorizons:BloodMagic:1.4.1:dev') compileOnly('com.github.GTNewHorizons:Baubles:1.0.1.16:dev') {transitive = false} - compileOnly('com.github.GTNewHorizons:Botania:1.9.17-GTNH:api') {transitive = false} + compileOnly('com.github.GTNewHorizons:Botania:1.9.21-GTNH:api') {transitive = false} compileOnly('thaumcraft:Thaumcraft:1.7.10-4.2.3.5:dev') {transitive = false} - compileOnly('com.github.GTNewHorizons:GT5-Unofficial:5.09.42.88:dev') { transitive = false } + compileOnly('com.github.GTNewHorizons:GT5-Unofficial:5.09.42.89:dev') { transitive = false } }