Skip to content

Commit

Permalink
Execute compiler plugin tests on language version 1.9 due to K2 incom…
Browse files Browse the repository at this point in the history
…patibility (#7303)
  • Loading branch information
3flex committed May 18, 2024
1 parent d6a2864 commit 0f9b41f
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 0 deletions.
2 changes: 2 additions & 0 deletions detekt-compiler-plugin/build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -95,6 +95,8 @@ val testPluginKotlinc by tasks.registering(Task::class) {

args = listOf(
sourceFile.path,
"-language-version",
"1.9",
"-Xplugin=${tasks.shadowJar.get().archiveFile.get().asFile.absolutePath}",
"-P",
"plugin:detekt-compiler-plugin:debug=true".toArg(),
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -39,6 +39,7 @@ object CompilerTestUtils {
workingDir.absolutePath
)
)
languageVersion = "1.9"
}.compile()
}
}

0 comments on commit 0f9b41f

Please sign in to comment.