-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathbuild.gradle
62 lines (52 loc) · 1.15 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
group 'io.hypesquad'
version '1.0-SNAPSHOT'
buildscript {
repositories {
mavenCentral()
jcenter()
}
dependencies {
}
}
apply plugin: 'java'
apply plugin: 'jacoco'
jacoco {
toolVersion = "0.7.9"
}
jacocoTestReport {
reports {
xml.enabled true
csv.enabled false
}
}
sourceCompatibility = 1.8
repositories {
mavenCentral()
jcenter()
maven {
url "https://jitpack.io"
}
}
dependencies {
compile "com.github.austinv11:Discord4j:master-SNAPSHOT"
compile "org.slf4j:slf4j-simple:1.6.1"
testCompile group: 'junit', name: 'junit', version: '4.12'
}
configurations { codacy }
repositories {
maven { url "https://jitpack.io" }
maven { url "http://dl.bintray.com/typesafe/maven-releases" }
}
dependencies {
codacy 'com.github.codacy:codacy-coverage-reporter:-SNAPSHOT'
}
task sendCoverageToCodacy(type: JavaExec, dependsOn: jacocoTestReport) {
main = "com.codacy.CodacyCoverageReporter"
classpath = configurations.codacy
args = [
"-l",
"Java",
"-r",
"${buildDir}/reports/jacoco/test/jacocoTestReport.xml"
]
}