Revert fabric api patch to fix deprecations, I believe loom is wrong.
This commit is contained in:
		
							parent
							
								
									216b48337b
								
							
						
					
					
						commit
						1a060df4bf
					
				
					 2 changed files with 1 additions and 20 deletions
				
			
		|  | @ -45,8 +45,7 @@ class FabricAPITest extends Specification implements GradleProjectTestTrait { | ||||||
| 			def gradle = gradleProject( | 			def gradle = gradleProject( | ||||||
| 					repo: "https://github.com/FabricMC/fabric.git", | 					repo: "https://github.com/FabricMC/fabric.git", | ||||||
| 					commit: "fc40aa9d88e9457957bdf3f8cec9698846828cd3", | 					commit: "fc40aa9d88e9457957bdf3f8cec9698846828cd3", | ||||||
| 					version: version, | 					version: version | ||||||
| 					patch: "fabric_api" |  | ||||||
| 			) | 			) | ||||||
| 
 | 
 | ||||||
| 			// Set the version to something constant | 			// Set the version to something constant | ||||||
|  |  | ||||||
|  | @ -1,18 +0,0 @@ | ||||||
| diff --git a/build.gradle b/build.gradle
 |  | ||||||
| --- a/build.gradle	(revision fc40aa9d88e9457957bdf3f8cec9698846828cd3)
 |  | ||||||
| +++ b/build.gradle	(date 1630855787420)
 |  | ||||||
| @@ -270,13 +270,7 @@
 |  | ||||||
|  publishing { |  | ||||||
|  	publications { |  | ||||||
|  		mavenJava(MavenPublication) { |  | ||||||
| -			artifact(remapMavenJar) {
 |  | ||||||
| -				builtBy remapMavenJar
 |  | ||||||
| -			}
 |  | ||||||
| -
 |  | ||||||
| -			artifact(sourcesJar) {
 |  | ||||||
| -				builtBy remapSourcesJar
 |  | ||||||
| -			}
 |  | ||||||
| +			from components.java
 |  | ||||||
| 
 |  | ||||||
|  			artifact javadocJar |  | ||||||
| 
 |  | ||||||
		Loading…
	
		Reference in a new issue