Skip to content

Commit 656de02

Browse files
committed
fixed file directory issue
1 parent 2d34548 commit 656de02

File tree

1 file changed

+1
-18
lines changed

1 file changed

+1
-18
lines changed

src/main/java/net/minecraftforge/gradle/tasks/SplitJarTask.java

Lines changed: 1 addition & 18 deletions
Original file line numberDiff line numberDiff line change
@@ -65,24 +65,7 @@ public void doTask() throws IOException
6565
@Override
6666
public void visitDir(FileVisitDetails details)
6767
{
68-
JarEntry entry = new JarEntry(details.getPath());
69-
entry.setSize(details.getSize());
70-
entry.setTime(details.getLastModified());
71-
72-
try
73-
{
74-
zout1.putNextEntry(entry);
75-
details.copyTo(zout1);
76-
zout1.closeEntry();
77-
78-
zout2.putNextEntry(entry);
79-
details.copyTo(zout2);
80-
zout2.closeEntry();
81-
}
82-
catch (IOException e)
83-
{
84-
Throwables.propagate(e);
85-
}
68+
// ignore directories
8669
}
8770

8871
@Override

0 commit comments

Comments
 (0)