Improve description of repositories blocks #81

Merged
YTG1234 merged 6 commits from patch-1 into master 2021-02-07 17:38:58 +00:00
Showing only changes of commit a64ec7b731 - Show all commits

View File

@ -10,6 +10,13 @@ archivesBaseName = project.archives_base_name
version = project.mod_version version = project.mod_version
group = project.maven_group 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 { dependencies {
// To change the versions see the gradle.properties file // To change the versions see the gradle.properties file
minecraft "com.mojang:minecraft:${project.minecraft_version}" 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. // 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.
}
} }