From 2838ec5b58d4e1b1d325a9c3f5d1a40cf9e6a95e Mon Sep 17 00:00:00 2001 From: Desoroxxx Date: Sat, 7 Oct 2023 02:19:13 +0200 Subject: [PATCH] Fix core name --- core/build.gradle.kts | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/core/build.gradle.kts b/core/build.gradle.kts index 7c9bbe7..db7d02d 100644 --- a/core/build.gradle.kts +++ b/core/build.gradle.kts @@ -22,6 +22,14 @@ buildConfig { buildConfigField("dev.redstudio.redcore.logging.RedLogger", "RED_LOGGER", "new RedLogger(NAME, \"https://linkify.cz/RedCoreBugReport\", LOGGER)") } +tasks.named("jar") { + archiveBaseName = "Red-Core" +} + +tasks.named("sourcesJar") { + archiveBaseName = "Red-Core" +} + publishing.publications.register("redCore", MavenPublication::class) { from(components["java"])