Skip to content

Commit

Permalink
feat: add version-catalog
Browse files Browse the repository at this point in the history
  • Loading branch information
paullatzelsperger committed Jun 1, 2023
1 parent 4030a9a commit 6ecc7b8
Show file tree
Hide file tree
Showing 2 changed files with 34 additions and 0 deletions.
1 change: 1 addition & 0 deletions settings.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -46,3 +46,4 @@ include(":extensions:control-plane:provision:provision-aws-s3")

// data plane
include(":extensions:data-plane:data-plane-aws-s3")
include(":version-catalog")
33 changes: 33 additions & 0 deletions version-catalog/build.gradle.kts
Original file line number Diff line number Diff line change
@@ -0,0 +1,33 @@
/*
* Copyright (c) 2023 Bayerische Motoren Werke Aktiengesellschaft (BMW AG)
*
* This program and the accompanying materials are made available under the
* terms of the Apache License, Version 2.0 which is available at
* https://www.apache.org/licenses/LICENSE-2.0
*
* SPDX-License-Identifier: Apache-2.0
*
* Contributors:
* Bayerische Motoren Werke Aktiengesellschaft (BMW AG) - initial API and implementation
*
*/

plugins {
`maven-publish`
`version-catalog`
}

catalog {
versionCatalog {
from(files("../gradle/libs.versions.toml"))
}
}

publishing {
publications {
create<MavenPublication>("technology-aws-version-catalog") {
from(components["versionCatalog"])
artifactId = "technology-aws-versions"
}
}
}

0 comments on commit 6ecc7b8

Please sign in to comment.