-
Notifications
You must be signed in to change notification settings - Fork 2.5k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat(gradle): change group name to dev.nx
- Loading branch information
Showing
18 changed files
with
197 additions
and
66 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Binary file not shown.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,62 @@ | ||
# dev.nx.gradle.native | ||
|
||
This gradle plugin contains | ||
|
||
## Installation | ||
|
||
Kotlin | ||
build.gradle.kts | ||
|
||
``` | ||
plugins { | ||
id("dev.nx.gradle.native") version("+") | ||
} | ||
``` | ||
|
||
Groovy | ||
build.gradle | ||
|
||
``` | ||
plugins { | ||
id "dev.nx.gradle.native" version "+" | ||
} | ||
``` | ||
|
||
## Usage | ||
|
||
```bash | ||
./gradlew :createNodes | ||
``` | ||
|
||
With specific output directory (default to `.nx/cache`): | ||
|
||
```bash | ||
./gradlew :createNodes --outputDirectory ./ | ||
``` | ||
|
||
With specific nx workspace root (default to current working directory): | ||
|
||
```bash | ||
./gradlew :createNodes --workspaceRoot ./ | ||
``` | ||
|
||
In terminal, it should output something like: | ||
|
||
``` | ||
> Task :createNodes | ||
<your workspace>/.nx/cache/add-nx-to-gradle.json | ||
``` | ||
|
||
It generates a json file to be consumed by nx: | ||
|
||
```json | ||
{ | ||
"nodes": { | ||
"app": { | ||
"targets": {} | ||
} | ||
}, | ||
"dependencies": [], | ||
"externalNodes": {} | ||
} | ||
``` |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,4 @@ | ||
{ | ||
"name": "gradle-native-plugin", | ||
"$schema": "node_modules/nx/schemas/project-schema.json" | ||
} |
Oops, something went wrong.