mirror of
https://github.com/sbt/sbt.git
synced 2026-09-04 16:54:29 +02:00
Generate ClasspathOptions with sbt-datatype
Also rename the previous object called `ClasspathOptions` to `ClasspathOptionsUtil`.
This commit is contained in:
+1
-1
@@ -23,7 +23,7 @@ private[sbt] object ComponentCompiler {
|
||||
def apply(scalaInstance: xsbti.compile.ScalaInstance, log: Logger): File =
|
||||
{
|
||||
// this is the instance used to compile the interface component
|
||||
val componentCompiler = new IvyComponentCompiler(new RawCompiler(scalaInstance, ClasspathOptions.auto, log), manager, ivyConfiguration, sourcesModule, log)
|
||||
val componentCompiler = new IvyComponentCompiler(new RawCompiler(scalaInstance, ClasspathOptionsUtil.auto, log), manager, ivyConfiguration, sourcesModule, log)
|
||||
log.debug("Getting " + sourcesModule + " from component compiler for Scala " + scalaInstance.version)
|
||||
componentCompiler()
|
||||
}
|
||||
|
||||
+1
-1
@@ -32,7 +32,7 @@ abstract class BridgeProviderSpecification extends BaseIvySpecification {
|
||||
val bridgeId = compilerBridgeId(scalaVersion)
|
||||
val sourceModule = ModuleID(xsbti.ArtifactInfo.SbtOrganization, bridgeId, ComponentCompiler.incrementalVersion, Some("component")).sources()
|
||||
|
||||
val raw = new RawCompiler(instance, ClasspathOptions.auto, log)
|
||||
val raw = new RawCompiler(instance, ClasspathOptionsUtil.auto, log)
|
||||
val manager = new ComponentManager(lock, provider(targetDir), None, log)
|
||||
val componentCompiler = new IvyComponentCompiler(raw, manager, ivyConfiguration, sourceModule, log)
|
||||
|
||||
|
||||
Reference in New Issue
Block a user