scala.build.preprocessing
package scala.build.preprocessing
Type members
Classlikes
class CustomDirectivesReporter(path: Either[String, Path], onDiagnostic: Diagnostic => Unit) extends Reporter
- Companion:
- object
final case class JavaPreprocessor(archiveCache: ArchiveCache[Task], javaClassNameVersionOpt: Option[String], javaCommand: () => String) extends Preprocessor
Java source preprocessor.
Java source preprocessor.
Doesn't modify Java sources. This only extracts using directives from them, and for unnamed sources (like stdin), tries to infer a class name from the sources themselves.
- Value parameters:
- archiveCache
when using a java-class-name external binary to infer a class name (see JavaParserProxy), a cache to download that binary with
- javaClassNameVersionOpt
when using a java-class-name external binary to infer a class name (see JavaParserProxy), this forces the java-class-name version to download