pfn / kotlin-plugin

Build kotlin code using sbt
MIT License
136 stars 35 forks source link

Compile Kotlin scripts for versions of Kotlin < 1.3.30 #33

Closed jeffboutotte closed 5 years ago

jeffboutotte commented 5 years ago

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.

pfn commented 5 years ago

Looks great, thanks!