hello! I haven't used gradle much so was wondering...
# gradle
d
hello! I haven't used gradle much so was wondering whether this would be possible to do in gradle? https://kotlinlang.slack.com/archives/C0B8PUJGZ/p1574116822011100 i.e. ensure that sources are compiled when plugin is invoked (but only invoke compile if needed)
o
gradle is very good about not taking time if
compile
is run twice, using well-tested incremental compilation that can take only a few ms if already done
so in general, you simply declare that your task depends on the appropriate compile task, and it should Just Work
d
👍 might give it a try