mirror of
https://github.com/JetBrains/intellij-sdk-code-samples.git
synced 2025-07-28 01:07:49 +08:00
44 lines
806 B
Plaintext
44 lines
806 B
Plaintext
// Copyright 2000-2023 JetBrains s.r.o. and contributors. Use of this source code is governed by the Apache 2.0 license.
|
|
|
|
plugins {
|
|
id("java")
|
|
id("org.jetbrains.intellij") version "1.17.3"
|
|
id("org.jetbrains.kotlin.jvm") version "1.9.24"
|
|
}
|
|
|
|
group = "org.intellij.sdk"
|
|
version = "2.0.0"
|
|
|
|
repositories {
|
|
mavenCentral()
|
|
}
|
|
|
|
java {
|
|
sourceCompatibility = JavaVersion.VERSION_17
|
|
}
|
|
|
|
// See https://plugins.jetbrains.com/docs/intellij/tools-gradle-intellij-plugin.html
|
|
intellij {
|
|
version.set("2023.2.6")
|
|
}
|
|
|
|
tasks {
|
|
buildSearchableOptions {
|
|
enabled = false
|
|
}
|
|
|
|
patchPluginXml {
|
|
version.set("${project.version}")
|
|
sinceBuild.set("232")
|
|
untilBuild.set("241.*")
|
|
}
|
|
|
|
compileKotlin {
|
|
kotlinOptions.jvmTarget = "17"
|
|
}
|
|
|
|
compileTestKotlin {
|
|
kotlinOptions.jvmTarget = "17"
|
|
}
|
|
}
|