-
Notifications
You must be signed in to change notification settings - Fork 14
/
Copy pathbuild.gradle
92 lines (69 loc) · 1.81 KB
/
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
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
buildscript {
repositories {
jcenter()
maven { url 'https://jitpack.io' }
}
dependencies {
classpath "org.jetbrains.kotlin:kotlin-gradle-plugin:$kotlin_version"
}
}
plugins {
id 'org.jetbrains.intellij' version '0.7.3'
id 'net.researchgate.release' version '2.8.1'
id "org.jetbrains.kotlin.jvm" version "$kotlin_version"
id "idea"
}
group pluginGroup
version pluginVersion
repositories {
jcenter()
}
apply plugin: 'java'
apply plugin: 'kotlin'
apply plugin: 'org.jetbrains.intellij'
apply plugin: 'idea'
sourceSets {
main.java.srcDirs = ['src']
main.resources.srcDirs = ['resources']
}
dependencies {
compile "org.jetbrains.kotlin:kotlin-stdlib:$kotlin_version"
compile "org.jetbrains.kotlin:kotlin-reflect:$kotlin_version"
testCompile group: 'junit', name: 'junit', version: '4.11'
}
sourceCompatibility = javaVersion
targetCompatibility = javaVersion
idea {
project {
jdkName = javaVersion
languageLevel = javaVersion
}
}
compileKotlin {
kotlinOptions.jvmTarget = javaVersion
}
compileTestKotlin {
kotlinOptions.jvmTarget = javaVersion
}
intellij {
pluginName pluginName
version = ideaVersion
type = ideaType
plugins = ['JavaScriptLanguage', 'JavaScriptDebugger', 'NodeJS']
downloadSources Boolean.valueOf(sources)
updateSinceUntilBuild = false
}
runIde {
systemProperty("idea.auto.reload.plugins", true)
ideDirectory "C:\\Users\\User\\AppData\\Local\\JetBrains\\Toolbox\\apps\\WebStorm\\ch-2\\213.5744.224"
// ideDirectory "../../.local/share/JetBrains/Toolbox/apps/WebStorm/ch-0/201.8538.32/"
// ideDirectory "V:/AppData/Local/JetBrains/Toolbox/apps/IDEA-U/ch-0/213.4631.20"
jvmArgs '-Xmx2G'
}
buildPlugin {
}
verifyPlugin {
}
patchPluginXml {
version = project.version
}