DefaultCompilerArgsConfigurator
class DefaultCompilerArgsConfigurator(jvmTargetVersion: String = JavaRuntime.version) : CompilerArgsConfigurator
This class defines the default compiler arguments used to compile snippets.
See also
Functions
Link copied to clipboard
open override fun configure(configuration: ScriptCompilationConfiguration, annotations: List<Annotation>): ResultWithDiagnostics<ScriptCompilationConfiguration>
This method is called as part of the org.jetbrains.kotlinx.jupyter.codegen.FileAnnotationsProcessor and is responsible for extracting any relevant compiler args from the list of jupyter.kotlin.CompilerArgs annotations found in the notebook cell.