diff --git a/native/commonizer-api/build.gradle.kts b/native/commonizer-api/build.gradle.kts index 33a0de5f118..c5df9c162f9 100644 --- a/native/commonizer-api/build.gradle.kts +++ b/native/commonizer-api/build.gradle.kts @@ -17,7 +17,12 @@ dependencies { testImplementation(commonDependency("junit:junit")) testImplementation(projectTests(":compiler:tests-common")) testRuntimeOnly(project(":native:kotlin-klib-commonizer")) - testImplementation(project(":kotlin-gradle-plugin")) + testImplementation(project(":kotlin-gradle-plugin")) { + capabilities { + requireCapability("org.jetbrains.kotlin:kotlin-gradle-plugin-common") + } + } + testImplementation(project(":kotlin-gradle-statistics")) testImplementation(project(":kotlin-gradle-plugin-model")) testImplementation(gradleApi()) testImplementation(gradleTestKit())