Skip to content

Commit

Permalink
Merge pull request #266
Browse files Browse the repository at this point in the history
fix: prepare merged jar dir task configure error in multi module project
  • Loading branch information
xzel23 authored Nov 5, 2024
2 parents b43ac79 + 0519b69 commit 387e9f9
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 387e9f9

Please sign in to comment.