This message was deleted.
# dependency-management
s
This message was deleted.
s
We also use dokka and kotlin serialization in the child project. It also errors with
org.gradle.api.plugins.UnknownPluginException: Plugin [id: 'org.jetbrains.dokka'] was not found in any of the following sources
if we don't have
id 'org.jetbrains.dokka' version "1.7.10" apply false
in the parent project's
build.gradle
. Is there a way to avoid that as well?
t
Builds aren't meant to be composed as subprojects: settings.gradle.kts is ignored, gradle/libs.versions.toml too (as the conventional path for version catalog). In your case you could probably have the Parent settings.gradle.kts configure the version catalog to load the Child/gradle/libs.versions.toml file; but I'd rather look at composite builds (
includeBuild
) as that's the proper way to compose builds together in Gradle.
👌 1
s
Thanks!