AlexAntufiev / chatbot-constructor

Chatbot constructor for TamTam
4 stars 0 forks source link

Disable devtools in prod and test profile #201

Closed AlexAntufiev closed 5 years ago

AlexAntufiev commented 5 years ago

Developer tools are automatically disabled when running a fully packaged application. If your application is launched using java -jar or if it’s started using a special classloader, then it is considered a “production application”. Flagging the dependency as optional is a best practice that prevents devtools from being transitively applied to other modules using your project. Gradle does not support optional dependencies out-of-the-box so you may want to have a look to the propdeps-plugin in the meantime.