-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathbuild.gradle
More file actions
56 lines (44 loc) · 1.29 KB
/
build.gradle
File metadata and controls
56 lines (44 loc) · 1.29 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
plugins {
id 'java-library'
}
ext {
POM_ARTIFACT_ID = 'auth0-api-java'
POM_NAME = 'auth0-api-java'
POM_DESCRIPTION = 'Auth0 Java API Library'
POM_PACKAGING = 'jar'
}
// Disable javadoc for this module (Java 8 target, internal API)
tasks.withType(Javadoc) {
enabled = false
}
apply from: rootProject.file('gradle/versioning.gradle')
group = GROUP
version = getVersionFromFile()
java {
sourceCompatibility = JavaVersion.VERSION_1_8
targetCompatibility = JavaVersion.VERSION_1_8
}
dependencies {
// Core dependencies
implementation 'com.fasterxml.jackson.core:jackson-databind:2.21.1'
implementation 'org.apache.httpcomponents:httpclient:4.5.14'
// JWT validation dependencies
implementation 'com.auth0:java-jwt:4.5.1'
implementation 'com.auth0:jwks-rsa:0.23.0'
// Test dependencies
testImplementation 'junit:junit:4.13.2'
testImplementation 'org.hamcrest:hamcrest:2.2'
testImplementation 'org.mockito:mockito-core:4.11.0'
testImplementation 'org.assertj:assertj-core:3.27.7'
}
repositories {
mavenCentral()
}
test {
useJUnit()
testLogging {
events "passed", "skipped", "failed"
}
}
logger.lifecycle("Using version ${version} for ${name} group ${group}")
apply from: rootProject.file('gradle/maven-publish.gradle')