-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathbuild.gradle
More file actions
77 lines (66 loc) · 2.17 KB
/
build.gradle
File metadata and controls
77 lines (66 loc) · 2.17 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
77
plugins {
id 'java-library'
id "com.vanniktech.maven.publish" version "0.34.0"
}
group = 'com.propelauth'
version = '1.0.4'
java {
sourceCompatibility = JavaVersion.VERSION_11
targetCompatibility = JavaVersion.VERSION_11
}
repositories {
mavenCentral()
}
dependencies {
// Lombok for annotations
compileOnly 'org.projectlombok:lombok:1.18.38'
annotationProcessor 'org.projectlombok:lombok:1.18.38'
// Jackson for JSON serialization/deserialization
implementation 'com.fasterxml.jackson.core:jackson-databind:2.19.2'
implementation 'com.fasterxml.jackson.core:jackson-annotations:2.19.2'
implementation 'com.fasterxml.jackson.core:jackson-core:2.19.2'
// Testing dependencies
testImplementation 'org.junit.jupiter:junit-jupiter:5.13.4'
testImplementation 'org.mockito:mockito-core:5.19.0'
testImplementation 'org.mockito:mockito-junit-jupiter:5.19.0'
testRuntimeOnly 'org.junit.platform:junit-platform-launcher'
}
tasks.named('test') {
useJUnitPlatform()
}
// Disable strict javadoc checking for generated code
javadoc {
options.addStringOption('Xdoclint:none', '-quiet')
options.encoding = 'UTF-8'
options.charSet = 'UTF-8'
}
mavenPublishing {
publishToMavenCentral()
signAllPublications()
}
mavenPublishing {
coordinates("com.propelauth", "propelauth-byo", project.version.toString())
pom {
name = 'PropelAuth BYO'
description = 'Java client library for PropelAuth Bring Your Own (BYO) authentication.'
url = 'https://byo.propelauth.com/'
licenses {
license {
name = 'MIT License'
url = 'https://opensource.org/licenses/MIT'
}
}
developers {
developer {
id = 'propelauth'
name = 'PropelAuth'
email = 'support@propelauth.com'
}
}
scm {
connection = 'scm:git:git://github.com/PropelAuth/propelauth-byo-java.git'
developerConnection = 'scm:git:ssh://github.com:PropelAuth/propelauth-byo-java.git'
url = 'https://github.com/PropelAuth/propelauth-byo-java'
}
}
}