Add a rootProject convenience method (macro)
See original GitHub issueThe root project can be defined with project in file(".")
. It might be convenient to provide a rootProject
alias to project in file(".")
(has to be a macro because of project
the macro.)
Issue Analytics
- State:
- Created 5 years ago
- Reactions:1
- Comments:11 (11 by maintainers)
Top Results From Across the Web
Upgrading your build from Gradle 6.x to the latest
The jcenter() convenience method is now deprecated ... groovy-macro ... on Windows adds a lock to the root project directory in order to...
Read more >sbt Reference Manual — Commands
There is a convenience method for constructing commands that accept a single argument with arbitrary content. // accepts the state and the single...
Read more >Relearn your sbt - kubuszok.com
So you can define there classes for your convenience and import them in .sbt files. You can add libraryDependencies , which you could...
Read more >CERN ROOT/RooFit GNU Makefile structure with GUI for ...
It is usually a simple ROOT macro that one runs with ROOT's interpreter. Later on after adding more and more features the code...
Read more >Spring Boot Reference Guide
Add a Servlet, Filter, or Listener by Using a Spring Bean ... Spring Boot provides convenience methods that can be used to override...
Read more >
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free
Top Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
👍 to adding a way to have an auto-aggregating root project definition as a
val
. It can be a syntax, a macro, some set of settings insbt.Defaults
, whatever. It’s just annoying that I can doval foo = project...
for subprojects, but I have to configure the root project using the SBT DSL, or lose all the magic.No, that’s just the directory.
The thing that
val fooRoot = project in file(".")
is achieving is giving the root project a stable id, i.e one that isn’t inferred by the (mutable) directory name.