| 1 | /* |
| 2 | * Copyright (c) 2020 - 2022 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 | */ |
| 15 | plugins { |
| 16 | `java-library` |
| 17 | id(libs.plugins.swagger.get().pluginId) |
| 18 | } |
| 19 | |
| 20 | dependencies { |
| 21 | api(project(":spi:control-plane:control-plane-spi")) |
| 22 | |
| 23 | implementation(project(":core:common:lib:validator-lib")) |
| 24 | implementation(project(":extensions:common:api:api-core")) |
| 25 | implementation(project(":extensions:common:api:lib:management-api-lib")) |
| 26 | |
| 27 | implementation(libs.jakarta.rsApi) |
| 28 | |
| 29 | testImplementation(project(":core:common:junit")) |
| 30 | testImplementation(project(":core:common:lib:transform-lib")) |
| 31 | testImplementation(project(":core:control-plane:control-plane-core")) |
| 32 | testImplementation(project(":core:data-plane-selector:data-plane-selector-core")) |
| 33 | testImplementation(project(":extensions:common:http")) |
| 34 | testImplementation(project(":extensions:common:iam:iam-mock")) |
| 35 | testImplementation(testFixtures(project(":extensions:common:http:jersey-core"))) |
| 36 | testImplementation(libs.restAssured) |
| 37 | } |
| 38 | |
| 39 | edcBuild { |
| 40 | swagger { |
| 41 | apiGroup.set("management-api") |
| 42 | } |
| 43 | } |
| 44 | |
| 45 | |