mirror of
https://github.com/apple/pkl.git
synced 2026-01-11 22:30:54 +01:00
[PR #216] [MERGED] Skip POM validation for unpublished projects #454
Reference in New Issue
Block a user
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
📋 Pull Request Information
Original PR: https://github.com/apple/pkl/pull/216
Author: @sgammon
Created: 2/20/2024
Status: ✅ Merged
Merged: 2/21/2024
Merged by: @holzensp
Base:
main← Head:fix/gradle-tasks-cmd📝 Commits (1)
663f0faSkip POM validation for unpublished projects📊 Changes
1 file changed (+3 additions, -0 deletions)
View changed files
📝
buildSrc/src/main/kotlin/pklPublishLibrary.gradle.kts(+3 -0)📄 Description
Summary
This small change fixes a bug introduced by the
validatePomtask within thepklPublishLibraryplugin. When running project-wide tasks like./gradle tasks, projects which don't provide a POM fail the build, because thegeneratePomFileForLibraryPublicationcannot be found, but it is expected to be present.With this change applied,
validatePomonly runs if the taskgeneratePomFileForLibraryPublicationis present in a given project.Fixes and closes apple/pkl#215
🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.