diff options
| author | Fabian Mastenbroek <mail.fabianm@gmail.com> | 2021-05-10 14:30:35 +0200 |
|---|---|---|
| committer | Fabian Mastenbroek <mail.fabianm@gmail.com> | 2021-05-10 14:30:35 +0200 |
| commit | 55716b58b6aae8fa45fb82fbfec24ced4419187f (patch) | |
| tree | 0ca4b525f57192185e348a221bebe9bb8e94bfb1 /opendc-platform | |
| parent | be09d51d6c783b46305eea424568b4578d8e373b (diff) | |
build: Publish Java Platform on Maven Central
This change updates the build configuration to also publish the Java
Platform on Maven Central. This is necessary since the other modules
depend on the platform.
Diffstat (limited to 'opendc-platform')
| -rw-r--r-- | opendc-platform/build.gradle.kts | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/opendc-platform/build.gradle.kts b/opendc-platform/build.gradle.kts index 35d12434..c2cb84a8 100644 --- a/opendc-platform/build.gradle.kts +++ b/opendc-platform/build.gradle.kts @@ -22,6 +22,18 @@ plugins { `java-platform` + `publishing-conventions` } description = "Java platform for the OpenDC project" + +publishing.publications.named<MavenPublication>("maven") { + from(components["javaPlatform"]) + + pom { + description.set( + "This Bill of Materials POM can be used to ease dependency management " + + "when referencing multiple OpenDC artifacts using Gradle or Maven." + ) + } +} |
