-
Notifications
You must be signed in to change notification settings - Fork 2.4k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
feat(gradle): add gradle init generator #22245
feat(gradle): add gradle init generator #22245
Conversation
The latest updates on your projects. Learn more about Vercel for Git ↗︎ 1 Ignored Deployment
|
☁️ Nx Cloud ReportCI is running/has finished running commands for commit 04dbf22. As they complete they will appear below. Click to see the status, the terminal output, and the build insights. 📂 See all runs for this CI Pipeline Execution ✅ Successfully ran 6 targets
Sent with 💌 from NxCloud. |
9d92585
to
a35e7c7
Compare
a35e7c7
to
a4e0ad5
Compare
@@ -168,6 +175,9 @@ async function detectPlugins(): Promise< | |||
); | |||
|
|||
const detectedPlugins = new Set<string>(); | |||
if (existsSync('gradlew') || existsSync('gradlew.bat')) { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Move this to after the package.json logic
}; | ||
} | ||
|
||
function detectPluginsWithoutPackageJson(): Promise<string[]> { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
You shouldn't need a separate function
process.env.NX_ADD_PLUGINS !== 'false' && | ||
nxJson.useInferencePlugins !== false; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Assume this is always true. We don't need an internal
method.
a4e0ad5
to
9c108d8
Compare
9c108d8
to
04dbf22
Compare
"./package.json": "./package.json", | ||
"./migrations.json": "./migrations.json", | ||
"./generators.json": "./generators.json", | ||
"./plugin": "./plugin.js" |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Remove this.
@@ -1 +1,2 @@ | |||
export * from './plugin'; | |||
export { initGenerator } from './src/generators/init/init'; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Either don't export this for now. Or, expose it under /generators
(cherry picked from commit 6d83dd7)
This pull request has already been merged/closed. If you experience issues related to these changes, please open a new issue referencing this pull request. |
Current Behavior
Expected Behavior
Related Issue(s)
Fixes #