52 lines
1.0 KiB
Plaintext
52 lines
1.0 KiB
Plaintext
plugins {
|
|
id("org.jetbrains.intellij") version "0.6.5"
|
|
kotlin("jvm") version "1.4.10"
|
|
}
|
|
|
|
val pluginVersion: String by project
|
|
val platformVersion: String by project
|
|
|
|
group = "de.idetools"
|
|
version = pluginVersion
|
|
|
|
repositories {
|
|
mavenCentral()
|
|
}
|
|
|
|
dependencies {
|
|
implementation(kotlin("stdlib"))
|
|
}
|
|
|
|
// See https://github.com/JetBrains/gradle-intellij-plugin/
|
|
intellij {
|
|
version = platformVersion
|
|
}
|
|
tasks.getByName<org.jetbrains.intellij.tasks.PatchPluginXmlTask>("patchPluginXml") {
|
|
changeNotes("""
|
|
<h3>[1.2]</h3>
|
|
|
|
<ul>
|
|
<li>Simplify template configuration with placeholder auto completion</li>
|
|
<li>New templates are active by default</li>
|
|
</ul>
|
|
|
|
<h3>[1.1]</h3>
|
|
|
|
<ul>
|
|
<li>Placeholders for: date, hostname, project name, username, sequential numbers, and caret position</li>
|
|
</ul>
|
|
|
|
<h3>[1.0]</h3>
|
|
|
|
<ul>
|
|
<li>Initial release</li>
|
|
</ul>
|
|
""")
|
|
}
|
|
|
|
tasks.withType<org.jetbrains.kotlin.gradle.tasks.KotlinCompile> {
|
|
kotlinOptions {
|
|
jvmTarget = "1.8"
|
|
}
|
|
}
|