|
| 1 | +/* |
| 2 | + * Copyright (C) 2025 The ORT Server Authors (See <https://github.com/eclipse-apoapsis/ort-server/blob/main/NOTICE>) |
| 3 | + * |
| 4 | + * Licensed under the Apache License, Version 2.0 (the "License"); |
| 5 | + * you may not use this file except in compliance with the License. |
| 6 | + * You may obtain a copy of the License at |
| 7 | + * |
| 8 | + * https://www.apache.org/licenses/LICENSE-2.0 |
| 9 | + * |
| 10 | + * Unless required by applicable law or agreed to in writing, software |
| 11 | + * distributed under the License is distributed on an "AS IS" BASIS, |
| 12 | + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. |
| 13 | + * See the License for the specific language governing permissions and |
| 14 | + * limitations under the License. |
| 15 | + * |
| 16 | + * SPDX-License-Identifier: Apache-2.0 |
| 17 | + * License-Filename: LICENSE |
| 18 | + */ |
| 19 | + |
| 20 | +plugins { |
| 21 | + id("ort-server-kotlin-component-backend-conventions") |
| 22 | + id("ort-server-publication-conventions") |
| 23 | +} |
| 24 | + |
| 25 | +group = "org.eclipse.apoapsis.ortserver.components.resolutions" |
| 26 | + |
| 27 | +dependencies { |
| 28 | + api(projects.model) |
| 29 | + api(projects.services.ortRunService) |
| 30 | + |
| 31 | + api(libs.exposedCore) |
| 32 | + |
| 33 | + implementation(projects.dao) |
| 34 | + |
| 35 | + routesImplementation(projects.components.authorizationKeycloak.backend) |
| 36 | + routesImplementation(projects.components.resolutions.apiModel) |
| 37 | + routesImplementation(projects.shared.apiMappings) |
| 38 | + routesImplementation(projects.shared.apiModel) |
| 39 | + routesImplementation(projects.shared.ktorUtils) |
| 40 | + |
| 41 | + routesImplementation(ktorLibs.http) |
| 42 | + routesImplementation(ktorLibs.server.auth) |
| 43 | + routesImplementation(ktorLibs.server.core) |
| 44 | + routesImplementation(libs.kotlinxDatetime) |
| 45 | + routesImplementation(libs.ktorOpenApi) |
| 46 | + |
| 47 | + testImplementation(testFixtures(projects.dao)) |
| 48 | + testImplementation(testFixtures(projects.shared.ktorUtils)) |
| 49 | + |
| 50 | + testImplementation(ktorLibs.client.core) |
| 51 | + testImplementation(ktorLibs.http) |
| 52 | + testImplementation(ktorLibs.server.auth) |
| 53 | + testImplementation(ktorLibs.server.core) |
| 54 | + testImplementation(ktorLibs.server.testHost) |
| 55 | + testImplementation(libs.kotestAssertionsCore) |
| 56 | + testImplementation(libs.kotestAssertionsKtor) |
| 57 | + testImplementation(libs.kotestFrameworkEngine) |
| 58 | + testImplementation(libs.mockk) |
| 59 | +} |
0 commit comments