forked from JetBrains/intellij-sdk-code-samples
-
Notifications
You must be signed in to change notification settings - Fork 0
/
build.gradle.kts
48 lines (39 loc) · 865 Bytes
/
build.gradle.kts
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
// 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.14.1"
}
group = "org.intellij.sdk"
version = "2.0.0"
repositories {
mavenCentral()
}
// Include the generated files in the source set
sourceSets {
main {
java {
srcDirs("src/main/gen")
}
}
}
dependencies {
testImplementation("junit:junit:4.13.2")
}
java {
sourceCompatibility = JavaVersion.VERSION_17
}
// See https://plugins.jetbrains.com/docs/intellij/tools-gradle-intellij-plugin.html
intellij {
version.set("2022.2.5")
plugins.set(listOf("com.intellij.java"))
}
tasks {
buildSearchableOptions {
enabled = false
}
patchPluginXml {
version.set("${project.version}")
sinceBuild.set("222")
untilBuild.set("231.*")
}
}