From 54da3e73c0f4a99114e20194bfb063d5b05a8445 Mon Sep 17 00:00:00 2001 From: Nikolay Krasko Date: Wed, 6 Jul 2016 15:31:35 +0300 Subject: [PATCH] Add description for Kotlin gradle plugin --- idea/src/META-INF/gradle.xml | 1 + .../KotlinGradlePluginDescription.kt | 24 +++++++++++++++++++ 2 files changed, 25 insertions(+) create mode 100644 idea/src/org/jetbrains/kotlin/idea/configuration/KotlinGradlePluginDescription.kt diff --git a/idea/src/META-INF/gradle.xml b/idea/src/META-INF/gradle.xml index 53b2348a075..36ad1c822ba 100644 --- a/idea/src/META-INF/gradle.xml +++ b/idea/src/META-INF/gradle.xml @@ -4,5 +4,6 @@ + diff --git a/idea/src/org/jetbrains/kotlin/idea/configuration/KotlinGradlePluginDescription.kt b/idea/src/org/jetbrains/kotlin/idea/configuration/KotlinGradlePluginDescription.kt new file mode 100644 index 00000000000..56c18820c1f --- /dev/null +++ b/idea/src/org/jetbrains/kotlin/idea/configuration/KotlinGradlePluginDescription.kt @@ -0,0 +1,24 @@ +/* + * Copyright 2010-2016 JetBrains s.r.o. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +package org.jetbrains.kotlin.idea.configuration + +import org.jetbrains.plugins.gradle.codeInsight.GradlePluginDescriptionsExtension + +class KotlinGradlePluginDescription : GradlePluginDescriptionsExtension { + override fun getPluginDescriptions(): Map = + mapOf("kotlin" to "Adds support for building Kotlin projects") +}