Skip to content

Commit

Permalink
build: prepare for release and advance version to 0.2.1
Browse files Browse the repository at this point in the history
  • Loading branch information
lppedd committed Mar 21, 2020
1 parent 48e5948 commit 11eba53
Show file tree
Hide file tree
Showing 4 changed files with 123 additions and 11 deletions.
20 changes: 10 additions & 10 deletions build.gradle.kts
Original file line number Diff line number Diff line change
@@ -1,21 +1,19 @@
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")
mavenCentral()
}

intellij {
version = "IU-2019.3"
pluginName = "Kotlin Additional Highlighting"
version = "IU-2019.2"
pluginName = "kotlin-additional-highlighting"
setPlugins("Kotlin")
}

Expand All @@ -27,10 +25,12 @@ tasks {
compileTestKotlin {
kotlinOptions.jvmTarget = "1.8"
}
}

tasks.getByName<PatchPluginXmlTask>("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))
}
}
9 changes: 9 additions & 0 deletions plugin-description.html
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
<p>
This plugin provides code style customization for
<strong>infix</strong> and <strong>operator</strong> (math & keyword) functions.
</p>
<br/>
<p>
See more
<a href="https://github.com/lppedd/idea-kotlin-additional-highlighting">here at GitHub</a>.
</p>
1 change: 0 additions & 1 deletion src/main/resources/META-INF/plugin.xml
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@
<!--suppress PluginXmlValidity -->
<idea-plugin>
<id>org.example.untitled1</id>
<name>Kotlin Additional Highlighting</name>
Expand Down
104 changes: 104 additions & 0 deletions src/main/resources/META-INF/pluginIcon.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.

0 comments on commit 11eba53

Please sign in to comment.