<!-- Please make sure you have read the submission guidelines before posting an PR --> <!-- https://github.com/nrwl/nx/blob/master/CONTRIBUTING.md#-submitting-a-pr --> <!-- Please make sure that your commit message follows our format --> <!-- Example: `fix(nx): must begin with lowercase` --> <!-- If this is a particularly complex change or feature addition, you can request a dedicated Nx release for this pull request branch. Mention someone from the Nx team or the `@nrwl/nx-pipelines-reviewers` and they will confirm if the PR warrants its own release for testing purposes, and generate it for you if appropriate. --> ## Current Behavior <!-- This is the behavior we have today --> - for the atomized test, currenly, its testClassName is just the 1st class name in the file ## Expected Behavior <!-- This is the behavior we should expect with the changes in this PR --> - upgrade gradle to latest version from 8.13 to 8.14 - for test task, exclude all its depends on tasks - it currently only exclude its direct depends on, its children - now it will go down the dependency tree and exclude all of its depends on, its children and grandchildren - for the atomized test target, its testClassName will be the full package name - e.g. org.springframework.boot.autoconfigure.jersey.JerseyAutoConfigurationCustomObjectMapperProviderTest - add logics to handle nested class - exclude private class name <img width="1081" alt="Screenshot 2025-06-06 at 2 53 39 PM" src="https://github.com/user-attachments/assets/285792fb-f098-4511-85dc-ee1263d75929" /> - add build-ci target <img width="1140" alt="Screenshot 2025-06-10 at 10 21 06 AM" src="https://github.com/user-attachments/assets/25db4a3e-2794-4654-9a95-1b66d229340b" /> ## Related Issue(s) <!-- Please link the issue being fixed so it gets closed when this is merged. --> Fixes #
44 lines
1.5 KiB
JSON
44 lines
1.5 KiB
JSON
{
|
|
"name": "gradle",
|
|
"batchImplementation": "./src/executors/gradle/gradle-batch.impl",
|
|
"implementation": "/packages/gradle/src/executors/gradle/gradle.impl.ts",
|
|
"schema": {
|
|
"$schema": "https://json-schema.org/schema",
|
|
"version": 2,
|
|
"title": "Gradle Impl executor",
|
|
"description": "The Gradle Impl executor is used to run Gradle tasks.",
|
|
"type": "object",
|
|
"properties": {
|
|
"taskName": {
|
|
"type": "string",
|
|
"description": "The name of the Gradle task to run."
|
|
},
|
|
"testClassName": {
|
|
"type": "string",
|
|
"description": "The full test name to run for test task (package name and class name)."
|
|
},
|
|
"args": {
|
|
"oneOf": [
|
|
{ "type": "array", "items": { "type": "string" } },
|
|
{ "type": "string" }
|
|
],
|
|
"description": "The arguments to pass to the Gradle task.",
|
|
"examples": [["--warning-mode", "all"], "--stracktrace"]
|
|
},
|
|
"excludeDependsOn": {
|
|
"type": "boolean",
|
|
"description": "If true, the tasks will not execute its dependsOn tasks (e.g. pass --exclude-task args to gradle command). If false, the task will execute its dependsOn tasks.",
|
|
"default": true,
|
|
"x-priority": "internal"
|
|
}
|
|
},
|
|
"required": ["taskName"],
|
|
"presets": []
|
|
},
|
|
"description": "Runs gradle tasks via the Gradle Tooling API or by invoking gradlew.",
|
|
"aliases": [],
|
|
"hidden": false,
|
|
"path": "/packages/gradle/src/executors/gradle/schema.json",
|
|
"type": "executor"
|
|
}
|