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

Automatically create a developmentOnly configuration for use with DevTools #16599

Closed
wilkinsona opened this issue Apr 18, 2019 · 0 comments
Closed
Assignees
Labels
status: noteworthy A noteworthy issue to call out in the release notes type: enhancement A general enhancement
Milestone

Comments

@wilkinsona
Copy link
Member

Following on from #14451, we could update the Gradle plugin to automatically create the developmentOnly configuration. This would remove the need for a user to define the custom configuration and adding DevTools in the recommended manner would become a one-line addition to the dependencies block:

developmentOnly 'org.springframework.boot:spring-boot-devtools'

Automatically creating the configuration would also mean that we'd know its name. This would hopefully allow us to exclude its dependencies from the classpath of the default BootJar and BootWar tasks, allowing us to deprecate the excludeDevtools property.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
status: noteworthy A noteworthy issue to call out in the release notes type: enhancement A general enhancement
Projects
None yet
Development

No branches or pull requests

2 participants