mirror of
				https://github.com/QuiltMC/quilt-template-mod
				synced 2024-08-15 00:23:32 +00:00 
			
		
		
		
	Add loom mods block
This commit is contained in:
		
							parent
							
								
									cf742986e7
								
							
						
					
					
						commit
						55e7547d49
					
				
					 1 changed files with 13 additions and 0 deletions
				
			
		
							
								
								
									
										13
									
								
								build.gradle
									
										
									
									
									
								
							
							
						
						
									
										13
									
								
								build.gradle
									
										
									
									
									
								
							|  | @ -18,6 +18,19 @@ repositories { | |||
| 	// for more information about repositories. | ||||
| } | ||||
| 
 | ||||
| loom { | ||||
| 	// Loom and Loader use this block to gather more information about your mod. | ||||
| 	mods { | ||||
| 		// This should match your mod's mod id. | ||||
| 		"example_mod" { | ||||
| 			// Tell Loom about each source set used by your mod here. This ensures that your mod's classes are properly transformed by Loader. | ||||
| 			sourceSet("main") | ||||
| 			// If you shade (directly include classes, not JiJ) a dependency into your mod, include it here using one of these methods: | ||||
| 			//dependency("com.example.shadowedmod:1.2.3") | ||||
| 			//configuration("exampleShadedConfigurationName") | ||||
| 		} | ||||
| 	} | ||||
| } | ||||
| // All the dependencies are declared at gradle/libs.version.toml and referenced with "libs.<id>" | ||||
| // See https://docs.gradle.org/current/userguide/platforms.html for information on how version catalogs work. | ||||
| dependencies { | ||||
|  |  | |||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue