39 lines
733 B
Plaintext
39 lines
733 B
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.0]</h3>
|
|
|
|
<ul>
|
|
<li>Initial release</li>
|
|
</ul>
|
|
""")
|
|
}
|
|
|
|
tasks.withType<org.jetbrains.kotlin.gradle.tasks.KotlinCompile> {
|
|
kotlinOptions {
|
|
jvmTarget = "1.8"
|
|
}
|
|
}
|