Release 1.5.0 - #1683
Merged
Merged
Conversation
Replace the narrow `ensureReleaseCheckUpToDate` task (which only verified that the dependency entries in the committed `release_check/*.pom` files had matching entries in the `libs` version catalog) with a `checkPom` task that compares the full locally generated POM against the committed expected POM. The comparison logic is extracted into `ext.comparePom` and now shared between the CI-time `checkPom` task and the release-time `checkUploadedArtifacts` task, so both stages enforce the same contract against the same expected POM source. Signed-off-by: Manfred Hanke <Manfred.Hanke@tngtech.com>
based on `git shortlog -s v1.4.2.. | sort -nr`:
```
53 Manfred Hanke
34 dependabot[bot]
11 Dr. Jonathan Schulz
6 Stefan Gräber
6 Andreas Zöller
2 schulzjo-tng
2 gradle-update-robot
1 Thanos Tsiamis
1 Niklas Keller
1 junya koyama
1 John Burns
1 Jens Bannmann
1 hankem
1 DragonFSKY
1 Develop-KIM
```
Signed-off-by: Manfred Hanke <Manfred.Hanke@tngtech.com>
`Project.exec()` was removed in Gradle 9, which caused: ``` > Task :testRelease FAILED FAILURE: Build failed with an exception. * Where: Script '/home/runner/work/ArchUnit-Release/ArchUnit-Release/ArchUnit/build-steps/release/test-release.gradle' line: 34 * What went wrong: Execution failed for task ':testRelease' (registered in script 'build-steps/release/test-release.gradle'). > Could not find method exec() for arguments [test_release_4w64ubz8pbuym3ipvd2mfmsx8$_run_closure1$_closure4$_closure9@57b2cda] on task ':testRelease' of type org.gradle.api.DefaultTask. ``` Signed-off-by: Manfred Hanke <Manfred.Hanke@tngtech.com>
Signed-off-by: hankem <action@github.com>
Signed-off-by: hankem <action@github.com>
Drop the redundant `org.gradle.process.` prefix on `ExecOperations`, as Gradle's Groovy DSL imports `org.gradle.process.*` by default. Co-authored-by: Dr. Jonathan Schulz <jonathan.schulz@tngtech.com> Signed-off-by: Manfred Hanke <Manfred.Hanke@tngtech.com>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
ArchUnit 1.5.0
Enhancements
Core
JavaAccess.Predicates.originOwnerandJavaAccess.Predicates.targetOwner(fix descriptions of targetOwner and originOwner predicates in JavaAccess #1603)JavaClass:isSealed()andgetPermittedSubclasses()(add support for sealed classes #1677)ImportOption.DoNotIncludeTestsandOnlyIncludeTestsconsider tests in custom Gradle source sets (detect custom Gradle test source sets in test import options #1660)Lang
ArchConditionsoffers newArchCondition<JavaClass> haveAnyDependenciesThat(DescribedPredicate<Dependency>)(add haveDependenciesThat condition to ArchConditions #1580)Library
ArchitectureMetrics.lakosMetricsis computed much more performantly (perf(metrics): optimize LakosMetrics transitive dependency graph #1629)TextFileBasedViolationStoreis now thread-safe under parallel test execution (Make TextFileBasedViolationStore thread-safe under parallel test execution #1656)ModuleDependencynow provides stable descriptions (Stabilize ModuleDependency descriptions #1648)JUnit
archunit-junit6supports ArchUnit with JUnit 6 (Support JUnit 6.x testing framework via aligned module #1556,[part2]add support JUnit 6.x testing framework. #1658, Add support for JUnit6 #1659)AnalyzeClassessupports individual classes (Adjust AnalyzeClasses annotation to support individual classes as parameter #1569)archunit-junit:0.9.0(which was renamed with ArchUnit 0.9.0) now relocates toarchunit-junit4:0.9.0(Add temporary publication to formally deprecate the legacyarchunit-junitpackage #1673))Documentation
Priority(Add Documentation regarding ArchRule priority #1671)Internal Improvements
junit-dataproviderwithjunit-jupiter-params(Replace junit-dataprovider with junit-jupiter-params #1655)