mirror of https://github.com/sbt/sbt.git
Update for not having natures
parent
172a9f27fa
commit
8bde1c61ac
|
|
@ -24,14 +24,14 @@ val lib = project
|
|||
val web = project.addPlugins(Web, PlayPlugin).dependsOn(lib) // scala is default
|
||||
```
|
||||
|
||||
And declares the root project to be a no-nature project which aggregates the others:
|
||||
And declares the root project to be a "non-ivy" project which aggregates the others:
|
||||
|
||||
```scala
|
||||
val lib = project
|
||||
|
||||
val web = project.addPlugins(Web, PlayPlugin).dependsOn(lib)
|
||||
|
||||
val root = Project("root", file("."), natures=Nil).aggregate(lib,web)
|
||||
val root = Project("root", file(".")).disablePlugins(IvyModule).aggregate(lib,web)
|
||||
```
|
||||
|
||||
## User Story: User wants to create an sbt plugin that enhances play projects.
|
||||
|
|
@ -80,9 +80,9 @@ User attempts to call a pgp task from a project where it is not enabled:
|
|||
```
|
||||
sbt> publishSigned
|
||||
error: publishSigned is not defined on project 'root'.
|
||||
This tasks is defined by the 'SbtPgp' plugin but was not enabled.
|
||||
To enable, please add the following nature(s_:
|
||||
* "PublishedProject"
|
||||
This tasks is defined by the 'com.typesafe.sbt.SbtPgp' plugin but was not enabled.
|
||||
To enable, please add the following plugin(s):
|
||||
* sbt.plugins.IvyModule
|
||||
```
|
||||
|
||||
## User Story: User wants to ensure plugin XYZ has its settings loaded last
|
||||
Loading…
Reference in New Issue