-
Notifications
You must be signed in to change notification settings - Fork 0
/
build.gradle
64 lines (54 loc) · 1.54 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
buildscript {
ext.spek_version = '1.1.5'
}
plugins {
id 'org.jetbrains.kotlin.jvm' version '1.2.51'
id 'com.devsoap.vaadin-flow' version '1.0.0.M3'
id 'org.gretty' version "2.2.0"
id 'war'
}
group 'idea-generated'
version '1.0-SNAPSHOT'
node { //expect NodeJS is already installed globally
download = false
}
repositories {
jcenter()
vaadin.repositories()
maven { url 'https://dl.bintray.com/mvysny/vaadin-on-kotlin' }
maven { url "https://dl.bintray.com/mvysny/github" }
maven { url "http://dl.bintray.com/jetbrains/spek" }
}
gretty {
contextPath = ''
}
dependencies {
implementation 'org.jetbrains.kotlin:kotlin-stdlib-jdk8'
implementation 'com.github.vok.karibudsl:karibu-dsl-v10:0.4.6'
implementation 'org.slf4j:slf4j-api:1.7.25'
implementation 'ch.qos.logback:logback-classic:1.2.3'
providedCompile 'javax.servlet:javax.servlet-api:3.1.0'
}
test {
useJUnitPlatform {
includeEngines 'spek'
}
}
dependencies {
testImplementation 'org.jetbrains.kotlin:kotlin-test'
testImplementation 'org.jetbrains.kotlin:kotlin-reflect'
testImplementation "org.jetbrains.spek:spek-api:$spek_version"
testImplementation "org.jetbrains.spek:spek-junit-platform-engine:$spek_version"
testImplementation 'org.junit.platform:junit-platform-engine:1.2.0'
testImplementation 'com.github.kaributesting:karibu-testing-v10:0.4.15'
}
compileKotlin {
kotlinOptions {
jvmTarget = "1.8"
}
}
compileTestKotlin {
kotlinOptions {
jvmTarget = "1.8"
}
}