Skip to content
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

Add option to generate gradle multimodule project #1500

Closed
matthewadams opened this issue Jun 6, 2024 · 1 comment
Closed

Add option to generate gradle multimodule project #1500

matthewadams opened this issue Jun 6, 2024 · 1 comment
Labels
for: external-project For an external project and not something we can fix status: duplicate

Comments

@matthewadams
Copy link

This is a feature request to add an option to the generator underlying start.spring.io to produce a gradle multimodule project, containing a Spring Boot app and a library project that the Spring Boot app depends on.

We started with the project configuration produced by start.spring.io, which has a single Spring Boot project in the root. Over time, we've spun out several libraries that our Spring Boot app depends on, and we did this into separate git repositories. When we wanted to move to a monorepo, we had a lot of work to do to convert the project to a gradle multimodule project, where the root housed directories for our Spring Boot project and our library projects. We now have a multimodule gradle project that includes not one, but two Spring Boot apps and many library jars, but we're still not sure we've employed gradle best practices with it.

It would be nicer if start.spring.io offered an option where it could produce a gradle multimodule project containing a root directory with subdirectories that contain the Spring Boot project and a second that contains a library project that the Spring Boot app depends on. Then, as more libraries are needed, devs could use the existing library project as a template to copy & paste.

The generated project should employ all gradle best practices for multimodule projects, and support gradle groovy or gradle kotlin.

@spring-projects-issues spring-projects-issues added the status: waiting-for-triage An issue we've not yet triaged label Jun 6, 2024
@wilkinsona
Copy link
Contributor

Duplicates spring-io/initializr#663.

@wilkinsona wilkinsona closed this as not planned Won't fix, can't repro, duplicate, stale Jun 7, 2024
@wilkinsona wilkinsona added status: duplicate for: external-project For an external project and not something we can fix and removed status: waiting-for-triage An issue we've not yet triaged labels Jun 7, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
for: external-project For an external project and not something we can fix status: duplicate
Projects
None yet
Development

No branches or pull requests

3 participants