mirror of
https://github.com/architectury/architectury-loom.git
synced 2026-04-02 21:47:42 -05:00
Jar merging + reformat
This commit is contained in:
@@ -33,12 +33,12 @@ import java.io.File;
|
||||
import java.io.FileNotFoundException;
|
||||
|
||||
public class ExtractNativesTask extends DefaultTask {
|
||||
@TaskAction
|
||||
public void extractNatives() throws FileNotFoundException {
|
||||
if (!Constants.MINECRAFT_NATIVES.exists()) {
|
||||
for (File source : getProject().getConfigurations().getByName(Constants.CONFIG_NATIVES)) {
|
||||
ZipUtil.unpack(source, Constants.MINECRAFT_NATIVES);
|
||||
}
|
||||
}
|
||||
}
|
||||
@TaskAction
|
||||
public void extractNatives() throws FileNotFoundException {
|
||||
if (!Constants.MINECRAFT_NATIVES.exists()) {
|
||||
for (File source : getProject().getConfigurations().getByName(Constants.CONFIG_NATIVES)) {
|
||||
ZipUtil.unpack(source, Constants.MINECRAFT_NATIVES);
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user