This commit is contained in:
paw 2025-02-23 14:04:17 +00:00
parent 784a3ac667
commit 1bf391fb1c

View File

@ -19,10 +19,6 @@ version = providers.gradleProperty("pluginVersion").get()
// pawrequest custom github repo/dependency adder
val thisArtifactID = providers.gradleProperty("pluginRepositoryUrl").get().substringAfterLast("/")
val thisVendorName = providers.gradleProperty("pluginRepositoryUrl").get().substringBeforeLast("/").substringAfterLast("/")
//val theseCustomDependencies = providers.gradleProperty("customDependencies")
// .orNull // Returns null if the property is missing
// ?.split(",") // Split only if the property is present
// ?: emptyList() // Provide an empty list if the property is missing
val theseCustomDependencies = providers.gradleProperty("customDependencies")
.orNull // Returns null if the property is missing
?.split(",") // Split only if the property is present