/
build.gradle
49 lines (38 loc) · 860 Bytes
/
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
apply plugin: 'java'
apply plugin: 'jacoco'
apply plugin: 'application'
apply plugin: 'com.github.johnrengelman.shadow'
mainClassName = 'com.chip8java.emulator.runner.Runner'
group = 'com.chip8java'
version = '1.0.1'
description = 'A Chip 8 emulator'
sourceCompatibility = 1.8
repositories {
jcenter()
mavenCentral()
}
dependencies {
compile 'com.beust:jcommander:1.72'
compile 'commons-io:commons-io:2.6'
testCompile 'org.mockito:mockito-core:2.+'
testCompile 'junit:junit:4.12'
}
buildscript {
repositories {
jcenter()
mavenCentral()
}
dependencies {
classpath 'com.github.jengelman.gradle.plugins:shadow:5.1.0'
}
}
jacocoTestReport {
reports {
xml.enabled = true
html.enabled = true
}
}
task stage {
dependsOn shadowJar
}
check.dependsOn jacocoTestReport