From 8b7c6e1bb1895f71ab6789ccebbc97add6000415 Mon Sep 17 00:00:00 2001 From: Andrew Reed Date: Fri, 10 Nov 2023 09:00:10 +0000 Subject: [PATCH] Adjusted signing --- settings.gradle.kts | 14 ++++++++++++++ 1 file changed, 14 insertions(+) diff --git a/settings.gradle.kts b/settings.gradle.kts index 3aa2a99..9fd1b58 100644 --- a/settings.gradle.kts +++ b/settings.gradle.kts @@ -1,3 +1,5 @@ +import java.util.Properties + dependencyResolutionManagement { versionCatalogs { val kotlinVersion = "1.9.10" @@ -44,3 +46,15 @@ dependencyResolutionManagement { } include(":library") + +val properties = Properties() +val propertiesFile = File("library/gradle.properties") +if (propertiesFile.exists()) { + properties.load(propertiesFile.inputStream()) +} +val PUBLISH_NAME = properties.getProperty("PUBLISH_NAME") + +rootProject.name = PUBLISH_NAME +rootProject.children.forEach { + it.name = PUBLISH_NAME +}