-
transitiveStep
int transitiveStep
After which step include whole transitive closure of invalidated source files.
-
recompileAllFraction
double recompileAllFraction
What's the fraction of invalidated source files when we switch to recompiling
all files and giving up incremental compilation altogether. That's useful in
cases when probability that we end up recompiling most of source files but
in multiple steps is high. Multi-step incremental recompilation is slower
than recompiling everything in one step.
-
relationsDebug
boolean relationsDebug
Print very detailed information about relations, such as dependencies between source files.
-
apiDebug
boolean apiDebug
Enable tools for debugging API changes.
-
apiDiffContextSize
int apiDiffContextSize
Controls context size (in lines) displayed when diffs are produced for textual API
representation.
This option is used only when `apiDebug == true`.
-
apiDumpDirectory
java.util.Optional<T> apiDumpDirectory
The directory where we dump textual representation of APIs. This method might be called
only if apiDebug returns true. This is unused option at the moment as the needed functionality
is not implemented yet.
-
classfileManagerType
java.util.Optional<T> classfileManagerType
ClassfileManager that will handle class file deletion and addition during a single incremental compilation run.
-
useCustomizedFileManager
boolean useCustomizedFileManager
Option to turn on customized file manager that tracks generated class files for transactional rollbacks.
Using customized file manager may conflict with some libraries, this option allows user to decide
whether to use.
-
recompileOnMacroDef
java.util.Optional<T> recompileOnMacroDef
Determines whether incremental compiler should recompile all dependencies of a file
that contains a macro definition.
-
useOptimizedSealed
boolean useOptimizedSealed
Determines whether optimized approach for invalidating sealed classes/trait is used.
Turning this on may cause undercompilation in case of macros that are based sealed
trait/class children enumeration.
-
storeApis
boolean storeApis
Determines whether incremental compiler stores apis alongside analysis.
-
enabled
boolean enabled
Determines whether incremental compilation is enabled.
-
extra
java.util.Map<K,V> extra
Extra options
-
logRecompileOnMacro
boolean logRecompileOnMacro
Determines whether to log information on file recompiled due to a transitive macro change
-
externalHooks
ExternalHooks externalHooks
External hooks that allows clients e.g. IDEs to interacts with compilation internals
-
ignoredScalacOptions
java.lang.String[] ignoredScalacOptions
Array of regexes that will be used to determine if scalac options should be ignored if they change