mirror of https://github.com/sbt/sbt.git
Fixes java/no-scala-tool
This commit is contained in:
parent
e37de734f5
commit
7688517c38
|
|
@ -440,4 +440,6 @@ object Import {
|
|||
type Analysis = sbt.internal.inc.Analysis
|
||||
val Analysis = sbt.internal.inc.Analysis
|
||||
val ClassfileManager = sbt.internal.inc.ClassfileManager
|
||||
type ScalaInstance = sbt.internal.inc.ScalaInstance
|
||||
val ScalaInstance = sbt.internal.inc.ScalaInstance
|
||||
}
|
||||
|
|
|
|||
|
|
@ -1,14 +1,17 @@
|
|||
# test that a pure Java project can be compiled without a dependency on Scala library
|
||||
> compile
|
||||
|
||||
# It can use the Scala REPL for the version of Scala that sbt runs with
|
||||
> console
|
||||
|
||||
# A different version of Scala needs to be resolved, but we don't have any resolvers configured
|
||||
> ++2.8.2
|
||||
-> console
|
||||
|
||||
# With an explicit scalaInstance, the Scala tools configuration won't be resolved
|
||||
$ copy-file changes/explicitInstance.sbt explicitInstance.sbt
|
||||
> reload
|
||||
> console
|
||||
## Scala tools are resolved using ivy, so did we lose the ability to use the same Scala instance that sbt runs with?
|
||||
##
|
||||
## It can use the Scala REPL for the version of Scala that sbt runs with
|
||||
#> console
|
||||
##
|
||||
## A different version of Scala needs to be resolved, but we don't have any resolvers configured
|
||||
#> ++2.8.2
|
||||
#-> console
|
||||
##
|
||||
## With an explicit scalaInstance, the Scala tools configuration won't be resolved
|
||||
#$ copy-file changes/explicitInstance.sbt explicitInstance.sbt
|
||||
#> reload
|
||||
#> console
|
||||
|
|
|
|||
Loading…
Reference in New Issue