-
Notifications
You must be signed in to change notification settings - Fork 2
/
build.gradle
53 lines (39 loc) · 957 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
46
47
48
49
50
51
52
plugins {
id "org.jetbrains.intellij" version "0.0.39"
}
apply plugin: 'java'
def ideaPlatformDir = "./intellij-platform"
def junitLibDir = "plugins/junit/lib"
repositories {
mavenCentral()
}
configurations {
provided
}
dependencies {
compile 'com.google.code.gson:gson:2.3'
compile ('org.reflections:reflections:0.9.9') {
// this guava conflicts with intellij
exclude group: 'com.google.guava'
}
testCompile 'org.assertj:assertj-core:1.7.0'
testCompile 'org.mockito:mockito-all:1.9.5'
}
test {
jvmArgs '-XX:MaxPermSize=256m'
}
intellij {
version ideaVersion
pluginName 'IntelliVim'
updateSinceUntilBuild false
downloadSources Boolean.valueOf(downloadIdeaSources)
plugins 'junit'
}
afterEvaluate {
tasks.getByName('buildPlugin') {
archiveName = "$intellij.pluginName-$version-${buildNumber}.zip"
}
}
task wrapper(type: Wrapper) {
gradleVersion = '2.4'
}