Merge branch 'develop' into scripted-classloader

This commit is contained in:
Ethan Atkins 2019-02-01 12:30:25 -08:00 committed by GitHub
commit 51f295a922
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
3 changed files with 3 additions and 4 deletions

View File

@ -41,8 +41,7 @@ package sbt.dsl
* }}}
* To make this work, the instances are all defined as implicit case objects. Moreover, the
* the [[LinterLevel.Warn]] setting is made default by placing [[LinterLevel.Abort]] and
* [[LinterLevel.Ignore]] in the [[LinterLevelLowPriority]] trait that the [[LinterLevel]]
* companion object extends.
* [[LinterLevel.Ignore]] using the low priority trait pattern.
*/
sealed trait LinterLevel
object LinterLevel extends LinterLevelLowPriority {

View File

@ -28,7 +28,7 @@ abstract class BaseTaskLinterDSL extends LinterDSL {
val unchecked = symbolOf[sbt.sbtUnchecked].asClass
val initializeType = typeOf[sbt.Def.Initialize[_]]
/**
/*
* Lints a task tree.
*
* @param insideIf indicates whether or not the current tree is enclosed in an if statement.

View File

@ -18,7 +18,7 @@ object A extends AutoPlugin {
Nil
def setUpScripted = Command.command("setUpScripted") { (state0: State) =>
Project.extract(state0).append(name := "foo", state0)
Project.extract(state0).appendWithoutSession(name := "foo", state0)
}
// used to ensure the build-level and global settings are only added once