-
Notifications
You must be signed in to change notification settings - Fork 3
/
Copy pathbuild.gradle
49 lines (40 loc) · 1.01 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
group 'com.github.marcospereira'
version '1.0-SNAPSHOT'
buildscript {
ext.kotlin_version = '1.0.1-2'
ext.dokka_version = '0.9.7'
repositories {
jcenter()
mavenCentral()
}
dependencies {
classpath "org.jetbrains.kotlin:kotlin-gradle-plugin:$kotlin_version"
classpath "org.jetbrains.dokka:dokka-gradle-plugin:${dokka_version}"
}
}
apply plugin: "kotlin"
apply plugin: 'application'
apply plugin: 'org.jetbrains.dokka'
apply plugin: "jacoco"
defaultTasks 'run'
mainClassName = 'com.github.marcospereira.DayRunner'
dependencies {
compile "org.jetbrains.kotlin:kotlin-stdlib:$kotlin_version"
compile "org.jetbrains.kotlin:kotlin-test:$kotlin_version"
compile 'commons-codec:commons-codec:1.10'
testCompile 'org.jetbrains.spek:spek:0.1.199'
}
repositories {
mavenCentral()
maven {
url "http://repository.jetbrains.com/all/"
}
}
jacoco {
toolVersion = "0.7.6.201602180812"
}
jacocoTestReport {
reports {
xml.enabled true
}
}