@nx/gradle 20.5.0-canary.20250204-bc4ded0 → 20.5.0-canary.20250207-8fb9592
Sign up to get free protection for your applications and to get access to all the features.
- package/package.json +2 -2
- package/src/plugin/nodes.js +1 -1
- package/src/utils/exec-gradle.js +2 -0
package/package.json
CHANGED
@@ -1,6 +1,6 @@
|
|
1
1
|
{
|
2
2
|
"name": "@nx/gradle",
|
3
|
-
"version": "20.5.0-canary.
|
3
|
+
"version": "20.5.0-canary.20250207-8fb9592",
|
4
4
|
"private": false,
|
5
5
|
"description": "The Nx Plugin for Gradle allows Gradle tasks to be run through Nx",
|
6
6
|
"repository": {
|
@@ -34,7 +34,7 @@
|
|
34
34
|
"migrations": "./migrations.json"
|
35
35
|
},
|
36
36
|
"dependencies": {
|
37
|
-
"@nx/devkit": "20.5.0-canary.
|
37
|
+
"@nx/devkit": "20.5.0-canary.20250207-8fb9592"
|
38
38
|
},
|
39
39
|
"publishConfig": {
|
40
40
|
"access": "public"
|
package/src/plugin/nodes.js
CHANGED
@@ -94,7 +94,7 @@ async function createGradleProject(gradleReport, gradleFilePath, options, contex
|
|
94
94
|
let tasks = [];
|
95
95
|
tasksSet.forEach((taskName) => {
|
96
96
|
tasks.push({
|
97
|
-
type: tasksTypeMap
|
97
|
+
type: tasksTypeMap?.get(taskName),
|
98
98
|
name: taskName,
|
99
99
|
});
|
100
100
|
});
|
package/src/utils/exec-gradle.js
CHANGED
@@ -7,6 +7,7 @@ const devkit_1 = require("@nx/devkit");
|
|
7
7
|
const node_child_process_1 = require("node:child_process");
|
8
8
|
const node_fs_1 = require("node:fs");
|
9
9
|
const node_path_1 = require("node:path");
|
10
|
+
const run_commands_impl_1 = require("nx/src/executors/run-commands/run-commands.impl");
|
10
11
|
/**
|
11
12
|
* For gradle command, it needs to be run from the directory of the gradle binary
|
12
13
|
* @returns gradle binary file name
|
@@ -28,6 +29,7 @@ function execGradleAsync(gradleBinaryPath, args, execOptions = {}) {
|
|
28
29
|
shell: true,
|
29
30
|
windowsHide: true,
|
30
31
|
env: process.env,
|
32
|
+
maxBuffer: run_commands_impl_1.LARGE_BUFFER,
|
31
33
|
...execOptions,
|
32
34
|
});
|
33
35
|
let stdout = Buffer.from('');
|