-
Notifications
You must be signed in to change notification settings - Fork 39
Expand file tree
/
Copy pathbuild.gradle
More file actions
67 lines (54 loc) · 1.24 KB
/
build.gradle
File metadata and controls
67 lines (54 loc) · 1.24 KB
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
63
64
65
66
67
plugins {
id 'java'
id 'java-library'
id 'maven-publish'
id 'jacoco'
id "org.sonarqube" version "4.0.0.2929"
}
group = 'com.github.crazzyghost'
version '1.7.0'
publishing {
publications {
mavenJava(MavenPublication) {
from components.java
}
}
}
tasks.jar {
manifest {
attributes(
"Automatic-Module-Name": "com.github.crazzyghost.alphavantage"
)
}
}
sourceCompatibility = 1.8
repositories {
mavenCentral()
}
jacoco {
toolVersion = "0.8.13"
}
jacocoTestReport {
dependsOn test
reports {
xml.required = true
html.required = true
}
}
test {
finalizedBy jacocoTestReport
}
sonar {
properties {
property "sonar.projectKey", "crazzyghost_alphavantage-java"
property "sonar.organization", "crazzyghost"
property "sonar.host.url", "https://sonarcloud.io"
}
}
dependencies {
testImplementation group: 'junit', name: 'junit', version: '4.13.1'
testImplementation 'com.github.gmazzo.okhttp.mock:mock-client:2.1.0'
testImplementation 'com.squareup.okhttp3:logging-interceptor:4.5.0'
implementation 'com.squareup.okhttp3:okhttp:4.12.0'
implementation 'com.squareup.moshi:moshi:1.9.2'
}