Skip to content

Commit 17354e2

Browse files
Paul Rybitskyitschuchortdev
authored andcommitted
Update README's compiler and KSP sections
1 parent 7e9ef93 commit 17354e2

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

README.md

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -106,7 +106,7 @@ Kotlin-Compile-Testing is compatible with all _local_ compiler versions. It does
106106

107107
However, if your project or any of its dependencies depend directly on compiler artifacts such as `kotlin-compiler-embeddable` or `kotlin-annotation-processing-embeddable` then they have to be the same version as the one used by Kotlin-Compile-Testing or there will be a transitive dependency conflict.
108108

109-
- Current `kotlin-compiler-embeddable` version: `1.4.32`
109+
- Current `kotlin-compiler-embeddable` version: `1.5.0`
110110

111111
Because the internal APIs of the Kotlin compiler often change between versions, we can only support one `kotlin-compiler-embeddable` version at a time.
112112

@@ -125,12 +125,12 @@ dependencies {
125125
This module adds a new function to the `KotlinCompilation` to specify KSP processors:
126126

127127
```Kotlin
128-
class MySymbolProcessor : SymbolProcessor {
129-
// implementation of the SymbolProcessor from the KSP API
128+
class MySymbolProcessorProvider : SymbolProcessorProvider {
129+
// implementation of the SymbolProcessorProvider from the KSP API
130130
}
131131
val compilation = KotlinCompilation().apply {
132132
sources = listOf(source)
133-
symbolProcessors = listOf(MySymbolProcessor())
133+
symbolProcessorProviders = listOf(MySymbolProcessorProvider())
134134
}
135135
val result = compilation.compile()
136136
```

0 commit comments

Comments
 (0)