How generate play application with default SBT layout

527 Views Asked by At

How to create new play application template with default sbt layout?

I can set disablePlugins(PlayLayoutPlugin) in build.sbt on exiting app, but I want generate template from scratch

3

There are 3 best solutions below

0
marcospereira On BEST ANSWER

Assuming that you are using Activator, you can use the play-sbt-layout-seed template to create an application using the default SBT layout. In order to do that, just run the following command:

activator new your-project-name play-sbt-layout-seed
0
karthik On

u need to download play zip package as set path in environment variables and from command prompt execute play new YourApplication

https://www.playframework.com/documentation/2.0/NewApplication

3
muya_ On

I finally created a Giter8 template specifically for this.

You can do:

sbt new muya/play-sbt-scala-seed.g8

https://github.com/muya/play-sbt-scala-seed.g8