case class CompilerConfig(sources: List[org.langmeta.io.AbsolutePath], unmanagedSourceDirectories: List[org.langmeta.io.AbsolutePath], managedSourceDirectories: List[org.langmeta.io.AbsolutePath], scalacOptions: List[String], classDirectory: org.langmeta.io.AbsolutePath, dependencyClasspath: List[org.langmeta.io.AbsolutePath], sourceJars: List[org.langmeta.io.AbsolutePath], origin: org.langmeta.io.AbsolutePath, scalaVersion: SpecificScalaVersion) extends Product with Serializable
Configuration to load up a presentation compiler.
In sbt, one compiler config typically corresponds to one project+config. For example one sbt project with test/main/it configurations has three CompilerConfig.
- sources
list of source files for this project
- unmanagedSourceDirectories
list of directories that are manually edited, not auto-generated
- managedSourceDirectories
list of directories that contain auto-generated code
- scalacOptions
space separated list of flags to pass to the Scala compiler
- classDirectory
The output directory where *.class files are emitted for this project.
- dependencyClasspath
File.pathSeparated list of *.jar and classDirectories. Includes both dependencyClasspath and classDirectory.
- sourceJars
File.pathSeparated list of *-sources.jar from the dependencyClasspath.
- origin
Path to this .compilerconfig file.
- Alphabetic
- By Inheritance
- CompilerConfig
- Serializable
- Serializable
- Product
- Equals
- AnyRef
- Any
- Hide All
- Show All
- Public
- All
Instance Constructors
-
new
CompilerConfig(sources: List[org.langmeta.io.AbsolutePath], unmanagedSourceDirectories: List[org.langmeta.io.AbsolutePath], managedSourceDirectories: List[org.langmeta.io.AbsolutePath], scalacOptions: List[String], classDirectory: org.langmeta.io.AbsolutePath, dependencyClasspath: List[org.langmeta.io.AbsolutePath], sourceJars: List[org.langmeta.io.AbsolutePath], origin: org.langmeta.io.AbsolutePath, scalaVersion: SpecificScalaVersion)
- sources
list of source files for this project
- unmanagedSourceDirectories
list of directories that are manually edited, not auto-generated
- managedSourceDirectories
list of directories that contain auto-generated code
- scalacOptions
space separated list of flags to pass to the Scala compiler
- classDirectory
The output directory where *.class files are emitted for this project.
- dependencyClasspath
File.pathSeparated list of *.jar and classDirectories. Includes both dependencyClasspath and classDirectory.
- sourceJars
File.pathSeparated list of *-sources.jar from the dependencyClasspath.
- origin
Path to this .compilerconfig file.
Value Members
-
final
def
!=(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
-
final
def
##(): Int
- Definition Classes
- AnyRef → Any
-
final
def
==(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
-
final
def
asInstanceOf[T0]: T0
- Definition Classes
- Any
- val classDirectory: org.langmeta.io.AbsolutePath
- def classpath: String
-
def
clone(): AnyRef
- Attributes
- protected[java.lang]
- Definition Classes
- AnyRef
- Annotations
- @native() @throws( ... )
- val dependencyClasspath: List[org.langmeta.io.AbsolutePath]
-
final
def
eq(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
-
def
finalize(): Unit
- Attributes
- protected[java.lang]
- Definition Classes
- AnyRef
- Annotations
- @throws( classOf[java.lang.Throwable] )
-
final
def
getClass(): Class[_]
- Definition Classes
- AnyRef → Any
- Annotations
- @native()
-
final
def
isInstanceOf[T0]: Boolean
- Definition Classes
- Any
- val managedSourceDirectories: List[org.langmeta.io.AbsolutePath]
-
final
def
ne(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
-
final
def
notify(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native()
-
final
def
notifyAll(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native()
- val origin: org.langmeta.io.AbsolutePath
- val scalaVersion: SpecificScalaVersion
- val scalacOptions: List[String]
- lazy val sourceDirectories: List[org.langmeta.io.AbsolutePath]
- val sourceJars: List[org.langmeta.io.AbsolutePath]
- val sources: List[org.langmeta.io.AbsolutePath]
-
final
def
synchronized[T0](arg0: ⇒ T0): T0
- Definition Classes
- AnyRef
-
def
toString(): String
- Definition Classes
- CompilerConfig → AnyRef → Any
- val unmanagedSourceDirectories: List[org.langmeta.io.AbsolutePath]
-
final
def
wait(): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws( ... )
-
final
def
wait(arg0: Long, arg1: Int): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws( ... )
-
final
def
wait(arg0: Long): Unit
- Definition Classes
- AnyRef
- Annotations
- @native() @throws( ... )