-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathbuild.gradle.kts
More file actions
56 lines (45 loc) · 1.59 KB
/
build.gradle.kts
File metadata and controls
56 lines (45 loc) · 1.59 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 {
`java-library`
`maven-publish`
}
group = "work.brodykim"
version = "0.1.0"
repositories {
mavenCentral()
}
dependencies {
// Jackson for CredentialSigner (ObjectMapper)
implementation("com.fasterxml.jackson.core:jackson-databind:2.18.4")
// Ed25519 signing (OB v3) — exposed for consumers needing key operations
api("com.nimbusds:nimbus-jose-jwt:10.7")
api("com.google.crypto.tink:tink:1.20.0")
// Titanium JSON-LD 1.1 processor for JSON-LD expansion and toRdf conversion
api("com.apicatalog:titanium-json-ld:1.7.0")
// Jakarta JSON Processing provider (required by Titanium JSON-LD)
implementation("org.eclipse.parsson:parsson:1.1.7")
// RDF4J for RDF model representation and N-Quads I/O
implementation("org.eclipse.rdf4j:rdf4j-model:5.2.2")
implementation("org.eclipse.rdf4j:rdf4j-rio-nquads:5.2.2")
// URDNA2015 (RDFC-1.0) RDF Dataset Canonicalization using Titanium RDF model
implementation("io.setl:rdf-urdna:1.4") {
// Exclude jre8 variant — we use the Jakarta variant (titanium-json-ld)
exclude(group = "com.apicatalog", module = "titanium-json-ld-jre8")
}
// Test — pure JUnit 5, no Spring
testImplementation("org.junit.jupiter:junit-jupiter:5.11.4")
testRuntimeOnly("org.junit.platform:junit-platform-launcher")
}
publishing {
publications {
create<MavenPublication>("maven") {
from(components["java"])
}
}
}
tasks.withType<JavaCompile> {
options.release = 17
options.compilerArgs.add("-parameters")
}
tasks.withType<Test> {
useJUnitPlatform()
}