-
Notifications
You must be signed in to change notification settings - Fork 929
The developmentOnly
configuration only works for devtools
#305
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
Comments
It's development only in that it's on the classpath while you're developing and running your application, but it not on the classpath while you're testing your classpath. It's the The name |
Ok, now that makes a lot more sense. Thanks for clarification. tasks.withType<BootJar> {
exclude { developmentOnly.resolvedConfiguration.files.contains(it.file) }
} |
Thanks for following up. You may be interested in this Spring Boot issue. Once implemented, it should take care of all of this for you. |
Setup:
gradle
,kotlin
,2.2.x
devTools
andactuator
dependenciesimplementation
todevelopmentOnly
./gradlew clean build
Expected behaviour:
Current behaviour:
Either I'm doing something completely wrong or there is a bug in the jar packaging or the behaviour is intended but then the name is misleading.
The text was updated successfully, but these errors were encountered: