Kotlin Setup
Fory Kotlin artifacts are published to Maven Central and run on Fory Java. Fory core supports Java 8 and later. Keep Kotlin, Java core, and generated-code artifacts in one application on the same Fory release.
Verify the Toolchain
java -version
./gradlew --version
# or: mvn -version
Choose a Capability
| Capability | Artifact or tool | Continue with |
|---|---|---|
| Object Serialization | fory-kotlin | Kotlin object serialization, then choose xlang or native |
| Schema and generated models | fory-compiler and Kotlin KSP support | Fory IDL and Compiler |
| Fory gRPC | generated coroutine companions plus grpc-kotlin | Kotlin gRPC |
| Android object serialization | fory-kotlin plus generated serializers | Android |
Each capability guide owns its exact Maven or Gradle declaration and first runnable example.