Improve description of repositories blocks #81
							
								
								
									
										22
									
								
								build.gradle
									
									
									
									
									
								
							
							
						
						
									
										22
									
								
								build.gradle
									
									
									
									
									
								
							@ -10,6 +10,14 @@ 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 retrieve artifacts from in here.
 | 
				
			||||||
 | 
					    // 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.
 | 
				
			||||||
 | 
					}
 | 
				
			||||||
 | 
					
 | 
				
			||||||
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}"
 | 
				
			||||||
@ -73,10 +81,12 @@ publishing {
 | 
				
			|||||||
			}
 | 
								}
 | 
				
			||||||
		}
 | 
							}
 | 
				
			||||||
	}
 | 
						}
 | 
				
			||||||
 | 
					    
 | 
				
			||||||
	// Select the repositories you want to publish to
 | 
					    // See https://docs.gradle.org/current/userguide/publishing_maven.html for information on how to set up publishing.
 | 
				
			||||||
	// To publish to maven local, no extra repositories are necessary. Just use the task `publishToMavenLocal`.
 | 
					    repositories {
 | 
				
			||||||
	repositories {
 | 
					        // Add repositories to publish to here.
 | 
				
			||||||
		// See https://docs.gradle.org/current/userguide/publishing_maven.html for information on how to set up publishing.
 | 
					        // 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.
 | 
				
			||||||
 | 
					    }
 | 
				
			||||||
}
 | 
					}
 | 
				
			||||||
 | 
				
			|||||||
		Loading…
	
		Reference in New Issue
	
	Block a user