Skip to content

Commit 2a80a10

Browse files
fix(deps): update dependency com.lemonappdev:konsist to v0.14.0 (#1307)
[![Mend Renovate](https://app.renovatebot.com/images/banner.svg)](https://renovatebot.com) This PR contains the following updates: | Package | Change | Age | Adoption | Passing | Confidence | |---|---|---|---|---|---| | [com.lemonappdev:konsist](https://konsist.lemonappdev.com/) ([source](https://togithub.com/LemonAppDev/konsist)) | `0.13.0` -> `0.14.0` | [![age](https://developer.mend.io/api/mc/badges/age/maven/com.lemonappdev:konsist/0.14.0?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![adoption](https://developer.mend.io/api/mc/badges/adoption/maven/com.lemonappdev:konsist/0.14.0?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![passing](https://developer.mend.io/api/mc/badges/compatibility/maven/com.lemonappdev:konsist/0.13.0/0.14.0?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![confidence](https://developer.mend.io/api/mc/badges/confidence/maven/com.lemonappdev:konsist/0.13.0/0.14.0?slim=true)](https://docs.renovatebot.com/merge-confidence/) | --- ### Release Notes <details> <summary>LemonAppDev/konsist (com.lemonappdev:konsist)</summary> ### [`v0.14.0`](https://togithub.com/LemonAppDev/konsist/releases/tag/v0.14.0) #### What's Changed ⚠️ We are changing the deprecation strategy. Initially we wanted to deprecated API in `1.0.0`, but this will be a big change, so instead we decided to follow more granular deprecation strategy to facilitate future upgrades. API with deprecation target for `1.0.0` has beed updated to `0.16.0` ([#&#8203;902](https://togithub.com/LemonAppDev/konsist/issues/902)). From now on deprecated methods will be available for 2 minor versions (until 1.0.0 release). After 1.0.0 release Konsist will follow semantic versioning scheme meaning breaking changes will be introduced only when major version of the Konsist changes. Deprecated methods (with initial removal targeted for `1.0.0`) will be removed in next release (deprecation target has bee updated). Please update your by removing `Deprecated` Konsist API to facilitate future migration. Thank you for your feedback 🙏 #### New Contributors - [@&#8203;guiguegon](https://togithub.com/guiguegon) made their first contribution in [https://github.com/LemonAppDev/konsist/pull/720](https://togithub.com/LemonAppDev/konsist/pull/720) - [@&#8203;TheMaxCoder](https://togithub.com/TheMaxCoder) made their first contribution in [https://github.com/LemonAppDev/konsist/pull/827](https://togithub.com/LemonAppDev/konsist/pull/827) - [@&#8203;pkubowicz](https://togithub.com/pkubowicz) made their first contribution in [https://github.com/LemonAppDev/konsist/pull/831](https://togithub.com/LemonAppDev/konsist/pull/831) - [@&#8203;kollstrom](https://togithub.com/kollstrom) made their first contribution in [https://github.com/LemonAppDev/konsist/pull/780](https://togithub.com/LemonAppDev/konsist/pull/780) - [@&#8203;jibidus](https://togithub.com/jibidus) made their first contribution in [https://github.com/LemonAppDev/konsist/pull/830](https://togithub.com/LemonAppDev/konsist/pull/830) - [@&#8203;ablx](https://togithub.com/ablx) made their first contribution in [https://github.com/LemonAppDev/konsist/pull/830](https://togithub.com/LemonAppDev/konsist/pull/830) ##### 1. Added `declaration references` Konsist understands the code's structure better. This new feature, highly requested by the community, provides link between declarations, giving you more control over code quality checks. Konsist now works with declarations directly, allowing you to precisely verify type properties, inheritance relationships, and more e.g. **All parent interfaces have `actual` modifier**: ```kotlin Konsist .scopeFromProject() .classes() .parentInterfaces() .assertTrue { it.hasActualModifier() // Can access other properties of the interface } ``` **All function parameters are interfaces**: ```kotlin Konsist .scopeFromPackage("com.app.worker..") .functions() .parameters .types .assertTrue { it.isInterface // Can } ``` **All classes have test classes with `Test` annotation and a name containing its name**: ```kotlin Konsist .scopeFromProject() .classes() .assertTrue { it.testClasses().all { testClass -> testClass.hasAnnotationOf<Test>() && testClass.hasNameContaining(it.name) } } ``` **All interfaces have children (child classes and child interfaces) resided in `..somepackage..` package**: ```kotlin Konsist .scopeFromProject() .interfaces() .assertTrue { it.hasAllChildren(indirectChildren = true) { child -> child.resideInPackage("..somepackage..") } } ``` See [Declaration References](https://docs.konsist.lemonappdev.com/features/declaration-references) docs. ##### 2. Retrieve indirect parents The `indirectParents` parameter has been added to parent retrieval methods (`parents()`, `hasParentClass()`, `hasAllParentInterfacesOf` etc.). This parameter specifies whether or not to include parents such as parent of the parent. By default, `indirectParents` is `false` e.g. ```kotlin // Class hierarchy ClassA ↓ ClassB ↓ ClassC ``` For above inheritance hierarchy is possible to retrieve direct parents of `ClassC` (`ClassB`) as well as all parents present in the codebase (`ClassB` and `ClassC`). ```kotlin Konsist .scopeFromProject() .classes() .first { it.name == "ClassC" } .parents() // returns direct parents listOf(ClassB) Konsist .scopeFromProject() .classes() .first { it.name == "SampleClass" } .parents(indirectParents = true) // returns listOf(ClassB, ClassA) ``` ##### 3. Improved `assertArchitecture` methods Following other `assert` methods, we added the `testName` and `additionalMessage` arguments to the `assertArchitecture` methods. You can now manually set the test name that will be displayed in the test failure message and used to suppress tests. This is useful for `Kotest` and dynamic tests. ```kotlin scope .assertArchitecture( testName = "sample name", additionalMessage = "sample message" ) { // some dependencies } ``` ##### 4. Added support for variables Now Konsist will allow to access and verify variables located inside functions, init blocks, getters, setters and enum constants. ```kotlin Konsist .scopeFromProject() .functions() .assertTrue { it.hasVariable { variable -> variable.name == "sampleVariable" } } ``` ##### 5. Ability to check `tacit` type Now Konsist can check whether the properties or variables have a tacit type. Tacit type means that the declaration has an explicitly or implicitly specified type. ```kotlin val sut: Foo = someCollection.first() // hasTacitTypeOf(SampleClass::class) == true val sut = Foo("some text") // hasTacitTypeOf(SampleClass::class) == true val sut = someCollection.first() // hasTacitTypeOf(SampleClass::class) == false ``` One scenario where `tacit type` is useful is verification of `sut` (system under test / class under test) existence: ```kotlin Konsist .scopeFromTest() .classes() .assertTrue { // Get type name from test class e.g. FooTest -> Foo val type = it.name.removeSuffix("Test") val sut = it .properties() .firstOrNull { property -> property.name == "sut" } sut != null && sut.hasTacitType(type) } ``` ##### 6. Ability to check `sourceType` and `bareSourceType` Now Konsist provides `sourceType` and `bareSourceType` properties for better type analysis: ```kotlin val car: MyClass // sourceType == "MyClass". val car: MyClass<String> // sourceType == "MyClass<String>" val car: MyClass // bareSourceType == "MyClass". val car: MyClass? // bareSourceType == "MyClass". val car: MyClass<String> // bareSourceType == "MyClass" val car: MyClass<String?>? // bareSourceType == "MyClass" val car: com.app.MyClass // bareSourceType == "MyClass" ``` One scenario where `bareSourceType` is useful is naming verification of property with `List` type: ```kotlin Konsist .scopeFromProject() .properties() .types .withBareSourceTypeOf(List::class) .assertTrue { it.hasNameEndingWith("s") || it.hasNameEndingWith("es") } ``` ##### 7. Ability to check whether a property is read-only Now Konsist provides `isReadOnly` property that checks whether a property is specified with a `val` modifier: ```kotlin val foo = Foo("some text") // isReadOnly == true var foo = Foo("some text") // isReadOnly == false ``` #### 8. Complete list of changes ##### ⚠️ Breaking API Changes - KON-369 Add Parent Declaration References by [@&#8203;nataliapeterwas](https://togithub.com/nataliapeterwas) in [#&#8203;709](https://togithub.com/LemonAppDev/konsist/issues/709) - KON-541 Add KoVariableDeclaration by [@&#8203;nataliapeterwas](https://togithub.com/nataliapeterwas) in [#&#8203;717](https://togithub.com/LemonAppDev/konsist/issues/717) - KON-368 Add Tests Declaration References by [@&#8203;nataliapeterwas](https://togithub.com/nataliapeterwas) in [#&#8203;784](https://togithub.com/LemonAppDev/konsist/issues/784) - KON-547 Add Type Declarations by [@&#8203;nataliapeterwas](https://togithub.com/nataliapeterwas) in [#&#8203;868](https://togithub.com/LemonAppDev/konsist/issues/868) ##### 🐛 Bug Fixes - Replace REGEX to allow using .. as wildcard again by [@&#8203;guiguegon](https://togithub.com/guiguegon) in [#&#8203;720](https://togithub.com/LemonAppDev/konsist/issues/720) - Fix wrong detection of Git root project dir by [@&#8203;pkubowicz](https://togithub.com/pkubowicz) in [#&#8203;831](https://togithub.com/LemonAppDev/konsist/issues/831) - Fix git dir resolver uses the wrong paths by [@&#8203;kollstrom](https://togithub.com/kollstrom) in [#&#8203;780](https://togithub.com/LemonAppDev/konsist/issues/780) - KON-578 Fix fully qualified name by [@&#8203;jibidus](https://togithub.com/jibidus) in [#&#8203;830](https://togithub.com/LemonAppDev/konsist/issues/830) - KON-560 Methods With KClass Parameter Fails When Name Of The Class Defined In The File Is The Same As Imported Class by [@&#8203;nataliapeterwas](https://togithub.com/nataliapeterwas) in [#&#8203;775](https://togithub.com/LemonAppDev/konsist/issues/775) - KON-577 Layer doesn't allow string that uses a package wildcard twice by [@&#8203;nataliapeterwas](https://togithub.com/nataliapeterwas) in [#&#8203;892](https://togithub.com/LemonAppDev/konsist/issues/892) - KON-593 KoPackageMatchingPathProviderCore.hasMatchingPath fails on windows by [@&#8203;nataliapeterwas](https://togithub.com/nataliapeterwas) in [#&#8203;893](https://togithub.com/LemonAppDev/konsist/issues/893) ##### 💡 Improvements - Update Kotest Snippets by [@&#8203;nataliapeterwas](https://togithub.com/nataliapeterwas) in [#&#8203;701](https://togithub.com/LemonAppDev/konsist/issues/701) - KON-538 Add `testName` To `assertArchitecture`by [@&#8203;nataliapeterwas](https://togithub.com/nataliapeterwas) in [#&#8203;712](https://togithub.com/LemonAppDev/konsist/issues/712) - KON-553: Allow `null` values in representsType() by [@&#8203;yonatankarp](https://togithub.com/yonatankarp) in [#&#8203;719](https://togithub.com/LemonAppDev/konsist/issues/719) - KON-369 Add Parent Declaration References by [@&#8203;nataliapeterwas](https://togithub.com/nataliapeterwas) in [#&#8203;709](https://togithub.com/LemonAppDev/konsist/issues/709) - KON-205 Add Konsist Test Which Check That All Core Declarations Override `toString` by [@&#8203;nataliapeterwas](https://togithub.com/nataliapeterwas) in [#&#8203;735](https://togithub.com/LemonAppDev/konsist/issues/735) - KON-541 Add KoVariableDeclaration by [@&#8203;nataliapeterwas](https://togithub.com/nataliapeterwas) in [#&#8203;717](https://togithub.com/LemonAppDev/konsist/issues/717) - KON-564 Extract if statements to variable by [@&#8203;ablx](https://togithub.com/ablx) in [#&#8203;730](https://togithub.com/LemonAppDev/konsist/issues/730) - KON-571 Fix `isKotlinType` Property Where Generic Types Where Treated As Kotlin Collections by [@&#8203;igorwojda](https://togithub.com/igorwojda) in [#&#8203;754](https://togithub.com/LemonAppDev/konsist/issues/754) - KON-570 Add `KoSourceAndAliasTypeProviderCore.baseSourceType`by [@&#8203;igorwojda](https://togithub.com/igorwojda) in [#&#8203;753](https://togithub.com/LemonAppDev/konsist/issues/753) - KON-572 Fix for `sourcetype` stripping `?`by [@&#8203;igorwojda](https://togithub.com/igorwojda) in [#&#8203;756](https://togithub.com/LemonAppDev/konsist/issues/756) - KON-574 Add `isKotlinBasicType` And `isKotlinCollectionType`by [@&#8203;igorwojda](https://togithub.com/igorwojda) in [#&#8203;757](https://togithub.com/LemonAppDev/konsist/issues/757) - KON-570 Rename `baseSourceType` To `bareSourcetype`by [@&#8203;igorwojda](https://togithub.com/igorwojda) in [#&#8203;758](https://togithub.com/LemonAppDev/konsist/issues/758) - KON-570 Remove Package From `bareType` by [@&#8203;igorwojda](https://togithub.com/igorwojda) in [#&#8203;759](https://togithub.com/LemonAppDev/konsist/issues/759) - Update Gitignore by [@&#8203;igorwojda](https://togithub.com/igorwojda) in [#&#8203;762](https://togithub.com/LemonAppDev/konsist/issues/762) - Update `check_kttxt_snippets`by [@&#8203;igorwojda](https://togithub.com/igorwojda) in [#&#8203;764](https://togithub.com/LemonAppDev/konsist/issues/764) - KON-365 Add `indirectParents=false` Parameter by [@&#8203;nataliapeterwas](https://togithub.com/nataliapeterwas) in [#&#8203;726](https://togithub.com/LemonAppDev/konsist/issues/726) - KON-366 Change Return Type Of `containingDeclaration`by [@&#8203;nataliapeterwas](https://togithub.com/nataliapeterwas) in [#&#8203;715](https://togithub.com/LemonAppDev/konsist/issues/715) - KON-367 Add Child Declaration References by [@&#8203;nataliapeterwas](https://togithub.com/nataliapeterwas) in [#&#8203;736](https://togithub.com/LemonAppDev/konsist/issues/736) - Add Tests by [@&#8203;igorwojda](https://togithub.com/igorwojda) in [#&#8203;842](https://togithub.com/LemonAppDev/konsist/issues/842) - Remove Scope Violation Suppress by [@&#8203;igorwojda](https://togithub.com/igorwojda) in [#&#8203;855](https://togithub.com/LemonAppDev/konsist/issues/855) - KON-432 Add Konsist Tests Which Check That All Declarations And Providers Implement Correct Parents by [@&#8203;nataliapeterwas](https://togithub.com/nataliapeterwas) in [#&#8203;772](https://togithub.com/LemonAppDev/konsist/issues/772) - KON-368 Add Tests Declaration References by [@&#8203;nataliapeterwas](https://togithub.com/nataliapeterwas) in [#&#8203;784](https://togithub.com/LemonAppDev/konsist/issues/784) - KON-264 add lists scope from directory by [@&#8203;JonathanSarco](https://togithub.com/JonathanSarco) in [#&#8203;778](https://togithub.com/LemonAppDev/konsist/issues/778) - KON-579 Create `konsist-declaration-tester` by [@&#8203;nataliapeterwas](https://togithub.com/nataliapeterwas) in [#&#8203;858](https://togithub.com/LemonAppDev/konsist/issues/858) - KON-583 Add possibility to create scope passing sets of items by [@&#8203;nataliapeterwas](https://togithub.com/nataliapeterwas) in [#&#8203;861](https://togithub.com/LemonAppDev/konsist/issues/861) - KON-525 Add isReadOnly property to the KoPropertyDeclaration by [@&#8203;jibidus](https://togithub.com/jibidus) in [#&#8203;867](https://togithub.com/LemonAppDev/konsist/issues/867) - KON-543 Add `hasTacitType`by [@&#8203;nataliapeterwas](https://togithub.com/nataliapeterwas) in [#&#8203;773](https://togithub.com/LemonAppDev/konsist/issues/773) - KON-371 Initialize All KoFiles At Start by [@&#8203;igorwojda](https://togithub.com/igorwojda) in [#&#8203;878](https://togithub.com/LemonAppDev/konsist/issues/878) - KON-547 Add Type Declarations by [@&#8203;nataliapeterwas](https://togithub.com/nataliapeterwas) in [#&#8203;868](https://togithub.com/LemonAppDev/konsist/issues/868) - KON-602 Improve layer verification by [@&#8203;nataliapeterwas](https://togithub.com/nataliapeterwas) in [#&#8203;897](https://togithub.com/LemonAppDev/konsist/issues/897) - KON-596 Add extensions to retrieve properties of the source type by [@&#8203;nataliapeterwas](https://togithub.com/nataliapeterwas) in [#&#8203;900](https://togithub.com/LemonAppDev/konsist/issues/900) - KON-565 Upgrade Spotless by [@&#8203;igorwojda](https://togithub.com/igorwojda) in [#&#8203;907](https://togithub.com/LemonAppDev/konsist/issues/907) - Simplify Snippet Usgae Verification Regex by [@&#8203;igorwojda](https://togithub.com/igorwojda) in [#&#8203;908](https://togithub.com/LemonAppDev/konsist/issues/908) - KON-609 Add Type Extensions by [@&#8203;igorwojda](https://togithub.com/igorwojda) in [#&#8203;914](https://togithub.com/LemonAppDev/konsist/issues/914) - Add Missing Kotlin Basic Types - `Unit`, `Any` and `Nothing`by [@&#8203;nataliapeterwas](https://togithub.com/nataliapeterwas) in [#&#8203;926](https://togithub.com/LemonAppDev/konsist/issues/926) - Use `sourceX` Properties by [@&#8203;nataliapeterwas](https://togithub.com/nataliapeterwas) in [#&#8203;927](https://togithub.com/LemonAppDev/konsist/issues/927) - Rename `sourceX` to `asXDeclaration()`by [@&#8203;nataliapeterwas](https://togithub.com/nataliapeterwas) in [#&#8203;930](https://togithub.com/LemonAppDev/konsist/issues/930) ##### 📕 Documentation - Update README.md by [@&#8203;igorwojda](https://togithub.com/igorwojda) in [#&#8203;771](https://togithub.com/LemonAppDev/konsist/issues/771) - Fixed broken link to the getting started guide by [@&#8203;TheMaxCoder](https://togithub.com/TheMaxCoder) in [#&#8203;827](https://togithub.com/LemonAppDev/konsist/issues/827) - KON-531 Add Dynamic Test Samples by [@&#8203;igorwojda](https://togithub.com/igorwojda) in [#&#8203;702](https://togithub.com/LemonAppDev/konsist/issues/702) - Upd Konsist Artifact Description by [@&#8203;igorwojda](https://togithub.com/igorwojda) in [#&#8203;703](https://togithub.com/LemonAppDev/konsist/issues/703) - Fix Typo by [@&#8203;igorwojda](https://togithub.com/igorwojda) in [#&#8203;704](https://togithub.com/LemonAppDev/konsist/issues/704) - Update Dynamic Tests by [@&#8203;igorwojda](https://togithub.com/igorwojda) in [#&#8203;706](https://togithub.com/LemonAppDev/konsist/issues/706) - Update Sample Projects Docs by [@&#8203;igorwojda](https://togithub.com/igorwojda) in [#&#8203;716](https://togithub.com/LemonAppDev/konsist/issues/716) - Upd Snippets by [@&#8203;igorwojda](https://togithub.com/igorwojda) in [#&#8203;723](https://togithub.com/LemonAppDev/konsist/issues/723) - Upd docs by [@&#8203;igorwojda](https://togithub.com/igorwojda) in [#&#8203;733](https://togithub.com/LemonAppDev/konsist/issues/733) - Upd docs by [@&#8203;igorwojda](https://togithub.com/igorwojda) in [#&#8203;734](https://togithub.com/LemonAppDev/konsist/issues/734) - Add Snippet by [@&#8203;igorwojda](https://togithub.com/igorwojda) in [#&#8203;740](https://togithub.com/LemonAppDev/konsist/issues/740) - Add Project Icon by [@&#8203;igorwojda](https://togithub.com/igorwojda) in [#&#8203;761](https://togithub.com/LemonAppDev/konsist/issues/761) - Add Spring Snippet #&#8203;766by [@&#8203;igorwojda](https://togithub.com/igorwojda) in [#&#8203;766](https://togithub.com/LemonAppDev/konsist/issues/766) - Rename koTest to Kotestby [@&#8203;igorwojda](https://togithub.com/igorwojda) in [#&#8203;837](https://togithub.com/LemonAppDev/konsist/issues/837) - Remove "konsist-starter-" prefix from dir names by [@&#8203;igorwojda](https://togithub.com/igorwojda) in [#&#8203;838](https://togithub.com/LemonAppDev/konsist/issues/838) - Add Slack Badge #&#8203;877by [@&#8203;igorwojda](https://togithub.com/igorwojda) in [#&#8203;877](https://togithub.com/LemonAppDev/konsist/issues/877) - KON-601 Update KDoc for isInitialized property by [@&#8203;nataliapeterwas](https://togithub.com/nataliapeterwas) in [#&#8203;895](https://togithub.com/LemonAppDev/konsist/issues/895) - KON-603 Update Deprecated Version by [@&#8203;nataliapeterwas](https://togithub.com/nataliapeterwas) in [#&#8203;902](https://togithub.com/LemonAppDev/konsist/issues/902) - KON-586 Add KDocs for DeclarationReference by [@&#8203;nataliapeterwas](https://togithub.com/nataliapeterwas) in [#&#8203;904](https://togithub.com/LemonAppDev/konsist/issues/904) - Update Kdoc by [@&#8203;igorwojda](https://togithub.com/igorwojda) in [#&#8203;915](https://togithub.com/LemonAppDev/konsist/issues/915) ##### 🏗️ CI - Fix Artifact Upload by [@&#8203;igorwojda](https://togithub.com/igorwojda) in [#&#8203;698](https://togithub.com/LemonAppDev/konsist/issues/698) - KON-537 Update update Snippets Script To Make Sure PR Is Opened From The Newest Version Of Docs by [@&#8203;nataliapeterwas](https://togithub.com/nataliapeterwas) in [#&#8203;695](https://togithub.com/LemonAppDev/konsist/issues/695) - KON-563: Run only 1 CI pipeline in parallel for each PR by [@&#8203;yonatankarp](https://togithub.com/yonatankarp) in [#&#8203;725](https://togithub.com/LemonAppDev/konsist/issues/725) - Improve Gradle build performance by [@&#8203;igorwojda](https://togithub.com/igorwojda) in [#&#8203;749](https://togithub.com/LemonAppDev/konsist/issues/749) - KON-562: Improve snippet CI verification by [@&#8203;yonatankarp](https://togithub.com/yonatankarp) in [#&#8203;724](https://togithub.com/LemonAppDev/konsist/issues/724) - Upgrade CI Java Version by [@&#8203;igorwojda](https://togithub.com/igorwojda) in [#&#8203;854](https://togithub.com/LemonAppDev/konsist/issues/854) - KON-589 Upload Check results as artifacts by [@&#8203;igorwojda](https://togithub.com/igorwojda) in [#&#8203;880](https://togithub.com/LemonAppDev/konsist/issues/880) - KON-591 Run path test projects on MacOs by [@&#8203;igorwojda](https://togithub.com/igorwojda) in [#&#8203;881](https://togithub.com/LemonAppDev/konsist/issues/881) - KON-590 Root Path Testers Are Failin On Ubuntu by [@&#8203;igorwojda](https://togithub.com/igorwojda) in [#&#8203;882](https://togithub.com/LemonAppDev/konsist/issues/882) - KON-604 Update Artifact Verification by [@&#8203;igorwojda](https://togithub.com/igorwojda) in [#&#8203;901](https://togithub.com/LemonAppDev/konsist/issues/901) - KON-606 Refactor Starter Projects Scripts by [@&#8203;igorwojda](https://togithub.com/igorwojda) in [#&#8203;906](https://togithub.com/LemonAppDev/konsist/issues/906) - Rename CI Jobs by [@&#8203;igorwojda](https://togithub.com/igorwojda) in [#&#8203;909](https://togithub.com/LemonAppDev/konsist/issues/909) ##### 📦 Dependency Upgrade - Update plugin testLogger to v4 by [@&#8203;renovate](https://togithub.com/renovate) in [#&#8203;710](https://togithub.com/LemonAppDev/konsist/issues/710) - Update tj-actions/changed-files action to v39.2.2 by [@&#8203;renovate](https://togithub.com/renovate) - Update plugin dokka to v1.9.10 by [@&#8203;renovate](https://togithub.com/renovate) - Update tj-actions/changed-files action to v39.2.3 by [@&#8203;renovate](https://togithub.com/renovate) - Update spring boot to v3.1.5 by [@&#8203;renovate](https://togithub.com/renovate) - Update tj-actions/changed-files action to v39.2.4 by [@&#8203;renovate](https://togithub.com/renovate) - Update dependency androidx.navigation:navigation-fragment-ktx to v2.7.5 by [@&#8203;renovate](https://togithub.com/renovate) in [#&#8203;741](https://togithub.com/LemonAppDev/konsist/issues/741) - Update plugin io.kotest.multiplatform to v5.8.0 by [@&#8203;renovate](https://togithub.com/renovate) - Update dependency io.kotest:kotest-runner-junit5-jvm to v5.8.0 by [@&#8203;renovate](https://togithub.com/renovate) - Update dependency io.kotest:kotest-runner-junit5 to v5.8.0 by [@&#8203;renovate](https://togithub.com/renovate) - Update kotlin monorepo to v1.9.20 by [@&#8203;renovate](https://togithub.com/renovate) - Update plugin detekt to v1.23.3 by [@&#8203;renovate](https://togithub.com/renovate) - Update dependency androidx.navigation:navigation-ui-ktx to v2.7.5 by [@&#8203;renovate](https://togithub.com/renovate) - Update plugin de.mannodermaus.android-junit5 to v1.10.0.0 by [@&#8203;renovate](https://togithub.com/renovate) - Update junit5 monorepo to v5.10.1 by [@&#8203;renovate](https://togithub.com/renovate) - Update tj-actions/changed-files action to v40.2.2 by [@&#8203;renovate](https://togithub.com/renovate) - Update tj-actions/changed-files action to v40.2.1 by [@&#8203;renovate](https://togithub.com/renovate) - Update plugin com.android.library to v8.2.0 by [@&#8203;renovate](https://togithub.com/renovate) - Update plugin com.android.application to v8.2.0 by [@&#8203;renovate](https://togithub.com/renovate) - Update dependency gradle to v8.5 by [@&#8203;renovate](https://togithub.com/renovate) - Update tj-actions/changed-files action to v40.2.0 by [@&#8203;renovate](https://togithub.com/renovate) - Update plugin detekt to v1.23.4 by [@&#8203;renovate](https://togithub.com/renovate) - Update dependency org.codehaus.mojo:build-helper-maven-plugin to v3.5.0 by [@&#8203;renovate](https://togithub.com/renovate) - Update spring boot to v3.2.0 by [@&#8203;renovate](https://togithub.com/renovate) - Update kotlin monorepo to v1.9.21 by [@&#8203;renovate](https://togithub.com/renovate) - Update plugin com.android.library to v8.1.4 by [@&#8203;renovate](https://togithub.com/renovate) - Update plugin com.android.application to v8.1.4 by [@&#8203;renovate](https://togithub.com/renovate) - Update plugin io.spring.dependency-management to v1.1.4 by [@&#8203;renovate](https://togithub.com/renovate) - Update tj-actions/changed-files action to v40.1.1 by [@&#8203;renovate](https://togithub.com/renovate) - Update plugin com.android.library to v8.1.3 by [@&#8203;renovate](https://togithub.com/renovate) - Update plugin com.android.application to v8.1.3 by [@&#8203;renovate](https://togithub.com/renovate) - Update tj-actions/changed-files action to v40 ([#&#8203;745](https://togithub.com/LemonAppDev/konsist/issues/745)) by [@&#8203;renovate](https://togithub.com/renovate) in [#&#8203;745](https://togithub.com/LemonAppDev/konsist/issues/745) - Update dependency org.jetbrains.kotlin-wrappers:kotlin-emotion to v11.11.1-pre.694 by [@&#8203;renovate](https://togithub.com/renovate) - Update dependency org.jetbrains.kotlin-wrappers:kotlin-emotion to v11.11.1-pre.693 by [@&#8203;renovate](https://togithub.com/renovate) in [#&#8203;848](https://togithub.com/LemonAppDev/konsist/issues/848) - Update dependency org.jetbrains.kotlinx:kotlinx-html-jvm to v0.11.0 by [@&#8203;renovate](https://togithub.com/renovate) in [#&#8203;849](https://togithub.com/LemonAppDev/konsist/issues/849) - Update plugin org.jetbrains.kotlin.multiplatform to v1.9.22 by [@&#8203;renovate](https://togithub.com/renovate) in [#&#8203;845](https://togithub.com/LemonAppDev/konsist/issues/845) - Update dependency org.jetbrains.kotlin-wrappers:kotlin-react to v18.2.0-pre.693 by [@&#8203;renovate](https://togithub.com/renovate) - Update dependency io.kotest:kotest-runner-junit5 to v5.8.0 by [@&#8203;renovate](https://togithub.com/renovate) in [#&#8203;846](https://togithub.com/LemonAppDev/konsist/issues/846) - Update dependency io.ktor:ktor-server-netty to v2.3.8 by [@&#8203;renovate](https://togithub.com/renovate) - Update dependency org.jetbrains.kotlin-wrappers:kotlin-react-dom to v18.2.0-pre.693 by [@&#8203;renovate](https://togithub.com/renovate) in [#&#8203;840](https://togithub.com/LemonAppDev/konsist/issues/840) - Update tj-actions/changed-files action to v42 by [@&#8203;renovate](https://togithub.com/renovate) in [#&#8203;819](https://togithub.com/LemonAppDev/konsist/issues/819) - Update actions/setup-java action to v4 by [@&#8203;renovate](https://togithub.com/renovate) in [#&#8203;797](https://togithub.com/LemonAppDev/konsist/issues/797) - Update actions/setup-python action to v5 by [@&#8203;renovate](https://togithub.com/renovate) in [#&#8203;801](https://togithub.com/LemonAppDev/konsist/issues/801) - Update actions/upload-artifact action to v4 by [@&#8203;renovate](https://togithub.com/renovate) in [#&#8203;808](https://togithub.com/LemonAppDev/konsist/issues/808) - Update dependency io.ktor:ktor-server-html-builder-jvm to v2.3.8 by [@&#8203;renovate](https://togithub.com/renovate) - Update junit5 monorepo to v5.10.2 by [@&#8203;renovate](https://togithub.com/renovate) - Update dependency gradle to v8.6 by [@&#8203;renovate](https://togithub.com/renovate) - Update plugin detekt to v1.23.5 by [@&#8203;renovate](https://togithub.com/renovate) - Update plugin com.android.library to v8.2.2 by [@&#8203;renovate](https://togithub.com/renovate) - Update plugin com.android.application to v8.2.2 by [@&#8203;renovate](https://togithub.com/renovate) - Update spring boot to v3.2.2 by [@&#8203;renovate](https://togithub.com/renovate) - Update dependency io.mockk:mockk to v1.13.9 by [@&#8203;renovate](https://togithub.com/renovate) - Update plugin com.android.library to v8.2.1 by [@&#8203;renovate](https://togithub.com/renovate) - Update plugin com.android.application to v8.2.1 by [@&#8203;renovate](https://togithub.com/renovate) - Update kotlin monorepo to v1.9.22 by [@&#8203;renovate](https://togithub.com/renovate) - Update spring boot to v3.2.1 by [@&#8203;renovate](https://togithub.com/renovate) - Update tj-actions/changed-files action to v40.2.3 by [@&#8203;renovate](https://togithub.com/renovate) - Update dependency com.google.android.material:material to v1.11.0 by [@&#8203;renovate](https://togithub.com/renovate) - Update dependency androidx.navigation:navigation-ui-ktx to v2.7.6 by [@&#8203;renovate](https://togithub.com/renovate) - Update dependency androidx.navigation:navigation-fragment-ktx to v2.7.6 by [@&#8203;renovate](https://togithub.com/renovate) - Update dependency org.jetbrains.kotlin-wrappers:kotlin-emotion to v11.11.1-pre.710 by [@&#8203;renovate](https://togithub.com/renovate) in [#&#8203;887](https://togithub.com/LemonAppDev/konsist/issues/887) - Update dependency org.jetbrains.kotlin-wrappers:kotlin-react to v18.2.0-pre.710 by [@&#8203;renovate](https://togithub.com/renovate) in [#&#8203;888](https://togithub.com/LemonAppDev/konsist/issues/888) - Update plugin com.android.library to v8.3.0 by [@&#8203;renovate](https://togithub.com/renovate) in [#&#8203;890](https://togithub.com/LemonAppDev/konsist/issues/890) - Update dependency io.ktor:ktor-server-netty to v2.3.9 by [@&#8203;renovate](https://togithub.com/renovate) in [#&#8203;884](https://togithub.com/LemonAppDev/konsist/issues/884) - Update dependency org.jetbrains.kotlin-wrappers:kotlin-react-dom to v18.2.0-pre.710 by [@&#8203;renovate](https://togithub.com/renovate) in [#&#8203;889](https://togithub.com/LemonAppDev/konsist/issues/889) - Update plugin dokka to v1.9.20 by [@&#8203;renovate](https://togithub.com/renovate) in [#&#8203;885](https://togithub.com/LemonAppDev/konsist/issues/885) - Update tj-actions/changed-files action to v42.0.7 by [@&#8203;renovate](https://togithub.com/renovate) in [#&#8203;891](https://togithub.com/LemonAppDev/konsist/issues/891) - Update plugin com.android.application to v8.3.0 by [@&#8203;renovate](https://togithub.com/renovate) in [#&#8203;886](https://togithub.com/LemonAppDev/konsist/issues/886) - Update kotlin monorepo by [@&#8203;renovate](https://togithub.com/renovate) in [#&#8203;894](https://togithub.com/LemonAppDev/konsist/issues/894) - Update Dev Readme by [@&#8203;renovate](https://togithub.com/renovate) in [#&#8203;898](https://togithub.com/LemonAppDev/konsist/issues/898) - Update Kotlin Compiler Version by [@&#8203;renovate](https://togithub.com/renovate) in [#&#8203;857](https://togithub.com/LemonAppDev/konsist/issues/857) by [@&#8203;renovate](https://togithub.com/renovate) - Update plugin io.kotest.multiplatform to v5.8.0 by [@&#8203;renovate](https://togithub.com/renovate) in [#&#8203;850](https://togithub.com/LemonAppDev/konsist/issues/850) by [@&#8203;renovate](https://togithub.com/renovate) - Update dependency org.jetbrains.kotlin-wrappers:kotlin-react-dom to v18.2.0-pre.694 by [@&#8203;renovate](https://togithub.com/renovate) - Update dependency org.jetbrains.kotlin-wrappers:kotlin-react to v18.2.0-pre.694 by [@&#8203;renovate](https://togithub.com/renovate) - Update plugin io.kotest.multiplatform to v5.8.1 by [@&#8203;renovate](https://togithub.com/renovate) in [#&#8203;929](https://togithub.com/LemonAppDev/konsist/issues/929) - Update dependency org.jetbrains.kotlin-wrappers:kotlin-react-dom to v18.2.0-pre.712 by [@&#8203;renovate](https://togithub.com/renovate) in [#&#8203;928](https://togithub.com/LemonAppDev/konsist/issues/928) - Update dependency org.jetbrains.kotlin-wrappers:kotlin-react to v18.2.0-pre.712 by [@&#8203;renovate](https://togithub.com/renovate) in [#&#8203;925](https://togithub.com/LemonAppDev/konsist/issues/925) - Update dependency org.jetbrains.kotlin-wrappers:kotlin-emotion to v11.11.4-pre.712 by [@&#8203;renovate](https://togithub.com/renovate) in [#&#8203;924](https://togithub.com/LemonAppDev/konsist/issues/924) - Update dependency io.kotest:kotest-runner-junit5 to v5.8.1 by [@&#8203;renovate](https://togithub.com/renovate) in [#&#8203;921](https://togithub.com/LemonAppDev/konsist/issues/921) - Update dependency io.kotest:kotest-runner-junit5-jvm to v5.8.1 by [@&#8203;renovate](https://togithub.com/renovate) in [#&#8203;922](https://togithub.com/LemonAppDev/konsist/issues/922) - Update Kdoc by [@&#8203;renovate](https://togithub.com/renovate) in [#&#8203;915](https://togithub.com/LemonAppDev/konsist/issues/915) - Update dependency org.jetbrains.kotlin-wrappers:kotlin-react-dom to v18.2.0-pre.711 by [@&#8203;renovate](https://togithub.com/renovate) in [#&#8203;913](https://togithub.com/LemonAppDev/konsist/issues/913) - Update dependency org.jetbrains.kotlin-wrappers:kotlin-react to v18.2.0-pre.711 by [@&#8203;renovate](https://togithub.com/renovate) in [#&#8203;912](https://togithub.com/LemonAppDev/konsist/issues/912) - Update dependency org.jetbrains.kotlin-wrappers:kotlin-emotion to v11.11.4-pre.711 by [@&#8203;renovate](https://togithub.com/renovate) - Update tj-actions/changed-files action to v42.1.0 by [@&#8203;renovate](https://togithub.com/renovate) - Update dependency io.ktor:ktor-server-html-builder-jvm to v2.3.9 by [@&#8203;renovate](https://togithub.com/renovate) in [#&#8203;883](https://togithub.com/LemonAppDev/konsist/issues/883) **Full Changelog**: LemonAppDev/konsist@v0.13.0...v0.14.0 </details> --- ### Configuration 📅 **Schedule**: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined). 🚦 **Automerge**: Enabled. ♻ **Rebasing**: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox. 🔕 **Ignore**: Close this PR and you won't be reminded about this update again. --- - [ ] <!-- rebase-check -->If you want to rebase/retry this PR, check this box --- This PR has been generated by [Mend Renovate](https://www.mend.io/free-developer-tools/renovate/). View repository job log [here](https://developer.mend.io/github/typesafegithub/github-workflows-kt). <!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiIzNy4yMzAuMCIsInVwZGF0ZWRJblZlciI6IjM3LjIzMC4wIiwidGFyZ2V0QnJhbmNoIjoibWFpbiJ9--> --------- Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com> Co-authored-by: Piotr Krzeminski <git@krzeminski.it>
1 parent 94389bf commit 2a80a10

2 files changed

Lines changed: 2 additions & 2 deletions

File tree

github-workflows-kt/build.gradle.kts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@ dependencies {
2525

2626
testImplementation("org.jetbrains.kotlinx:kotlinx-serialization-json:1.6.3")
2727
testImplementation("dev.zacsweers.kctfork:core:0.4.0")
28-
testImplementation("com.lemonappdev:konsist:0.13.0")
28+
testImplementation("com.lemonappdev:konsist:0.14.0")
2929
// Needed to use the right version of the compiler for the libraries that depend on it.
3030
testImplementation(kotlin("compiler"))
3131
testImplementation(kotlin("reflect"))

github-workflows-kt/src/test/kotlin/io/github/typesafegithub/workflows/ArchitectureTest.kt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ class ArchitectureTest : FunSpec({
1212
Konsist.scopeFromProduction()
1313
.classes()
1414
.withModifier(KoModifier.DATA)
15-
.properties(includeNested = true, includeLocal = true)
15+
.properties(includeNested = true)
1616
.assertTrue { it.hasValModifier }
1717
}
1818
})

0 commit comments

Comments
 (0)