diff --git a/build.gradle.kts b/build.gradle.kts index 48a064a..bfbf9b7 100644 --- a/build.gradle.kts +++ b/build.gradle.kts @@ -1,12 +1,10 @@ -import org.jetbrains.intellij.tasks.PatchPluginXmlTask - plugins { id("org.jetbrains.intellij") version "0.4.16" kotlin("jvm") version "1.4-M1" } group = "com.github.lppedd" -version = "0.2.0" +version = "0.2.1" repositories { maven("https://dl.bintray.com/kotlin/kotlin-eap") @@ -14,8 +12,8 @@ repositories { } intellij { - version = "IU-2019.3" - pluginName = "Kotlin Additional Highlighting" + version = "IU-2019.2" + pluginName = "kotlin-additional-highlighting" setPlugins("Kotlin") } @@ -27,10 +25,12 @@ tasks { compileTestKotlin { kotlinOptions.jvmTarget = "1.8" } -} -tasks.getByName("patchPluginXml") { - version(project.version) - sinceBuild("193") - untilBuild(null) + patchPluginXml { + setPluginId("com.github.lppedd.kotlin-additional-highlighting") + version(project.version) + sinceBuild("192") + untilBuild(null) + pluginDescription(File("plugin-description.html").readText(Charsets.UTF_8)) + } } diff --git a/plugin-description.html b/plugin-description.html new file mode 100644 index 0000000..2584bd1 --- /dev/null +++ b/plugin-description.html @@ -0,0 +1,9 @@ +

+ This plugin provides code style customization for + infix and operator (math & keyword) functions. +

+
+

+ See more + here at GitHub. +

diff --git a/src/main/resources/META-INF/plugin.xml b/src/main/resources/META-INF/plugin.xml index 5946faf..8a572b1 100644 --- a/src/main/resources/META-INF/plugin.xml +++ b/src/main/resources/META-INF/plugin.xml @@ -1,4 +1,3 @@ - org.example.untitled1 Kotlin Additional Highlighting diff --git a/src/main/resources/META-INF/pluginIcon.svg b/src/main/resources/META-INF/pluginIcon.svg new file mode 100644 index 0000000..01823fb --- /dev/null +++ b/src/main/resources/META-INF/pluginIcon.svg @@ -0,0 +1,104 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + background + + + + Layer 1 + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +