-
Notifications
You must be signed in to change notification settings - Fork 1
/
build.gradle.kts
59 lines (49 loc) · 1.12 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
54
55
56
57
58
59
plugins {
id("java")
id("groovy")
id("org.jetbrains.kotlin.jvm") version "1.8.20"
id("org.jetbrains.intellij") version "1.13.3"
}
group = "com.github.lppedd"
version = "0.1.0"
repositories {
mavenCentral()
}
intellij {
version.set("231.8109.175")
type.set("IC")
downloadSources.set(true)
pluginName.set("idea-jenkins-pipeline")
plugins.set(listOf("java", "Groovy" /* Direct dependencies */))
}
dependencies {
// Must be the same as the one used by the IntelliJ development instance
compileOnly("org.codehaus.groovy:groovy-all:3.0.13")
}
tasks {
wrapper {
distributionType = Wrapper.DistributionType.ALL
}
compileGroovy {
destinationDirectory.set(file("build/resources/main/groovy/classes"))
sourceCompatibility = "1.8"
targetCompatibility = "1.8"
}
compileJava {
sourceCompatibility = "17"
targetCompatibility = "17"
}
compileKotlin {
kotlinOptions.jvmTarget = "17"
}
patchPluginXml {
version.set(project.version.toString())
sinceBuild.set("231")
untilBuild.set("232.*")
}
runPluginVerifier {
ideVersions.set(listOf(
"IC-2023.1",
))
}
}