-
Notifications
You must be signed in to change notification settings - Fork 35
/
build.gradle
65 lines (52 loc) · 1.2 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
63
64
65
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()
jcenter()
}
jacoco {
toolVersion = "0.8.5"
}
jacocoTestReport {
reports {
xml.enabled true
html.enabled true
}
}
test.finalizedBy jacocoTestReport
sonarqube {
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.12'
testImplementation 'com.github.gmazzo:okhttp-mock:1.3.2'
testImplementation 'com.squareup.okhttp3:logging-interceptor:4.5.0'
implementation 'com.squareup.okhttp3:okhttp:4.5.0'
implementation 'com.squareup.moshi:moshi:1.9.2'
}