Skip to content

Commit

Permalink
feat(gradle): make gradle public
Browse files Browse the repository at this point in the history
  • Loading branch information
xiongemi committed Mar 19, 2024
1 parent 8baddb5 commit 5634003
Show file tree
Hide file tree
Showing 7 changed files with 119 additions and 4 deletions.
26 changes: 26 additions & 0 deletions docs/generated/manifests/menus.json
Original file line number Diff line number Diff line change
Expand Up @@ -8076,6 +8076,32 @@
"isExternal": false,
"disableCollapsible": false
},
{
"id": "gradle",
"path": "/nx-api/gradle",
"name": "gradle",
"children": [
{
"id": "generators",
"path": "/nx-api/gradle/generators",
"name": "generators",
"children": [
{
"id": "init",
"path": "/nx-api/gradle/generators/init",
"name": "init",
"children": [],
"isExternal": false,
"disableCollapsible": false
}
],
"isExternal": false,
"disableCollapsible": false
}
],
"isExternal": false,
"disableCollapsible": false
},
{
"id": "jest",
"path": "/nx-api/jest",
Expand Down
22 changes: 22 additions & 0 deletions docs/generated/manifests/nx-api.json
Original file line number Diff line number Diff line change
Expand Up @@ -1007,6 +1007,28 @@
},
"path": "/nx-api/express"
},
"gradle": {
"githubRoot": "https://github.com/nrwl/nx/blob/master",
"name": "gradle",
"packageName": "@nx/gradle",
"description": "The Nx Plugin for gradle",
"documents": {},
"root": "/packages/gradle",
"source": "/packages/gradle/src",
"executors": {},
"generators": {
"/nx-api/gradle/generators/init": {
"description": "Initializes a Gradle project in the current workspace",
"file": "generated/packages/gradle/generators/init.json",
"hidden": false,
"name": "init",
"originalFilePath": "/packages/gradle/src/generators/init/schema.json",
"path": "/nx-api/gradle/generators/init",
"type": "generator"
}
},
"path": "/nx-api/gradle"
},
"jest": {
"githubRoot": "https://github.com/nrwl/nx/blob/master",
"name": "jest",
Expand Down
21 changes: 21 additions & 0 deletions docs/generated/packages-metadata.json
Original file line number Diff line number Diff line change
Expand Up @@ -996,6 +996,27 @@
"root": "/packages/express",
"source": "/packages/express/src"
},
{
"description": "The Nx Plugin for gradle",
"documents": [],
"executors": [],
"generators": [
{
"description": "Initializes a Gradle project in the current workspace",
"file": "generated/packages/gradle/generators/init.json",
"hidden": false,
"name": "init",
"originalFilePath": "/packages/gradle/src/generators/init/schema.json",
"path": "gradle/generators/init",
"type": "generator"
}
],
"githubRoot": "https://github.com/nrwl/nx/blob/master",
"name": "gradle",
"packageName": "@nx/gradle",
"root": "/packages/gradle",
"source": "/packages/gradle/src"
},
{
"description": "The Nx Plugin for Jest contains executors and generators allowing your workspace to use the powerful Jest testing capabilities.",
"documents": [
Expand Down
45 changes: 45 additions & 0 deletions docs/generated/packages/gradle/generators/init.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,45 @@
{
"name": "init",
"factory": "./src/generators/init/init#initGenerator",
"schema": {
"$schema": "https://json-schema.org/schema",
"$id": "NxGradleInitSchema",
"title": "Gradle Init Generator",
"description": "Initializes a Gradle project in the current workspace.",
"type": "object",
"properties": {
"skipFormat": {
"description": "Skip formatting files.",
"type": "boolean",
"default": false,
"x-priority": "internal"
},
"skipPackageJson": {
"type": "boolean",
"default": false,
"description": "Do not add dependencies to `package.json`.",
"x-priority": "internal"
},
"keepExistingVersions": {
"type": "boolean",
"x-priority": "internal",
"description": "Keep existing dependencies versions",
"default": false
},
"updatePackageScripts": {
"type": "boolean",
"x-priority": "internal",
"description": "Update `package.json` scripts with inferred targets",
"default": false
}
},
"required": [],
"presets": []
},
"description": "Initializes a Gradle project in the current workspace",
"implementation": "/packages/gradle/src/generators/init/init#initGenerator.ts",
"aliases": [],
"hidden": false,
"path": "/packages/gradle/src/generators/init/schema.json",
"type": "generator"
}
3 changes: 3 additions & 0 deletions docs/shared/reference/sitemap.md
Original file line number Diff line number Diff line change
Expand Up @@ -452,6 +452,9 @@
- [generators](/nx-api/express/generators)
- [init](/nx-api/express/generators/init)
- [application](/nx-api/express/generators/application)
- [gradle](/nx-api/gradle)
- [generators](/nx-api/gradle/generators)
- [init](/nx-api/gradle/generators/init)
- [jest](/nx-api/jest)
- [documents](/nx-api/jest/documents)
- [Overview](/nx-api/jest/documents/overview)
Expand Down
1 change: 0 additions & 1 deletion packages/gradle/index.ts
Original file line number Diff line number Diff line change
@@ -1,2 +1 @@
export * from './plugin';
export { initGenerator } from './src/generators/init/init';
5 changes: 2 additions & 3 deletions packages/gradle/package.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"name": "@nx/gradle",
"version": "0.0.1",
"private": true,
"private": false,
"description": "The Nx Plugin for gradle",
"repository": {
"type": "git",
Expand All @@ -27,8 +27,7 @@
".": "./index.js",
"./package.json": "./package.json",
"./migrations.json": "./migrations.json",
"./generators.json": "./generators.json",
"./plugin": "./plugin.js"
"./generators.json": "./generators.json"
},
"nx-migrate": {
"migrations": "./migrations.json"
Expand Down

0 comments on commit 5634003

Please sign in to comment.