-
Notifications
You must be signed in to change notification settings - Fork 0
/
build.gradle
62 lines (50 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
apply plugin: 'kotlin'
apply plugin: 'application'
apply plugin: 'jacoco'
repositories {
jcenter()
maven { url 'https://jitpack.io' }
}
dependencies {
// Kotlin
compile "org.jetbrains.kotlin:kotlin-stdlib:$kotlin_version"
compile 'com.github.salomonbrys.kodein:kodein:3.2.0'
compile 'com.github.salomonbrys.kodein:kodein-conf:3.2.0'
// Utils
compile 'org.slf4j:slf4j-api:1.7.21'
compile 'org.slf4j:slf4j-simple:1.7.21'
compile 'com.google.guava:guava:20.0'
compile 'com.fasterxml.jackson.core:jackson-core:2.8.4'
compile 'com.fasterxml.jackson.core:jackson-annotations:2.8.4'
compile 'com.fasterxml.jackson.core:jackson-databind:2.8.4'
compile 'com.fasterxml.jackson.module:jackson-module-kotlin:2.8.4'
compile 'com.github.zafarkhaja:java-semver:0.9.0'
// Framework
compile 'no.tornado:tornadofx:1.7.3'
// Test
testCompile 'junit:junit:4.12'
testCompile "org.mockito:mockito-core:2.+"
testCompile 'com.nhaarman:mockito-kotlin:1.2.0'
}
task stage(dependsOn: ['clean', 'build', 'installDist'])
build.mustRunAfter clean
buildscript {
ext.kotlin_version = '1.1.2-2'
repositories {
mavenCentral()
}
dependencies {
classpath "org.jetbrains.kotlin:kotlin-gradle-plugin:$kotlin_version"
}
}
sourceSets {
main.java.srcDirs += 'src/main/kotlin'
}
//noinspection GroovyUnusedAssignment
mainClassName = 'org.github.mbarberot.mtg.grimoire.app.DesktopAppKt'
jacocoTestReport {
reports {
xml.enabled true
csv.enabled true
}
}