![JAR search and dependency download from the Maven repository](/logo.png)
com.jetbrains.pluginverifier.dependencies.resolution.IdeDependencyFinder.kt Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of verifier-intellij Show documentation
Show all versions of verifier-intellij Show documentation
JetBrains Plugin Verifier Classes for IntelliJ Platform integration with API usage detection and reporting.
/*
* Copyright 2000-2020 JetBrains s.r.o. and other contributors. Use of this source code is governed by the Apache 2.0 license that can be found in the LICENSE file.
*/
package com.jetbrains.pluginverifier.dependencies.resolution
import com.jetbrains.plugin.structure.ide.Ide
import com.jetbrains.pluginverifier.plugin.PluginDetailsCache
import com.jetbrains.pluginverifier.repository.PluginRepository
fun createIdeBundledOrPluginRepositoryDependencyFinder(
ide: Ide,
pluginRepository: PluginRepository,
pluginDetailsCache: PluginDetailsCache
): DependencyFinder {
val bundledPluginFinder = BundledPluginDependencyFinder(ide, pluginDetailsCache)
val repositoryDependencyFinder = RepositoryDependencyFinder(
pluginRepository,
LastCompatibleVersionSelector(ide.version),
pluginDetailsCache
)
return CompositeDependencyFinder(listOf(bundledPluginFinder, repositoryDependencyFinder))
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy