diff options
author | kstvr32 <109012629+kstvr32@users.noreply.github.com> | 2023-05-05 13:25:50 -0400 |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-05-05 19:25:50 +0200 |
commit | 410b4d15111cd0d53adfbd302907b80b6a45c3c3 (patch) | |
tree | d94e8cde47b2797bedb9f1db75531d781e6a6b61 /build.gradle | |
parent | 260fef878f6b66f94fe22d4f3d5ce53ccb91f0c5 (diff) | |
download | GT5-Unofficial-410b4d15111cd0d53adfbd302907b80b6a45c3c3.tar.gz GT5-Unofficial-410b4d15111cd0d53adfbd302907b80b6a45c3c3.tar.bz2 GT5-Unofficial-410b4d15111cd0d53adfbd302907b80b6a45c3c3.zip |
Add channels to MABS (#618)
* add channels to MABS
* update build scripts
Diffstat (limited to 'build.gradle')
-rw-r--r-- | build.gradle | 23 |
1 files changed, 18 insertions, 5 deletions
diff --git a/build.gradle b/build.gradle index b10740150a..6243482331 100644 --- a/build.gradle +++ b/build.gradle @@ -1,4 +1,4 @@ -//version: 1682280358 +//version: 1683056771 /* DO NOT CHANGE THIS FILE! Also, you may replace this file at any time if there is an update available. @@ -69,8 +69,11 @@ plugins { id 'com.diffplug.spotless' version '6.13.0' apply false // 6.13.0 is the last jvm8 supporting version id 'com.modrinth.minotaur' version '2.+' apply false id 'com.matthewprenger.cursegradle' version '1.4.0' apply false - id 'com.gtnewhorizons.retrofuturagradle' version '1.3.2' + 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") } @@ -1475,6 +1491,3 @@ def getSecondaryArtifacts() { if (apiPackage) secondaryArtifacts += [apiJar] return secondaryArtifacts } - -sourceCompatibility = JavaVersion.VERSION_16 -targetCompatibility = JavaVersion.VERSION_16 |