| 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 | |
| 15 | plugins { |
| 16 | `maven-publish` |
| 17 | `version-catalog` |
| 18 | } |
| 19 | |
| 20 | catalog { |
| 21 | versionCatalog { |
| 22 | from(files("../gradle/libs.versions.toml")) |
| 23 | } |
| 24 | } |
| 25 | |
| 26 | publishing { |
| 27 | publications { |
| 28 | create<MavenPublication>("connector-version-catalog") { |
| 29 | from(components["versionCatalog"]) |
| 30 | artifactId = "connector-versions" |
| 31 | } |
| 32 | } |
| 33 | } |