mirror of
https://github.com/JetBrains/intellij-sdk-code-samples.git
synced 2025-07-27 16:57:49 +08:00
43 lines
807 B
Groovy
43 lines
807 B
Groovy
// Copyright 2000-2022 JetBrains s.r.o. and other contributors. Use of this source code is governed by the Apache 2.0 license that can be found in the LICENSE file.
|
|
|
|
plugins {
|
|
id 'java'
|
|
id 'org.jetbrains.intellij' version '1.3.0'
|
|
id 'org.jetbrains.kotlin.jvm' version '1.6.10'
|
|
}
|
|
|
|
group 'org.intellij.sdk'
|
|
version '2.0.0'
|
|
|
|
sourceCompatibility = 11
|
|
|
|
repositories {
|
|
mavenCentral()
|
|
}
|
|
|
|
dependencies {
|
|
implementation "org.jetbrains.kotlin:kotlin-stdlib-jdk8"
|
|
}
|
|
|
|
// See https://github.com/JetBrains/gradle-intellij-plugin/
|
|
intellij {
|
|
version = '2021.1.3'
|
|
}
|
|
|
|
buildSearchableOptions {
|
|
enabled = false
|
|
}
|
|
|
|
patchPluginXml {
|
|
version = project.version
|
|
sinceBuild = '211'
|
|
untilBuild = '213.*'
|
|
}
|
|
|
|
compileKotlin {
|
|
kotlinOptions.jvmTarget = "11"
|
|
}
|
|
compileTestKotlin {
|
|
kotlinOptions.jvmTarget = "11"
|
|
}
|