Why are we using Gradle and sbt both in same project ? .. how to manage both ?.. which one is recommended ?

39 views
Skip to first unread message

Darshan Redkar

unread,
Feb 14, 2018, 6:24:11 AM2/14/18
to Play Framework
We are migrating one of our project which is build on Play 2.2 version to Play 2.6.
We can observe in play starter example that both Gradle and SBT is used (build.gardle & build.sbt) so which one the application will choose to build the application. which one is recommended to use by most of the developers.

Can anyone have tutorials of how to create the end to end application in Play 2.6 (Java) for reference.

Greg Methvin

unread,
Feb 14, 2018, 7:38:56 AM2/14/18
to Play Framework
It's an example project, so it includes both gradle and sbt builds so you can choose which one to use. The sbt plugin has been supported the longest and is maintained by the Play core team, so unless you have strong opinions otherwise it's probably good to start with sbt. If you're coming from Play 2.2 I assume you're already familiar with sbt.
Reply all
Reply to author
Forward
0 new messages