Skip to content

Commit

Permalink
chore: centralize generated project configuration in `ProjectConfigur…
Browse files Browse the repository at this point in the history
…ation`
  • Loading branch information
JavierCane committed Jun 22, 2024
1 parent b5597ac commit 76f8eac
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 4 deletions.
4 changes: 0 additions & 4 deletions src/main/g8/build.sbt
Original file line number Diff line number Diff line change
@@ -1,7 +1,3 @@
/** ********* PROJECT INFO ******************/
name := "$name$"
version := "$version$"

/** ********* PROJECT SETTINGS ******************/
ProjectConfiguration.settings

Expand Down
2 changes: 2 additions & 0 deletions src/main/g8/project/ProjectConfiguration.scala
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,8 @@ object ProjectConfiguration {
val settings = Seq(
organization := "$organization$",
scalaVersion := "$scala_version$",
name := "$name$",
version := "$version$",

// Custom folders path (remove the `/scala` default subdirectory)
Compile / scalaSource := file((baseDirectory.value / "src" / "main").toString),
Expand Down

0 comments on commit 76f8eac

Please sign in to comment.