Skip to content

Various changes that will handle some of the open issues#19

Merged
tehlers merged 4 commits intotehlers:masterfrom
doychin:master
May 25, 2025
Merged

Various changes that will handle some of the open issues#19
tehlers merged 4 commits intotehlers:masterfrom
doychin:master

Conversation

@doychinresolve
Copy link
Contributor

non-zip artifacts are properly handled and don't crash the check process anymore. Log warning message instead

Log warning instead of throwing an exception if the artifact that has to be checked can't be found on the file system.

Change how the task is registered and attached to the check task.

Change the functional test to verify that plugin task is properly attached to the check task

Use project.layout instead of project.buildDir.

Replaced the deprecated JCenter repository with MavenCentral, ensuring continued access to dependencies. Fixed syntax inconsistency in the "check" task dependency for better readability and adherence to Gradle conventions.
Replaced all occurrences of `testJarsPath()` with `jarsPath()` for consistency and improved readability. Updated method declarations and corresponding calls to align with this change.
Updated task creation logic to use `tasks.register` with `TaskProvider` API for better laziness and performance. Shifted `dependsOn` configuration into an `afterEvaluate` block to ensure proper task dependencies. This improves compatibility with modern Gradle versions.
Converted mutable fields to final where applicable for increased immutability and readability. Replaced `GradleException` usage with logging for missing/invalid ZIP files, enhancing error handling. Streamlined and modernized code constructs, including lambda expressions and method references, and updated configurations for better compatibility.
@tehlers tehlers merged commit 0bbb663 into tehlers:master May 25, 2025
1 check passed
@tehlers
Copy link
Owner

tehlers commented May 25, 2025

Thanks 👍

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants