Piotr KrzemiĆski
06/27/2021, 5:48 AMBen Woodworth
06/27/2021, 6:32 PM#!/usr/bin/env -S kotlinc -script -Xplugin="${KOTLIN_HOME}/lib/kotlinx-serialization-compiler-plugin.jar" --
Just make sure the KOTLIN_HOME environment variable is set. And I'm not sure if there's an equivalent for e.g. Windows, but on my linux machine it works well.Piotr KrzemiĆski
06/28/2021, 6:24 AM