Skip to content

Conversation

timtebeek
Copy link
Member

No description provided.

For Quarkus DevCenter
For Quarkus DevCenter
@github-project-automation github-project-automation bot moved this to In Progress in OpenRewrite Aug 31, 2025
if (tree instanceof Xml.Document) {
// Handle Maven projects
return new MavenBomVisitor().visitNonNull(tree, ctx);
} else if (tree instanceof G.CompilationUnit || tree instanceof K.CompilationUnit) {
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
} else if (tree instanceof G.CompilationUnit || tree instanceof K.CompilationUnit) {
}
if (tree instanceof G.CompilationUnit || tree instanceof K.CompilationUnit) {

Comment on lines +206 to +207
if (m.getSimpleName().equals("implementation") || m.getSimpleName().equals("api") ||
m.getSimpleName().equals("compile") || m.getSimpleName().equals("runtime")) {
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
if (m.getSimpleName().equals("implementation") || m.getSimpleName().equals("api") ||
m.getSimpleName().equals("compile") || m.getSimpleName().equals("runtime")) {
if ("implementation".equals(m.getSimpleName()) || "api".equals(m.getSimpleName()) ||
"compile".equals(m.getSimpleName()) || "runtime".equals(m.getSimpleName())) {

spec-> spec.path("gradle.properties")
),
//language=kts
settingsGradleKts("""
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
settingsGradleKts("""
settingsGradleKts(
"""

}
}
rootProject.name="code-with-quarkus"
"""),
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
"""),
"""
),

@timtebeek
Copy link
Member Author

Likely not worth pursuing for now; we can deduce the same information from the version of quarkus-core in use.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
Status: In Progress
Development

Successfully merging this pull request may close these issues.

1 participant