Make the PrepareJarRemapTask depend on shrinkJar
Signed-off-by: Username404 <w.iron.zombie@gmail.com>
This commit is contained in:
		
							parent
							
								
									6af2cb658d
								
							
						
					
					
						commit
						a08bb73ba1
					
				| @ -188,8 +188,10 @@ subprojects { | ||||
|             overloadaggressively() | ||||
|             mergeinterfacesaggressively() | ||||
|         } | ||||
|         withType(net.fabricmc.loom.task.RemapJarTask::class) { | ||||
|         withType(net.fabricmc.loom.task.PrepareJarRemapTask::class) { | ||||
|             dependsOn(shrinkJar) | ||||
|         } | ||||
|         withType(net.fabricmc.loom.task.RemapJarTask::class) { | ||||
|             val shrinkedJar = shrinkJar.get().outJarFileCollection.singleFile | ||||
|             archiveBaseName.set(shadowJar.archiveBaseName) | ||||
|             archiveVersion.set("[${rootProject.version}+$mcBase]") | ||||
|  | ||||
		Loading…
	
		Reference in New Issue
	
	Block a user