Join Slack
I see a `compileKotlin` task when I build, although the project is pure java with kotlin libs, is i...
# gradle
e
elect
06/19/2020, 11:38 AM
I see a
compileKotlin
task when I build, although the project is pure java with kotlin libs, is it fine?
r
r4zzz4k
06/19/2020, 11:58 AM
Do you by chance apply any of Kotlin plugins to your Gradle build?
☝🏼 1
e
elect
06/19/2020, 11:59 AM
yes, aren't they necessary for the runtime?
r
r4zzz4k
06/19/2020, 11:59 AM
If so, even if there are no Kotlin sources, the task would still be there (and I presume would do nothing)
r4zzz4k
06/19/2020, 12:00 PM
For merely consuming Kotlin libraries you shouldn't need Kotlin plugin.
e
elect
06/20/2020, 5:32 AM
I get an error if I do so, I'll try again on Monday
3
Views
Open in Slack
Previous
Next
kotlinlang
A modern programming language that makes developers happier.
Powered by