I just noticed that on `./gradlew detekt` the kona...
# multiplatform
j
I just noticed that on
./gradlew detekt
the konan compiler is downloaded. Is there a way I can make native compiler downloads lazy? Furthermore I only have mingwX64 and macosX64, why is my jvm build runner that happens to be linux downloading linux platform compiler stuff?
l
It only happens the first time.
j
yeah just a big bummer for CI
l
Is your CI GitHub Actions?
j
Internal gitlab
l
You might want to setup some cache. This official GitHub Action might give you some inspiration to replicate it on Gitlab CI if there's not already a public project that does what you need. https://github.com/marketplace/actions/gradle-build-action
Actually, it might be simpler than replicating what I just linked. Caching the
~/.konan
directory should be enough.
j
Yeah I'll do that, thanks 👍