Fix validator

This commit is contained in:
Him188 2021-01-21 14:35:44 +08:00
parent 2568e69c6c
commit 1629bbdacd
2 changed files with 2 additions and 5866 deletions

View File

@ -29,7 +29,8 @@ plugins {
description = "Mirai API binary compatibility validator"
tasks.withType(kotlinx.validation.KotlinApiBuildTask::class) {
inputClassesDirs = files(inputClassesDirs.files, project(":mirai-core-api").buildDir)
inputClassesDirs =
files(inputClassesDirs.files, project(":mirai-core-api").buildDir.resolve("classes/kotlin/jvm/main"))
}
// tasks["apiDump"].dependsOn(project(":mirai-core-api").tasks["build"])