-
Notifications
You must be signed in to change notification settings - Fork 2
/
build.gradle
79 lines (66 loc) · 2.1 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
66
67
68
69
70
71
72
73
74
75
76
77
78
plugins {
id 'java-library'
id 'maven-publish'
}
import org.gradle.api.tasks.testing.logging.TestExceptionFormat
import org.gradle.api.tasks.testing.logging.TestLogEvent
group = 'net.luckperms'
version = '0.1-SNAPSHOT'
java {
//toolchain {
// languageVersion = JavaLanguageVersion.of(11)
//}
sourceCompatibility = '1.8'
targetCompatibility = '1.8'
withJavadocJar()
withSourcesJar()
}
repositories {
mavenCentral()
}
test {
onlyIf { project.hasProperty('dockerTests') }
useJUnitPlatform()
testLogging {
events = [TestLogEvent.PASSED, TestLogEvent.FAILED, TestLogEvent.SKIPPED]
exceptionFormat = TestExceptionFormat.FULL
showExceptions = true
showCauses = true
showStackTraces = true
}
}
dependencies {
api 'com.squareup.retrofit2:retrofit:2.9.0'
implementation 'com.squareup.retrofit2:converter-gson:2.9.0'
implementation 'com.squareup.okhttp3:okhttp:3.14.9'
implementation 'com.squareup.okio:okio:1.17.5'
implementation 'com.google.code.gson:gson:2.9.1'
implementation('com.launchdarkly:okhttp-eventsource:4.1.1') {
exclude(module: 'okhttp')
}
testImplementation 'org.junit.jupiter:junit-jupiter-api:5.9.1'
testImplementation 'org.junit.jupiter:junit-jupiter-engine:5.9.1'
testImplementation 'org.junit.jupiter:junit-jupiter-params:5.9.1'
testImplementation 'org.testcontainers:junit-jupiter:1.20.1'
testImplementation 'org.mockito:mockito-core:4.11.0'
testImplementation 'org.mockito:mockito-junit-jupiter:4.11.0'
testImplementation 'org.awaitility:awaitility:4.2.0'
testImplementation 'org.slf4j:slf4j-simple:1.7.36'
testImplementation 'com.google.guava:guava:32.1.3-jre'
}
publishing {
//repositories {
// maven {
// url = 'https://oss.sonatype.org/content/repositories/snapshots'
// credentials {
// username = sonatypeUsername
// password = sonatypePassword
// }
// }
//}
publications {
mavenJava(MavenPublication) {
from components.java
}
}
}