Update loom and change modCompile to modImplementation
This commit is contained in:
		
							parent
							
								
									18fd282e3e
								
							
						
					
					
						commit
						05fb17874b
					
				@ -1,5 +1,5 @@
 | 
				
			|||||||
plugins {
 | 
					plugins {
 | 
				
			||||||
	id 'fabric-loom' version '0.2.6-SNAPSHOT'
 | 
						id 'fabric-loom' version '0.2.7-SNAPSHOT'
 | 
				
			||||||
	id 'maven-publish'
 | 
						id 'maven-publish'
 | 
				
			||||||
}
 | 
					}
 | 
				
			||||||
 | 
					
 | 
				
			||||||
@ -17,10 +17,10 @@ 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}"
 | 
				
			||||||
	mappings "net.fabricmc:yarn:${project.yarn_mappings}:v2"
 | 
						mappings "net.fabricmc:yarn:${project.yarn_mappings}:v2"
 | 
				
			||||||
	modCompile "net.fabricmc:fabric-loader:${project.loader_version}"
 | 
						modImplementation "net.fabricmc:fabric-loader:${project.loader_version}"
 | 
				
			||||||
 | 
					
 | 
				
			||||||
	// Fabric API. This is technically optional, but you probably want it anyway.
 | 
						// Fabric API. This is technically optional, but you probably want it anyway.
 | 
				
			||||||
	modCompile "net.fabricmc.fabric-api:fabric-api:${project.fabric_version}"
 | 
						modImplementation "net.fabricmc.fabric-api:fabric-api:${project.fabric_version}"
 | 
				
			||||||
 | 
					
 | 
				
			||||||
	// PSA: Some older mods, compiled on Loom 0.2.1, might have outdated Maven POMs.
 | 
						// PSA: Some older mods, compiled on Loom 0.2.1, might have outdated Maven POMs.
 | 
				
			||||||
	// You may need to force-disable transitiveness on them.
 | 
						// You may need to force-disable transitiveness on them.
 | 
				
			||||||
 | 
				
			|||||||
		Loading…
	
		Reference in New Issue
	
	Block a user