-
Notifications
You must be signed in to change notification settings - Fork 345
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Should we recommend the use of inThisBuild(...)
in the Getting Started guide?
#307
Comments
I say yes. |
I'm leaning towards avoiding |
agree |
definitely recommend using it. If you think it's too complex a topic, then perhaps it should be the default scope for "top level" settings in |
@fommil I think most people here would agree, but it might be too much of a breaking change for existing builds (besides, as of today I'm having a hard time understanding the meaning of ThisBuild v. Global; but that's another story) |
@fommil I agree. Something to consider for 1.0? The |
It's a breaking change in the build, which we're avoiding in the 0.13 -> 1.0 migration. (Btw, turns out that option was considered back in the day, and I too wish it had been picked - https://twitter.com/dwijnand/status/826051471485652992) |
#306 (comment) Li Haoyi wrote:
Recap on
inThisBuild(...)
:inThisBuild(...)
puts the setting in the build scope, which applies to all subprojects in the build.version in ThisBuild
)Downsides:
baseDirectory
. In that sense it's more difficult to understand compared tocommonSettings
.The text was updated successfully, but these errors were encountered: