| 1 | /* |
| 2 | * Copyright (c) 2023 Bayerische Motoren Werke Aktiengesellschaft (BMW AG) |
| 3 | * |
| 4 | * This program and the accompanying materials are made available under the |
| 5 | * terms of the Apache License, Version 2.0 which is available at |
| 6 | * https://www.apache.org/licenses/LICENSE-2.0 |
| 7 | * |
| 8 | * SPDX-License-Identifier: Apache-2.0 |
| 9 | * |
| 10 | * Contributors: |
| 11 | * Bayerische Motoren Werke Aktiengesellschaft (BMW AG) - initial API and implementation |
| 12 | * |
| 13 | */ |
| 14 | plugins { |
| 15 | `java-library` |
| 16 | `java-test-fixtures` |
| 17 | } |
| 18 | |
| 19 | dependencies { |
| 20 | implementation(project(":spi:common:jwt-spi")) |
| 21 | implementation(project(":spi:common:json-ld-spi")) |
| 22 | implementation(project(":extensions:common:json-ld")) |
| 23 | implementation(project(":core:common:lib:util-lib")) |
| 24 | implementation(project(":core:common:lib:crypto-common-lib")) |
| 25 | implementation(libs.nimbus.jwt) |
| 26 | // used for the Ed25519 Verifier in conjunction with OctetKeyPairs (OKP) |
| 27 | runtimeOnly(libs.tink) |
| 28 | implementation(libs.jakarta.json.api) |
| 29 | |
| 30 | api("com.apicatalog:iron-verifiable-credentials:0.14.0") { |
| 31 | exclude("com.github.multiformats") |
| 32 | } |
| 33 | |
| 34 | testImplementation(testFixtures(project(":core:common:junit"))) |
| 35 | testImplementation(project(":core:common:lib:json-ld-lib")) |
| 36 | testFixturesImplementation(testFixtures(project(":core:common:junit"))) |
| 37 | testFixturesImplementation(libs.nimbus.jwt) |
| 38 | testFixturesImplementation(project(":core:common:lib:json-ld-lib")) |
| 39 | } |