forked from tomblachut/svelte-intellij
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathbuild.gradle
46 lines (37 loc) · 874 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
plugins {
id 'java'
id "org.jetbrains.kotlin.jvm" version "1.3.21"
id 'org.jetbrains.intellij' version '0.4.8'
}
apply plugin: "kotlin"
group 'dev.blachut.svelte.lang'
version '0.12.1'
// See https://github.com/JetBrains/gradle-intellij-plugin/
intellij {
version 'IU-LATEST-EAP-SNAPSHOT'
plugins = ['JavaScriptLanguage', 'CSS', 'PsiViewer:201.3803.71-EAP-SNAPSHOT.1']
}
patchPluginXml {
sinceBuild '192'
untilBuild '211'
}
sourceCompatibility = 1.8
repositories {
mavenCentral()
}
dependencies {
testCompile group: 'junit', name: 'junit', version: '4.12'
}
sourceSets {
main {
java.srcDirs = ['src/main/java', 'src/main/gen']
}
test {
java.srcDirs = ['src/test/java']
}
}
tasks.withType(org.jetbrains.kotlin.gradle.tasks.KotlinCompile).all {
kotlinOptions {
jvmTarget = "1.8"
}
}