From 7f0cb4581ea862be914e4361c71ab2bd5aea75c6 Mon Sep 17 00:00:00 2001 From: Him188 Date: Thu, 6 Jan 2022 01:10:15 +0000 Subject: [PATCH] Fix dokka configure --- build.gradle.kts | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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()