-
Notifications
You must be signed in to change notification settings - Fork 2
/
Copy pathbuild.gradle
77 lines (63 loc) · 2.24 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
65
66
67
68
69
70
71
72
73
74
75
76
77
group 'quizzy'
version '1.0-SNAPSHOT'
buildscript {
ext.spring_boot_version = '2.1.2.RELEASE'
ext.kotlin_version = '1.2.61'
ext.fluentlenium_version = '3.5.2'
ext.mockito_kotlin_version = '1.6.0'
ext.thymeleaf_layout_version = '2.0.5'
repositories {
mavenCentral()
}
dependencies {
classpath "org.springframework.boot:spring-boot-gradle-plugin:$spring_boot_version"
classpath "org.jetbrains.kotlin:kotlin-gradle-plugin:$kotlin_version"
classpath "org.jetbrains.kotlin:kotlin-allopen:$kotlin_version"
}
}
apply plugin: 'kotlin'
apply plugin: 'kotlin-spring'
apply plugin: 'org.springframework.boot'
apply plugin: 'io.spring.dependency-management'
repositories {
mavenCentral()
}
ext['mockito.version'] = '2.23.4'
ext['selenium.version'] = '3.9.1'
ext['htmlunit.version'] = '2.28'
ext['selenium-htmlunit.version'] = '2.28.5'
dependencies {
compile "org.jetbrains.kotlin:kotlin-stdlib-jdk8"
compile "org.jetbrains.kotlin:kotlin-reflect"
compile 'org.springframework.boot:spring-boot-starter-jdbc'
compile 'org.springframework.boot:spring-boot-starter-web'
compile 'org.springframework.boot:spring-boot-starter-security'
compile 'org.springframework.boot:spring-boot-starter-mail'
compile 'org.springframework.boot:spring-boot-devtools'
compile 'org.springframework.boot:spring-boot-starter-thymeleaf'
compile "nz.net.ultraq.thymeleaf:thymeleaf-layout-dialect:$thymeleaf_layout_version"
runtime 'org.postgresql:postgresql'
runtime 'org.flywaydb:flyway-core'
testCompile 'org.springframework.boot:spring-boot-starter-test'
testCompile 'org.seleniumhq.selenium:htmlunit-driver'
testCompile 'net.sourceforge.htmlunit:htmlunit'
testCompile "org.fluentlenium:fluentlenium-junit:$fluentlenium_version"
testCompile "org.fluentlenium:fluentlenium-assertj:$fluentlenium_version"
testCompile "com.nhaarman:mockito-kotlin:$mockito_kotlin_version"
}
sourceCompatibility = 1.8
compileKotlin {
kotlinOptions {
freeCompilerArgs = ["-Xjsr305=strict"]
jvmTarget = "1.8"
}
}
compileTestKotlin {
kotlinOptions {
freeCompilerArgs = ["-Xjsr305=strict"]
jvmTarget = "1.8"
}
}
wrapper {
gradleVersion = '5.1.1'
}