diff --git a/build.gradle.kts b/build.gradle.kts index b5c0c946f..9cf87c8b2 100644 --- a/build.gradle.kts +++ b/build.gradle.kts @@ -95,8 +95,8 @@ allprojects { subprojects { afterEvaluate { - if (project.name == "mirai-core-api") configureDokka() - if (project.name == "mirai-console") configureDokka() + if (project.path == ":mirai-core-api") configureDokka() + if (project.path == ":mirai-console") configureDokka() } } rootProject.configureDokka()