Migration from Gradle/KSP Plugin
Gradle and KSP plugins were useful tools in earlier versions of Kotlin DataFrame.
However, they are now deprecated. Their latest release is 1.0.0-Beta4 and will not have future releases. This page provides migration guidance.
Our plans for the next iteration of schema generation from source feature can be found in Issue #1844.
Gradle Plugin
Latest available release of the deprecated plugin:
Generation of data schemas from data sources
(files, databases, or external URLs).You could copy already generated schemas from
build/generateinto your project sources.To generate a
DataSchemafor aDataFramenow, use thegenerate..()methods.
Generation of extension properties from data schemas
This is now handled by the compiler plugin, which:Generates extension properties for declared data schemas.
Automatically updates the schema and regenerates properties after structural DataFrame operations.
KSP Plugin
Latest available release of the deprecated processor:
Generation of data schemas from data sources
(files, databases, or external URLs).You could copy already generated schemas from
build/generate/kspinto your project sources.To generate a
DataSchemafor aDataFramenow, use thegenerate..()methods instead.