From 55716b58b6aae8fa45fb82fbfec24ced4419187f Mon Sep 17 00:00:00 2001 From: Fabian Mastenbroek Date: Mon, 10 May 2021 14:30:35 +0200 Subject: 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. --- opendc-platform/build.gradle.kts | 12 ++++++++++++ 1 file changed, 12 insertions(+) (limited to 'opendc-platform') 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("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." + ) + } +} -- cgit v1.2.3