Play application layout for Maven


(Suey Ke) #1

On the section of “Anatomy of a Play application”, I can see there is a layout for Maven. As its description, need to disable play layout plugin. May I know where to disable? In the layout for SBT, I know can disable it on the build.sbt, but for maven, where I can put the disable code as it mentioned as below ?

disablePlugins(PlayLayoutPlugin)
PlayKeys.playMonitoredFiles ++= (sourceDirectories in (Compile, TwirlKeys.compileTemplates)).value

Ref: https://www.playframework.com/documentation/2.6.x/Anatomy