Skip to content

Commit

Permalink
fix: task
Browse files Browse the repository at this point in the history
  • Loading branch information
teletha committed Oct 15, 2024
1 parent dee7ae0 commit 7b1ef9b
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 3 deletions.
3 changes: 2 additions & 1 deletion src/main/java/bee/Task.java
Original file line number Diff line number Diff line change
Expand Up @@ -30,6 +30,7 @@
import java.util.Queue;
import java.util.TreeMap;
import java.util.concurrent.ConcurrentLinkedDeque;
import java.util.concurrent.ForkJoinPool;
import java.util.function.Consumer;
import java.util.function.Function;

Expand Down Expand Up @@ -178,7 +179,7 @@ private Object requireParallel(TaskRef<Task>[] tasks) {
Method method = I.type(s.getImplClass().replaceAll("/", ".")).getMethod(s.getImplMethodName());

return execute(computeTaskName(method.getDeclaringClass()) + ":" + method.getName().toLowerCase(), parallels.pollFirst());
}).to().v;
}, ForkJoinPool.commonPool()).to().v;
}

/**
Expand Down
4 changes: 2 additions & 2 deletions src/project/java/bee/Install.java
Original file line number Diff line number Diff line change
Expand Up @@ -20,8 +20,8 @@ public class Install extends bee.task.Install {
*/
@Override
public void project() {
require(Test::test, Jar::document);
require(Jar::merge);
require(Test::test);
require(Jar::document, Jar::merge);

I.make(Repository.class).install(project);

Expand Down

0 comments on commit 7b1ef9b

Please sign in to comment.