-
Notifications
You must be signed in to change notification settings - Fork 5
/
build.gradle.kts
50 lines (41 loc) · 1.03 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
plugins {
id("java")
id("org.jetbrains.intellij.platform") version "2.0.1"
}
group = "net.labymod.intellij"
repositories {
mavenCentral()
intellijPlatform {
releases()
marketplace()
defaultRepositories()
}
}
// Configure Gradle IntelliJ Plugin
intellijPlatform {
pluginConfiguration {
name = "Single Hotswap"
ideaVersion {
sinceBuild = "203"
untilBuild = provider { null }
}
}
}
dependencies {
intellijPlatform {
intellijIdeaCommunity("2024.2.0.2")
// https://plugins.jetbrains.com/docs/intellij/plugin-dependencies.html#bundled-and-other-plugins
bundledPlugin("com.intellij.java")
bundledPlugin("org.jetbrains.kotlin")
bundledPlugin("org.intellij.groovy")
bundledPlugin("com.intellij.properties")
instrumentationTools()
}
}
tasks {
// Set the JVM compatibility versions
withType<JavaCompile> {
sourceCompatibility = "11"
targetCompatibility = "11"
}
}