[Plugins] Deprecate ComponentRegistrar

^KT-52665 In Progress
This commit is contained in:
Dmitriy Novozhilov
2022-06-07 12:45:48 +03:00
committed by teamcity
parent 8b42638afa
commit c979e1edcf
19 changed files with 42 additions and 3 deletions
@@ -14,6 +14,8 @@
* limitations under the License.
*/
@file:Suppress("DEPRECATION")
package org.jetbrains.kotlin.cli.common
import com.intellij.openapi.Disposable
@@ -3,6 +3,8 @@
* Use of this source code is governed by the Apache 2.0 license that can be found in the license/LICENSE.txt file.
*/
@file:Suppress("DEPRECATION")
package org.jetbrains.kotlin.cli.jvm.compiler
import org.jetbrains.kotlin.analyzer.common.CommonPlatformAnalyzerServices
@@ -3,6 +3,8 @@
* Use of this source code is governed by the Apache 2.0 license that can be found in the license/LICENSE.txt file.
*/
@file:Suppress("DEPRECATION")
package org.jetbrains.kotlin.cli.jvm.compiler
import com.intellij.codeInsight.ExternalAnnotationsManager
@@ -57,6 +57,7 @@ object PluginCliParser {
}
@JvmStatic
@Suppress("DEPRECATION")
fun loadPlugins(pluginClasspaths: Iterable<String>?, pluginOptions: Iterable<String>?, configuration: CompilerConfiguration) {
val classLoader = URLClassLoader(
pluginClasspaths