-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathbuild.gradle
58 lines (48 loc) · 1.41 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
group 'fr.hadrienmp'
version '1.0-SNAPSHOT'
buildscript {
ext.kotlin_version = '1.1.4-3'
repositories {
mavenCentral()
}
dependencies {
classpath "org.jetbrains.kotlin:kotlin-gradle-plugin:$kotlin_version"
}
}
apply plugin: 'kotlin'
apply plugin: 'jacoco'
apply plugin: 'application'
mainClassName = "fr.hadrienmp.random_estimates.MainKt"
repositories {
mavenCentral()
}
dependencies {
compile "org.jetbrains.kotlin:kotlin-stdlib-jre8:$kotlin_version"
compile 'io.javalin:javalin:0.4.2'
compile group: 'org.slf4j', name: 'slf4j-simple', version: '1.7.25'
compile 'com.google.code.gson:gson:2.8.2'
compile 'org.thymeleaf:thymeleaf:3.0.9.RELEASE'
testCompile 'junit:junit:4.12'
testCompile 'org.assertj:assertj-core:3.4.1'
testCompile 'org.mockito:mockito-core:1.10.19'
testCompile 'com.pholser:junit-quickcheck:0.6'
testCompile 'com.pholser:junit-quickcheck-core:0.6'
testCompile 'com.pholser:junit-quickcheck-generators:0.6'
testCompile 'com.jcabi:jcabi-http:1.17.1'
testCompile 'com.sun.jersey:jersey-client:1.19'
testCompile 'pl.pragmatists:JUnitParams:1.1.1'
}
task stage(dependsOn: ['installDist'])
compileKotlin {
kotlinOptions.jvmTarget = "1.8"
}
compileTestKotlin {
kotlinOptions.jvmTarget = "1.8"
}
jacocoTestReport {
reports {
xml.enabled true
html.enabled false
}
}
check.dependsOn jacocoTestReport