Closed SethTisue closed 1 month ago
I am not convince about that because I think we should slowly discourage people from using the sbt flat style:
ThisBuild
, and Global
and project.in(file("."))
is non-obvious for beginnersHowever I am okay to use file(".")
instead of file("example")
. It seems that's what we do in scala/scala3.g8
template.
okay, I'll make the change
LGTM! Is it ready to be merged?
a language newcomer on Discord was bitten by this today
note that the examples weren't just unnecessarily complicated, they also used
file("example")
instead offile(".")
, so the user ended up having both aroot
and anexample
project, and they didn't understand that they needed to put their sources inexample/src
, because how on earth would they know that?we can avoid issues like that by simply using the flat style