Join Slack
Actually, I'm finding that I have to duplicate my kotlin version declaration. I have to put it in `b...
# gradle
s
spierce7
09/26/2018, 2:54 PM
Actually, I'm finding that I have to duplicate my kotlin version declaration. I have to put it in
buildSrc
, but also, the
buildscript
block so that I can add the kotlin plugin to the classpath. Is there a way around this?
g
gildor
09/26/2018, 4:46 PM
Why do you need buildscript? This is legacy API and bad choice for Kotlin dsl
gildor
09/26/2018, 4:47 PM
You can specify version of plugin in settings.gradle.kts
gildor
09/26/2018, 4:47 PM
You have buildSrc declarations there
gildor
09/26/2018, 4:48 PM
Not sure about buildscript, but probably there too
7
Views
Open in Slack
Previous
Next
kotlinlang
A modern programming language that makes developers happier.
Powered by