-
Notifications
You must be signed in to change notification settings - Fork 3
/
build.gradle.kts
63 lines (53 loc) · 1.32 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
60
61
62
63
plugins {
id("java")
id("org.jetbrains.kotlin.jvm") version "1.9.25"
id("org.jetbrains.intellij.platform") version "2.1.0"
}
group = "im.simo.rubymine.sorbetlsp"
version = providers.gradleProperty("pluginVersion").get()
kotlin {
jvmToolchain(21)
}
repositories {
mavenCentral()
intellijPlatform {
defaultRepositories()
}
}
dependencies {
intellijPlatform {
rubymine("2024.2")
bundledPlugin("org.jetbrains.plugins.ruby")
instrumentationTools()
pluginVerifier()
zipSigner()
}
}
intellijPlatform {
pluginConfiguration {
version = providers.gradleProperty("pluginVersion").get()
ideaVersion {
sinceBuild = "242"
// no max build. see https://plugins.jetbrains.com/docs/intellij/tools-intellij-platform-gradle-plugin-tasks.html#patchPluginXml-untilBuild
untilBuild = provider { null }
}
}
signing {
privateKey = providers.environmentVariable("PRIVATE_KEY").orNull
password = providers.environmentVariable("PRIVATE_KEY_PASSWORD").orNull
certificateChain = providers.environmentVariable("CERTIFICATE_CHAIN").orNull
}
publishing {
token = providers.environmentVariable("PUBLISH_TOKEN").orNull
}
pluginVerification {
ides {
recommended()
}
}
}
tasks {
wrapper {
gradleVersion = providers.gradleProperty("gradleVersion").get()
}
}