@@ -24,7 +24,7 @@ However, they are now being phased out. This section provides an overview of the
2424> However, it is planned for deprecation, and ** we do not recommend using it going forward** .
2525> {style="warning"}
2626
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
2828to avoid compatibility issues with Kotlin 2.1+ by adding this line to ` gradle.properties ` :
2929
3030``` properties
@@ -33,12 +33,21 @@ kotlin.dataframe.add.ksp=false
3333
3434## KSP Plugin
3535
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-
4036- ** Generation of [ data schemas] ( schemas.md ) ** from data sources
4137 (files, databases, or external URLs).
4238 - You could copy already generated schemas from ` build/generate/ksp ` into your project sources.
4339 - To generate a ` DataSchema ` for a [ ` DataFrame ` ] ( DataFrame.md ) now, use the
4440 [ ` 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