Skip to content

Commit

Permalink
fix: get only tasks for right type (#2062)
Browse files Browse the repository at this point in the history
  • Loading branch information
szymonrybczak authored Sep 11, 2023
1 parent 45c868f commit 203a16e
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@ export const getGradleTasks = (
) => {
const cmd = process.platform.startsWith('win') ? 'gradlew.bat' : './gradlew';

const out = execa.sync(cmd, ['tasks'], {
const out = execa.sync(cmd, ['tasks', '--group', taskType], {
cwd: sourceDir,
}).stdout;
return parseTasksFromGradleFile(taskType, out);
Expand Down

0 comments on commit 203a16e

Please sign in to comment.