The fix for compiling Kotlin scripts works great for 1.3.30+, but doesn't work for earlier versions of Kotlin which require a different dependency.
Checks the Kotlin version and adds an older dependency for script compilation if the version is 1.3.21 or below, or the newer dependency if the version is above 1.3.21.
The fix for compiling Kotlin scripts works great for 1.3.30+, but doesn't work for earlier versions of Kotlin which require a different dependency.
Checks the Kotlin version and adds an older dependency for script compilation if the version is 1.3.21 or below, or the newer dependency if the version is above 1.3.21.