Skip to main content

One doc tagged with "migration"

View all tags

Migration guide: script to compiled definitions

This guide describes how to migrate from GPAL script files (.kts) to compiled Kotlin classes (.kt) that extend the appropriate GPal base class. Migration is optional*: script-based configuration continues to work as before. Moving to compiled definitions gives you full IDE support and refactoring, compile-time safety, configuration in the same codebase and build as the rest of your application, easier testing without script files, and the ability to adopt gradually (script and compiled can coexist).