-
Notifications
You must be signed in to change notification settings - Fork 46
Expand file tree
/
Copy pathbuild.gradle
More file actions
76 lines (61 loc) · 1.63 KB
/
Copy pathbuild.gradle
File metadata and controls
76 lines (61 loc) · 1.63 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
68
69
70
71
72
73
74
75
76
plugins {
id 'java'
id 'java-library'
id 'jacoco'
id 'io.github.gradle-nexus.publish-plugin' version '2.0.0'
}
repositories {
mavenCentral()
}
apply from: rootProject.file('gradle/versioning.gradle')
version = getVersionFromFile()
group = GROUP
logger.lifecycle("Using version ${version} for ${name} group $group")
ext {
testInJavaVersions = [17, 21]
}
jacocoTestReport {
reports {
xml.required = true
html.required = true
}
}
java {
toolchain {
languageVersion = JavaLanguageVersion.of(17)
}
modularity.inferModulePath = true
}
compileJava {
sourceCompatibility '17'
targetCompatibility '17'
}
jar {
}
javadoc {
exclude 'module-info.java'
modularity.inferModulePath = false
}
test {
useJUnitPlatform()
testLogging {
events "skipped", "failed"
exceptionFormat "short"
}
}
dependencies {
implementation 'jakarta.servlet:jakarta.servlet-api:6.0.0'
implementation 'org.apache.commons:commons-lang3:3.20.0'
implementation 'com.google.guava:guava:32.0.1-jre'
implementation 'commons-codec:commons-codec:1.22.0'
api 'com.auth0:auth0:3.10.0'
api 'com.auth0:java-jwt:4.5.0'
api 'com.auth0:jwks-rsa:0.24.1'
testImplementation 'org.hamcrest:hamcrest:2.2'
testImplementation 'org.mockito:mockito-core:4.11.0'
testImplementation 'org.junit.jupiter:junit-jupiter:5.8.1'
testImplementation 'org.springframework:spring-test:6.0.14'
testImplementation 'org.springframework:spring-web:6.0.14'
testImplementation 'com.squareup.okhttp3:okhttp:4.12.0'
}
apply from: rootProject.file('gradle/maven-publish.gradle')