From d8c01a2d293281fa1287d88e27ea36d798fe0031 Mon Sep 17 00:00:00 2001 From: Abhishek Pandey <64667840+1abhishekpandey@users.noreply.github.com> Date: Tue, 20 Aug 2024 11:08:38 +0530 Subject: [PATCH] feat: update build and test executors for all modules --- gsonrudderadapter/project.json | 10 ++++++++-- jacksonrudderadapter/project.json | 10 ++++++++-- models/project.json | 10 ++++++++-- moshirudderadapter/project.json | 10 ++++++++-- repository/project.json | 10 ++++++++-- rudderjsonadapter/project.json | 10 ++++++++-- rudderreporter/project.json | 10 ++++++++-- web/project.json | 10 ++++++++-- 8 files changed, 64 insertions(+), 16 deletions(-) diff --git a/gsonrudderadapter/project.json b/gsonrudderadapter/project.json index 57febbe01..5ad77a3f3 100644 --- a/gsonrudderadapter/project.json +++ b/gsonrudderadapter/project.json @@ -13,7 +13,10 @@ "target": "build" } ], - "executor": "@jnxplus/nx-gradle:build", + "executor": "@jnxplus/nx-gradle:run-task", + "options": { + "task": "build" + }, "outputs": [ "{projectRoot}/gsonrudderadapter/build" ] @@ -31,7 +34,10 @@ "dependsOn": [ "build" ], - "executor": "@jnxplus/nx-gradle:test" + "executor": "@jnxplus/nx-gradle:run-task", + "options": { + "task": "test" + } }, "ktformat": { "executor": "@jnxplus/nx-gradle:ktformat" diff --git a/jacksonrudderadapter/project.json b/jacksonrudderadapter/project.json index 197190894..5e5c3a762 100644 --- a/jacksonrudderadapter/project.json +++ b/jacksonrudderadapter/project.json @@ -13,7 +13,10 @@ "target": "build" } ], - "executor": "@jnxplus/nx-gradle:build", + "executor": "@jnxplus/nx-gradle:run-task", + "options": { + "task": "build" + }, "outputs": [ "{projectRoot}/jacksonrudderadapter/build" ] @@ -31,7 +34,10 @@ "dependsOn": [ "build" ], - "executor": "@jnxplus/nx-gradle:test" + "executor": "@jnxplus/nx-gradle:run-task", + "options": { + "task": "test" + } }, "ktformat": { "executor": "@jnxplus/nx-gradle:ktformat" diff --git a/models/project.json b/models/project.json index d95f29102..f35e15514 100644 --- a/models/project.json +++ b/models/project.json @@ -5,7 +5,10 @@ "sourceRoot": "./models/src", "targets": { "build": { - "executor": "@jnxplus/nx-gradle:build", + "executor": "@jnxplus/nx-gradle:run-task", + "options": { + "task": "build" + }, "outputs": [ "{projectRoot}/models/build" ] @@ -23,7 +26,10 @@ "dependsOn": [ "build" ], - "executor": "@jnxplus/nx-gradle:test" + "executor": "@jnxplus/nx-gradle:run-task", + "options": { + "task": "test" + } }, "ktformat": { "executor": "@jnxplus/nx-gradle:ktformat" diff --git a/moshirudderadapter/project.json b/moshirudderadapter/project.json index 8d2ba8622..3f79602ba 100644 --- a/moshirudderadapter/project.json +++ b/moshirudderadapter/project.json @@ -13,7 +13,10 @@ "target": "build" } ], - "executor": "@jnxplus/nx-gradle:build", + "executor": "@jnxplus/nx-gradle:run-task", + "options": { + "task": "build" + }, "outputs": [ "{projectRoot}/moshirudderadapter/build" ] @@ -25,7 +28,10 @@ } }, "test": { - "executor": "@jnxplus/nx-gradle:test" + "executor": "@jnxplus/nx-gradle:run-task", + "options": { + "task": "test" + } }, "ktformat": { "executor": "@jnxplus/nx-gradle:ktformat" diff --git a/repository/project.json b/repository/project.json index 345c89caf..caec04f12 100644 --- a/repository/project.json +++ b/repository/project.json @@ -5,7 +5,10 @@ "sourceRoot": "./repository/src", "targets": { "build": { - "executor": "@jnxplus/nx-gradle:build", + "executor": "@jnxplus/nx-gradle:run-task", + "options": { + "task": "build" + }, "outputs": [ "{projectRoot}/repository/build" ] @@ -23,7 +26,10 @@ "dependsOn": [ "build" ], - "executor": "@jnxplus/nx-gradle:test" + "executor": "@jnxplus/nx-gradle:run-task", + "options": { + "task": "test" + } }, "ktformat": { "executor": "@jnxplus/nx-gradle:ktformat" diff --git a/rudderjsonadapter/project.json b/rudderjsonadapter/project.json index 0062ba6ae..9125d4787 100644 --- a/rudderjsonadapter/project.json +++ b/rudderjsonadapter/project.json @@ -5,7 +5,10 @@ "sourceRoot": "./rudderjsonadapter/src", "targets": { "build": { - "executor": "@jnxplus/nx-gradle:build", + "executor": "@jnxplus/nx-gradle:run-task", + "options": { + "task": "build" + }, "outputs": [ "{projectRoot}/rudderjsonadapter/build" ] @@ -23,7 +26,10 @@ "dependsOn": [ "build" ], - "executor": "@jnxplus/nx-gradle:test" + "executor": "@jnxplus/nx-gradle:run-task", + "options": { + "task": "test" + } }, "ktformat": { "executor": "@jnxplus/nx-gradle:ktformat" diff --git a/rudderreporter/project.json b/rudderreporter/project.json index a2d12fe39..f6dca4d86 100644 --- a/rudderreporter/project.json +++ b/rudderreporter/project.json @@ -17,7 +17,10 @@ "target": "build" } ], - "executor": "@jnxplus/nx-gradle:build", + "executor": "@jnxplus/nx-gradle:run-task", + "options": { + "task": "build" + }, "outputs": [ "{projectRoot}/rudderreporter/build" ] @@ -35,7 +38,10 @@ "dependsOn": [ "build" ], - "executor": "@jnxplus/nx-gradle:test" + "executor": "@jnxplus/nx-gradle:run-task", + "options": { + "task": "test" + } }, "ktformat": { "executor": "@jnxplus/nx-gradle:ktformat" diff --git a/web/project.json b/web/project.json index 85ff3e990..dd1f43243 100644 --- a/web/project.json +++ b/web/project.json @@ -15,7 +15,10 @@ "target": "build" } ], - "executor": "@jnxplus/nx-gradle:build", + "executor": "@jnxplus/nx-gradle:run-task", + "options": { + "task": "build" + }, "outputs": [ "{projectRoot}/web/build" ] @@ -33,7 +36,10 @@ "dependsOn": [ "build" ], - "executor": "@jnxplus/nx-gradle:test" + "executor": "@jnxplus/nx-gradle:run-task", + "options": { + "task": "test" + } }, "ktformat": { "executor": "@jnxplus/nx-gradle:ktformat"