From c87d9a61cef9219d68a9e8a401ce2053ce87237b Mon Sep 17 00:00:00 2001 From: Lavish Swarnkar Date: Sun, 25 Feb 2024 16:24:08 +0530 Subject: [PATCH] tweak publishing plugin --- commons/build.gradle | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/commons/build.gradle b/commons/build.gradle index 2735e21..eac991c 100644 --- a/commons/build.gradle +++ b/commons/build.gradle @@ -45,10 +45,14 @@ dependencies { publishing { publications { - create(MavenPublication) { + maven(MavenPublication) { groupId = "com.github.The-Streamliners" artifactId = "commons" version = "1.0" + + afterEvaluate { + from components.release + } } } } \ No newline at end of file