I got a problem with a Kotlin library with Gradle ...
# gradle
c
I got a problem with a Kotlin library with Gradle — building takes a pretty long time; e.g. “Starting Gradle Daemon...” message appeared after 2,5 minutes and starting took 50 seconds. I remember it used to be a lot faster a few days ago and I got no idea why. The full compilation took 4 minutes and 56 seconds, but I remember once Gradle didn't start even after 10 minutes. Also, there's some weird thing in the logs:
Copy code
> Task :compileKotlinMetadata
Could not connect to Kotlin compile daemon
Could not connect to kotlin daemon. Using fallback strategy.
I have no idea why this happens Thread in Slack Conversation
b
It may be completely unrelated but I've noticed that recently the gradle servers are very slow. So downloading the gradle wrapper takes a very long time. This will occur only the first time you start a build with a wrapper that you've never dld before
c
I do have the wrapper downloaded, though
b
ok so it's not that 🙂