-
Notifications
You must be signed in to change notification settings - Fork 10
/
Copy pathbuild.gradle
45 lines (40 loc) · 954 Bytes
/
build.gradle
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
plugins {
id("org.jetbrains.intellij.platform") version "2.3.0"
id 'org.jetbrains.kotlin.jvm' version '2.0.20'
}
repositories {
// maven { url = uri("https://www.jetbrains.com/intellij-repository/snapshots") }
mavenCentral()
intellijPlatform {
defaultRepositories()
snapshots()
}
}
dependencies {
intellijPlatform {
webstorm("251.22821.57")
bundledPlugin("JavaScript")
}
}
intellijPlatform {
pluginConfiguration {
version = "1.4.251"
}
patchPluginXml {
sinceBuild = "251.0"
untilBuild = "251.*"
}
}
// js packing
project.afterEvaluate {
prepareSandbox.doLast {
def libraries = "$it.destinationDir/import-cost/lib/"
copy {
from "$project.projectDir/javascript"
into libraries
}
}
}
//runIde {
// jvmArgs = ["-Didea.javascript.language.service.debug.options.importcost=--inspect=9229"]
//}