user12758400
user12758400

Reputation:

Equivalent of maven archetype for sbt

Does sbt (Scala build tool) have the concept of archetypes, similar to the way that you can define an archetype in a maven project? Basically a blueprint for a new project that might have specific dependencies already defined for you, or perhaps some prebuilt classes and traits?

Upvotes: 2

Views: 396

Answers (2)

senjin.hajrulahovic
senjin.hajrulahovic

Reputation: 3181

You can create scala projects from template projects using https://github.com/foundweekends/giter8

Upvotes: 0

Anand Sai
Anand Sai

Reputation: 1586

Yeah, in sbt, we can use other plugins to achiecve this. sbt-native-packager can be used. As quoted in its documentation:

SBT native packager lets you build application packages in native formats and offers different archetypes for common configurations, such as simple Java apps or server applications

Let me know if it helps!!

.

Upvotes: -3

Related Questions