-
Notifications
You must be signed in to change notification settings - Fork 2
/
Copy pathbuild.gradle.kts
53 lines (46 loc) · 1.09 KB
/
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
49
50
51
52
53
plugins {
id("java")
kotlin("jvm") version "2.0.20"
id("org.jetbrains.intellij.platform") version "2.0.1"
}
apply {
plugin("kotlin")
}
repositories {
maven("https://cache-redirector.jetbrains.com/intellij-dependencies")
maven("https://cache-redirector.jetbrains.com/maven-central")
intellijPlatform {
defaultRepositories()
jetbrainsRuntime()
}
}
dependencies {
intellijPlatform {
clion("2024.2")
jetbrainsRuntime()
instrumentationTools()
bundledPlugins("com.intellij.clion", "com.intellij.cidr.lang","com.intellij.cidr.base", "com.intellij.nativeDebug")
}
}
sourceSets {
main {
kotlin.srcDirs("src")
java.srcDirs("src", "gen")
resources.srcDirs("resources")
}
test {
kotlin.srcDirs("test")
resources.srcDirs("testData")
}
}
tasks {
// Set the JVM compatibility versions
withType<JavaCompile> {
sourceCompatibility = "17"
targetCompatibility = "17"
}
patchPluginXml {
sinceBuild.set("242")
untilBuild.set("242.*")
}
}