@@ -24,7 +24,7 @@ However, they are now being phased out. This section provides an overview of the
24
24
> However, it is planned for deprecation, and ** we do not recommend using it going forward** .
25
25
> {style="warning"}
26
26
27
- If you still choose to use it , make sure to disable the automatic KSP dependency
27
+ If you still choose to use Gradle plugin , make sure to disable the automatic KSP plugin dependency
28
28
to avoid compatibility issues with Kotlin 2.1+ by adding this line to ` gradle.properties ` :
29
29
30
30
``` properties
@@ -33,12 +33,21 @@ kotlin.dataframe.add.ksp=false
33
33
34
34
## KSP Plugin
35
35
36
- > The KSP plugin is ** not compatible with Kotlin 2.1 or newer** .
37
- > It is planned for deprecation or major changes, and ** we do not recommend using it at this time** .
38
- > {style="warning"}
39
-
40
36
- ** Generation of [ data schemas] ( schemas.md ) ** from data sources
41
37
(files, databases, or external URLs).
42
38
- You could copy already generated schemas from ` build/generate/ksp ` into your project sources.
43
39
- To generate a ` DataSchema ` for a [ ` DataFrame ` ] ( DataFrame.md ) now, use the
44
40
[ ` generate..() ` methods] ( DataSchemaGenerationMethods.md ) instead.
41
+
42
+ > The KSP plugin is ** not compatible with [ KSP2] ( https://github.com/google/ksp?tab=readme-ov-file#ksp2-is-here ) **
43
+ > and may ** not work properly with Kotlin 2.1 or newer** .
44
+ > It is planned for deprecation or major changes, and ** we do not recommend using it at this time** .
45
+ > {style="warning"}
46
+
47
+ If you still choose to use the KSP plugin with Kotlin 2.1+,
48
+ disable [ KSP2] ( https://github.com/google/ksp?tab=readme-ov-file#ksp2-is-here )
49
+ by adding this line to ` gradle.properties ` :
50
+
51
+ ``` properties
52
+ ksp.useKSP2 =false
53
+ ```
0 commit comments