blob: 72eb6baf514350cd8e3e1bbd36908a55361fcad5 (
plain)
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
|
import javax.tools.ToolProvider
buildscript {
dependencies {
classpath "org.jetbrains.kotlin:kotlin-gradle-plugin:$kotlin_version"
}
}
apply plugin: 'kotlin'
sourceCompatibility = 1.5
configurations {
provided
}
tasks.withType(AbstractCompile) {
classpath += configurations.provided
}
tasks.withType(Test) {
classpath += configurations.provided
}
dependencies {
compile group: 'org.jetbrains.kotlin', name: 'kotlin-runtime', version: kotlin_version
compile group: 'org.jetbrains.kotlin', name: 'kotlin-reflect', version: kotlin_version
compile group: 'com.google.inject', name: 'guice', version: '3.0'
compile "org.jsoup:jsoup:1.8.3"
compile files("../lib/intellij-core-analysis.jar")
compile files("../lib/kotlin-compiler.jar")
compile files("../lib/kotlin-script-runtime.jar")
compile files("../lib/kotlin-ide-common.jar")
compile files("../lib/markdown.jar")
compile files("../lib/picocontainer.jar")
runtime "org.fusesource.jansi:jansi:1.11"
runtime files("../lib/trove4j.jar")
runtime files("../lib/jdom.jar")
runtime files("../lib/protobuf-2.5.0-lite.jar")
runtime files("../lib/asm-all.jar")
runtime files("../lib/jps-model.jar")
//tools.jar
provided files(((URLClassLoader) ToolProvider.getSystemToolClassLoader()).getURLs().findAll { it.path.endsWith("jar") })
testCompile group: 'junit', name: 'junit', version: '4.12'
testCompile group: 'org.jetbrains.kotlin', name: 'kotlin-test-junit', version: kotlin_version
}
|