```Calebs-MBP:gateway-model calebcushing$ ./gradle...
# dokka
x
Copy code
Calebs-MBP:gateway-model calebcushing$ ./gradlew --write-locks dependencies
Copy code
Calebs-MBP:gateway-model calebcushing$ ./gradlew build
> Task :dokka FAILED

FAILURE: Build failed with an exception.

* What went wrong:
Execution failed for task ':dokka'.
> Could not resolve all files for configuration ':dokkaRuntime'.
   > Resolved 'org.jetbrains.dokka:dokka-fatjar:0.9.18' which is not part of the dependency lock state

* Try:
Run with --stacktrace option to get the stack trace. Run with --info or --debug option to get more log output. Run with --scan to get full insights.

* Get more help at <https://help.gradle.org>
k
I'm going to make a guess: you don't have the
jcenter()
in the
repositories{}
block
If I'm wrong please share at least the stacktrace
x
you’d be wrong, I figured it out though… sorta, I fixed it by running
--write-locks dokka
which added the dokka fatjar to
dokkaRuntime.lockfile
I’d argue this is a bug, as running dependencies should have generated all the correct lockfiles
k
That's strange. Yup, I agree that this shouldn't happen but it looks like it's an issue caused by the fatjar, which we'll get rid of in the next release