Skip to content

Commit

Permalink
Surface kotlinLanguageVersion param
Browse files Browse the repository at this point in the history
  • Loading branch information
brentwatson authored and RBusarow committed Nov 15, 2024
1 parent 88bbbbd commit 8edbf3b
Showing 1 changed file with 2 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -309,6 +309,7 @@ public fun compileAnvil(
mode: AnvilCompilationMode = Embedded(emptyList()),
moduleName: String? = null,
jvmTarget: JvmTarget? = null,
kotlinLanguageVersion: String? = null,
expectExitCode: KotlinCompilation.ExitCode? = null,
block: JvmCompilationResult.() -> Unit = { },
): JvmCompilationResult {
Expand All @@ -317,6 +318,7 @@ public fun compileAnvil(
kotlinCompilation.apply {
this.allWarningsAsErrors = allWarningsAsErrors
this.messageOutputStream = messageOutputStream
this.languageVersion = kotlinLanguageVersion
if (workingDir != null) {
this.workingDir = workingDir
}
Expand Down

0 comments on commit 8edbf3b

Please sign in to comment.