mirror of https://github.com/sbt/sbt.git
Fixes source-dependencies / transitive-memberRef
This commit is contained in:
parent
baadd76544
commit
c279995cdd
|
|
@ -45,6 +45,7 @@ The Scala Center is working with Lightbend to provide [an automatic migration to
|
|||
- Java classes under the `xsbti.compile` package such as `IncOptions` hides the constructor. Use the factory method `xsbti.compile.Foo.of(...)`.
|
||||
- Renames `ivyScala: IvyScala` to `scalaModuleInfo: ScalaModuleInfo`.
|
||||
- `xsbti.Reporter#log(...)` takes `xsbti.Problem` as the parameter. Call `log(problem.position, problem.message, problem.severity)` to delegate to the older `log(...)`.
|
||||
- `xsbi.Maybe`, `xsbti.F0`, and `sxbti.F1` are changed to corresponding Java 8 classes `java.util.Optional`, `java.util.Supplier` and `java.util.Function`.
|
||||
|
||||
#### Features
|
||||
|
||||
|
|
|
|||
|
|
@ -1,5 +1,4 @@
|
|||
import sbt.internal.inc.Analysis
|
||||
import xsbti.Maybe
|
||||
import xsbti.compile.{PreviousResult, CompileAnalysis, MiniSetup}
|
||||
|
||||
logLevel := Level.Debug
|
||||
|
|
@ -8,7 +7,7 @@ logLevel := Level.Debug
|
|||
previousCompile in Compile := {
|
||||
val previous = (previousCompile in Compile).value
|
||||
if (!CompileState.isNew) {
|
||||
val res = new PreviousResult(none[CompileAnalysis].asJava, none[MiniSetup].asJava)
|
||||
val res = PreviousResult.of(none[CompileAnalysis].asJava, none[MiniSetup].asJava)
|
||||
CompileState.isNew = true
|
||||
res
|
||||
} else previous
|
||||
|
|
|
|||
Loading…
Reference in New Issue