Skip to content

Commit

Permalink
fix: prepare merged jar dir task configure error in multi module project
Browse files Browse the repository at this point in the history
  • Loading branch information
DaiYuANg committed Mar 5, 2024
1 parent 30107a7 commit 0519b69
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -65,7 +65,7 @@ class PrepareMergedJarsDirTask extends BaseTask {

PrepareMergedJarsDirTask() {
description = 'Merges all non-modularized jars into a single module'
project.afterEvaluate {
project.getGradle().projectsEvaluated {
def projects = Util.getAllDependentProjects(project) + project
def jarTasks = projects*.getTasksByName('jar', true).flatten() as Task[]
dependsOn(jarTasks)
Expand Down

0 comments on commit 0519b69

Please sign in to comment.