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
  • Loading branch information
3flex committed Apr 12, 2024
1 parent 3381891 commit 60a7b52
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 @@ -91,6 +91,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 @@ -34,6 +34,7 @@ object CompilerTestUtils {
useDefaultConfig.toString(),
)
)
languageVersion = "1.9"
}.compile()
}
}

0 comments on commit 60a7b52

Please sign in to comment.