diff --git a/plugin/gradle/build.gradle.kts b/plugin/gradle/build.gradle.kts index a404d71b..860f5689 100644 --- a/plugin/gradle/build.gradle.kts +++ b/plugin/gradle/build.gradle.kts @@ -25,7 +25,7 @@ intellij { } dependencies { - implementation(projects.plugin.gradle.tooling) + compileOnly(projects.plugin.gradle.tooling) sourceElements(projects.plugin.gradle.tooling) api(projects.plugin.core) sourceElements(projects.plugin.core) diff --git a/plugin/gradle/src/main/kotlin/com/jetbrains/packagesearch/plugin/gradle/utils/Utils.kt b/plugin/gradle/src/main/kotlin/com/jetbrains/packagesearch/plugin/gradle/utils/Utils.kt index 167bf5f2..6ab3ed6b 100644 --- a/plugin/gradle/src/main/kotlin/com/jetbrains/packagesearch/plugin/gradle/utils/Utils.kt +++ b/plugin/gradle/src/main/kotlin/com/jetbrains/packagesearch/plugin/gradle/utils/Utils.kt @@ -10,9 +10,7 @@ import com.jetbrains.packagesearch.plugin.gradle.GradleDependencyModel import kotlin.coroutines.resume import kotlin.coroutines.suspendCoroutine import org.jetbrains.kotlin.psi.psiUtil.parents -import org.jetbrains.plugins.gradle.execution.build.CachedModuleDataFinder import org.jetbrains.plugins.gradle.util.GradleConstants -import org.jetbrains.plugins.gradle.util.gradleIdentityPathOrNull val Module.isGradleSourceSet: Boolean get() {