-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathbuild.gradle
52 lines (39 loc) · 1000 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
plugins {
id 'java'
id 'antlr'
id 'org.jetbrains.kotlin.jvm' version '1.3.21'
// id 'kotlin2js' version '1.3.31'
}
group 'me.kdevo.ise.ti'
version '0.1.0-SNAPSHOT'
sourceCompatibility = 1.8
repositories {
mavenCentral()
}
/**
* TODO(kdevo): Test if the following workaround mentioned at https://github.com/gradle/gradle/issues/820 is needed:
*/
//configurations {
// compile {
// extendsFrom = extendsFrom.findAll { it != configurations.antlr }
// }
//}
dependencies {
antlr "org.antlr:antlr4:4.7.2"
implementation "org.jetbrains.kotlin:kotlin-stdlib-jdk8"
// compile "org.jetbrains.kotlin:kotlin-stdlib-js"
testCompile group: 'junit', name: 'junit', version: '4.12'
}
tasks.generateGrammarSource {
maxHeapSize = "256m"
arguments += ["-no-listener", "-visitor", "-long-messages"]
}
compileKotlin {
kotlinOptions.jvmTarget = "1.8"
}
compileTestKotlin {
kotlinOptions.jvmTarget = "1.8"
}
repositories {
mavenCentral()
}