From ab94eaca6c06a248ca18d983a8c8a021e4cfb03c Mon Sep 17 00:00:00 2001 From: YTG123 <54103478+YTG1234@users.noreply.github.com> Date: Sun, 7 Feb 2021 12:41:46 +0200 Subject: [PATCH 1/6] Update build.gradle --- build.gradle | 8 ++------ 1 file changed, 2 insertions(+), 6 deletions(-) diff --git a/build.gradle b/build.gradle index 62083f9..e83d0cc 100644 --- a/build.gradle +++ b/build.gradle @@ -73,10 +73,6 @@ publishing { } } } - - // Select the repositories you want to publish to - // To publish to maven local, no extra repositories are necessary. Just use the task `publishToMavenLocal`. - repositories { - // See https://docs.gradle.org/current/userguide/publishing_maven.html for information on how to set up publishing. - } + + // See https://docs.gradle.org/current/userguide/publishing_maven.html for information on how to set up publishing. } -- 2.39.2 From a64ec7b7315350c526dd7aa4dd8aa8e071618077 Mon Sep 17 00:00:00 2001 From: YTG123 <54103478+YTG1234@users.noreply.github.com> Date: Sun, 7 Feb 2021 15:34:58 +0200 Subject: [PATCH 2/6] Implements @liach's suggested changes --- build.gradle | 13 +++++++++++++ 1 file changed, 13 insertions(+) diff --git a/build.gradle b/build.gradle index e83d0cc..b898d8b 100644 --- a/build.gradle +++ b/build.gradle @@ -10,6 +10,13 @@ archivesBaseName = project.archives_base_name version = project.mod_version group = project.maven_group +repositories { + // Add repositories to retrive artifacts from in here. + // Loom adds the Fabric maven automatically so you don't + // have to. See https://docs.gradle.org/current/userguide/declaring_repositories.html + // for more information about repositories. +} + dependencies { // To change the versions see the gradle.properties file minecraft "com.mojang:minecraft:${project.minecraft_version}" @@ -75,4 +82,10 @@ publishing { } // See https://docs.gradle.org/current/userguide/publishing_maven.html for information on how to set up publishing. + repositories { + // Add repositories to publish to here. + // Notice: This block does NOT have the same function as the block in line 13. + // The repositories here will be used for publishing your artifact, not for + // retirieving dependencies. + } } -- 2.39.2 From 158b9c6e1db3440a0988b28abfa492eb0c78de6b Mon Sep 17 00:00:00 2001 From: YTG123 <54103478+YTG1234@users.noreply.github.com> Date: Sun, 7 Feb 2021 15:50:12 +0200 Subject: [PATCH 3/6] Update build.gradle Co-authored-by: Juuxel <6596629+Juuxel@users.noreply.github.com> --- build.gradle | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/build.gradle b/build.gradle index b898d8b..40b9d0e 100644 --- a/build.gradle +++ b/build.gradle @@ -11,7 +11,7 @@ version = project.mod_version group = project.maven_group repositories { - // Add repositories to retrive artifacts from in here. + // Add repositories to retrieve artifacts from in here. // Loom adds the Fabric maven automatically so you don't // have to. See https://docs.gradle.org/current/userguide/declaring_repositories.html // for more information about repositories. -- 2.39.2 From 995c66f197b3fa188f7168602ca92da14b96f717 Mon Sep 17 00:00:00 2001 From: YTG123 <54103478+YTG1234@users.noreply.github.com> Date: Sun, 7 Feb 2021 15:50:30 +0200 Subject: [PATCH 4/6] Update build.gradle Co-authored-by: Juuxel <6596629+Juuxel@users.noreply.github.com> --- build.gradle | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/build.gradle b/build.gradle index 40b9d0e..30b505a 100644 --- a/build.gradle +++ b/build.gradle @@ -86,6 +86,6 @@ publishing { // Add repositories to publish to here. // Notice: This block does NOT have the same function as the block in line 13. // The repositories here will be used for publishing your artifact, not for - // retirieving dependencies. + // retrieving dependencies. } } -- 2.39.2 From 0d415503e11ff6079a2d4e91303e0ea29938a376 Mon Sep 17 00:00:00 2001 From: YTG123 <54103478+YTG1234@users.noreply.github.com> Date: Sun, 7 Feb 2021 16:32:04 +0200 Subject: [PATCH 5/6] Update build.gradle --- build.gradle | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/build.gradle b/build.gradle index 30b505a..13bd6b6 100644 --- a/build.gradle +++ b/build.gradle @@ -12,8 +12,9 @@ group = project.maven_group repositories { // Add repositories to retrieve artifacts from in here. - // Loom adds the Fabric maven automatically so you don't - // have to. See https://docs.gradle.org/current/userguide/declaring_repositories.html + // You should only use this when depending on other mods because + // Loom adds the essential maven repositories to download Minecraft and libraries from automatically. + // See https://docs.gradle.org/current/userguide/declaring_repositories.html // for more information about repositories. } -- 2.39.2 From 54d1376bce0ca3356dd3b3d353a974fe2b3ab0d0 Mon Sep 17 00:00:00 2001 From: YTG123 <54103478+YTG1234@users.noreply.github.com> Date: Sun, 7 Feb 2021 18:34:57 +0200 Subject: [PATCH 6/6] Update build.gradle --- build.gradle | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/build.gradle b/build.gradle index 13bd6b6..8c07787 100644 --- a/build.gradle +++ b/build.gradle @@ -85,7 +85,7 @@ publishing { // See https://docs.gradle.org/current/userguide/publishing_maven.html for information on how to set up publishing. repositories { // Add repositories to publish to here. - // Notice: This block does NOT have the same function as the block in line 13. + // Notice: This block does NOT have the same function as the block in the top level. // The repositories here will be used for publishing your artifact, not for // retrieving dependencies. } -- 2.39.2