@nx/gradle 21.4.0-beta.0 → 21.4.0-beta.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/batch-runner/build/libs/batch-runner-all.jar +0 -0
- package/batch-runner/build/libs/batch-runner.jar +0 -0
- package/package.json +3 -3
- package/src/generators/ci-workflow/files/github/.github/workflows/__workflowFileName__.yml.template +1 -1
- package/src/generators/ci-workflow/generator.d.ts.map +1 -1
- package/src/generators/ci-workflow/generator.js +8 -4
Binary file
|
Binary file
|
package/package.json
CHANGED
@@ -1,6 +1,6 @@
|
|
1
1
|
{
|
2
2
|
"name": "@nx/gradle",
|
3
|
-
"version": "21.4.0-beta.
|
3
|
+
"version": "21.4.0-beta.2",
|
4
4
|
"private": false,
|
5
5
|
"description": "The Nx Plugin for Gradle allows Gradle tasks to be run through Nx",
|
6
6
|
"repository": {
|
@@ -35,8 +35,8 @@
|
|
35
35
|
"migrations": "./migrations.json"
|
36
36
|
},
|
37
37
|
"dependencies": {
|
38
|
-
"@nx/devkit": "21.4.0-beta.
|
39
|
-
"nx": "21.4.0-beta.
|
38
|
+
"@nx/devkit": "21.4.0-beta.2",
|
39
|
+
"nx": "21.4.0-beta.2"
|
40
40
|
},
|
41
41
|
"publishConfig": {
|
42
42
|
"access": "public"
|
package/src/generators/ci-workflow/files/github/.github/workflows/__workflowFileName__.yml.template
CHANGED
@@ -36,7 +36,7 @@ jobs:
|
|
36
36
|
architecture: x64
|
37
37
|
|
38
38
|
- name: Setup Gradle
|
39
|
-
uses: gradle/actions/setup-gradle@
|
39
|
+
uses: gradle/actions/setup-gradle@v4
|
40
40
|
|
41
41
|
- uses: nrwl/nx-set-shas@v4
|
42
42
|
<% for (const command of commands) { %><% if (command.comments) { %><% for (const comment of command.comments) { %>
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"generator.d.ts","sourceRoot":"","sources":["../../../../../../packages/gradle/src/generators/ci-workflow/generator.ts"],"names":[],"mappings":"AAAA,OAAO,EAKL,IAAI,EACL,MAAM,YAAY,CAAC;
|
1
|
+
{"version":3,"file":"generator.d.ts","sourceRoot":"","sources":["../../../../../../packages/gradle/src/generators/ci-workflow/generator.ts"],"names":[],"mappings":"AAAA,OAAO,EAKL,IAAI,EACL,MAAM,YAAY,CAAC;AA8CpB,MAAM,MAAM,OAAO,GAAG;IACpB,OAAO,CAAC,EAAE,MAAM,CAAC;IACjB,QAAQ,CAAC,EAAE,MAAM,EAAE,CAAC;IACpB,SAAS,CAAC,EAAE,OAAO,CAAC;CACrB,CAAC;AAEF,MAAM,WAAW,MAAM;IACrB,IAAI,EAAE,MAAM,CAAC;IACb,EAAE,EAAE,QAAQ,GAAG,UAAU,CAAC;IAC1B,cAAc,CAAC,EAAE,IAAI,CAAC;IACtB,QAAQ,CAAC,EAAE,OAAO,EAAE,CAAC;CACtB;AAED,wBAAsB,mBAAmB,CAAC,IAAI,EAAE,IAAI,EAAE,MAAM,EAAE,MAAM,iBAMnE;AAsCD,eAAe,mBAAmB,CAAC"}
|
@@ -11,9 +11,12 @@ function getCiCommands(ci) {
|
|
11
11
|
return [
|
12
12
|
{
|
13
13
|
comments: [
|
14
|
-
|
14
|
+
`# Nx Affected runs only tasks affected by the changes in this PR/commit. Learn more: https://nx.dev/ci/features/affected.`,
|
15
|
+
`# Change from build to build-ci if you turn on the atomizer. Learn more: https://nx.dev/nx-api/gradle#splitting-e2e-tests.`,
|
15
16
|
],
|
16
|
-
|
17
|
+
},
|
18
|
+
{
|
19
|
+
command: `./nx affected --base=$NX_BASE --head=$NX_HEAD -t build`,
|
17
20
|
},
|
18
21
|
getNxCloudFixCiCommand(),
|
19
22
|
];
|
@@ -22,9 +25,10 @@ function getCiCommands(ci) {
|
|
22
25
|
return [
|
23
26
|
{
|
24
27
|
comments: [
|
25
|
-
|
28
|
+
`# Nx Affected runs only tasks affected by the changes in this PR/commit. Learn more: https://nx.dev/ci/features/affected.`,
|
29
|
+
`# Change from build to build-ci if you turn on the atomizer. Learn more: https://nx.dev/nx-api/gradle#splitting-tests`,
|
26
30
|
],
|
27
|
-
command: `./nx affected -t
|
31
|
+
command: `./nx affected -t build`,
|
28
32
|
},
|
29
33
|
getNxCloudFixCiCommand(),
|
30
34
|
];
|