From dffe092052f2e2eb91b6d19915a6cc933ca4d4c8 Mon Sep 17 00:00:00 2001 From: xFedeT Date: Wed, 1 May 2024 17:14:37 +0200 Subject: [PATCH] build: group fixed Took 10 minutes --- build.gradle | 16 ++++++++++++++-- 1 file changed, 14 insertions(+), 2 deletions(-) diff --git a/build.gradle b/build.gradle index 43c9734..aab9afe 100644 --- a/build.gradle +++ b/build.gradle @@ -6,13 +6,14 @@ subprojects { apply plugin: 'java-library' apply plugin: 'maven-publish' - def group = 'it.fedet' - def artifact = 'minigames' + def ver = semver.version allprojects { + group = 'it.fedet' version = ver + semver { releaseTagNameFormat = "v%s" } @@ -80,6 +81,17 @@ subprojects { } + publishing { + publications { + maven(MavenPublication) { + groupId project.group + artifactId project.name + version project.version + from components.java + } + } + } + compileJava { options.compilerArgs += ["-parameters"] }