Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix wrong detection of Git root project dir #831

Merged
merged 1 commit into from
Feb 4, 2024

Conversation

pkubowicz
Copy link
Contributor

Detection never worked before because Git creates directory called '.git', while code was checking 'git'.

For example, it wasn't possible to use Konsist in projects using Maven, but not using Maven Wrapper. MavenProjectRootDirResolver.kt assumes mvnw is present in a Maven project (which is not true for many Maven projects). Konsist was falling back to GitProjectRootDirResolver, which was broken and never worked. As result, exception happened:

com.lemonappdev.konsist.core.exception.KoInternalException: Project directory not found. Searched in /my-project and parent directories

	at com.lemonappdev.konsist.core.filesystem.PathProvider$rootProjectPath$2.invoke(PathProvider.kt:17)
	at com.lemonappdev.konsist.core.filesystem.PathProvider$rootProjectPath$2.invoke(PathProvider.kt:10)
	at kotlin.SynchronizedLazyImpl.getValue(LazyJVM.kt:74)
	at com.lemonappdev.konsist.core.filesystem.PathProvider.getRootProjectPath(PathProvider.kt:10)
	at com.lemonappdev.konsist.core.container.KoScopeCreatorCore$projectKotlinFiles$2.invoke(KoScopeCreatorCore.kt:18)
	at com.lemonappdev.konsist.core.container.KoScopeCreatorCore$projectKotlinFiles$2.invoke(KoScopeCreatorCore.kt:18)

After my PR, Konsist will work for Maven projects, because the detection will work by falling back to Git detection of the root project.

Detection never worked before because Git creates directory
called '.git', while code was checking 'git'.
@igorwojda igorwojda added the bug-fix Malfunction or unexpected behavior label Feb 4, 2024
@igorwojda igorwojda merged commit 12eb98c into LemonAppDev:main Feb 4, 2024
29 checks passed
@igorwojda
Copy link
Contributor

Thx for the contribution

igorwojda added a commit that referenced this pull request Feb 4, 2024
* Upgrade version to 0.13.0

* Update check kttx snippets

* Update check kttx snippets

* Update check kttx snippets

* Update version

* Update scripts

* Update scripts

* Update dev readme

* Release `v0.13.0` (#688)

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: Igor Wojda <igor.wojda@gmail.com>
Co-authored-by: NataliaPeterwas <111683562+nataliapeterwas@users.noreply.github.com>
Co-authored-by: Jony Sarco <jfe.sarco@gmail.com>

* Revert "Release `v0.13.0`" (#689)

* Update Konsist in starter projects to Konsist `v0.13.0` (#697)

* Update Kotest Snippets (#701)

* Replace REGEX to allow using .. as wildcard again (#720)

* Update README.md (#771)

* Fixed broken link to the getting started guide. (#827)

* Fix wrong detection of Git root project dir (#831)

Detection never worked before because Git creates directory
called '.git', while code was checking 'git'.

* Fix test

* Disable KMP starter projects

---------

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: NataliaPeterwas <111683562+nataliapeterwas@users.noreply.github.com>
Co-authored-by: Jony Sarco <jfe.sarco@gmail.com>
Co-authored-by: Guillermo Guerrero González <3263397+guiguegon@users.noreply.github.com>
Co-authored-by: Atiq Ur Rehman <6600985@gmail.com>
Co-authored-by: Piotr Kubowicz <piotr.kubowicz@gmail.com>
@pkubowicz pkubowicz deleted the wrong-git-root-detection branch February 5, 2024 09:02
igorwojda added a commit that referenced this pull request Mar 10, 2024
* Upgrade version to 0.13.0

* Update check kttx snippets

* Update check kttx snippets

* Update check kttx snippets

* Update version

* Update scripts

* Update scripts

* Update dev readme

* Release `v0.13.0` (#688)

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: Igor Wojda <igor.wojda@gmail.com>
Co-authored-by: NataliaPeterwas <111683562+nataliapeterwas@users.noreply.github.com>
Co-authored-by: Jony Sarco <jfe.sarco@gmail.com>

* Revert "Release `v0.13.0`" (#689)

* Update Konsist in starter projects to Konsist `v0.13.0` (#697)

* Update Kotest Snippets (#701)

* Replace REGEX to allow using .. as wildcard again (#720)

* Update README.md (#771)

* Fixed broken link to the getting started guide. (#827)

* Fix wrong detection of Git root project dir (#831)

Detection never worked before because Git creates directory
called '.git', while code was checking 'git'.

* Upd linters

* Upd readme

---------

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: NataliaPeterwas <111683562+nataliapeterwas@users.noreply.github.com>
Co-authored-by: Jony Sarco <jfe.sarco@gmail.com>
Co-authored-by: Guillermo Guerrero González <3263397+guiguegon@users.noreply.github.com>
Co-authored-by: Atiq Ur Rehman <6600985@gmail.com>
Co-authored-by: Piotr Kubowicz <piotr.kubowicz@gmail.com>
igorwojda added a commit that referenced this pull request Mar 11, 2024
* Upgrade version to 0.13.0

* Update check kttx snippets

* Update check kttx snippets

* Update check kttx snippets

* Update version

* Update scripts

* Update scripts

* Update dev readme

* Release `v0.13.0` (#688)

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: Igor Wojda <igor.wojda@gmail.com>
Co-authored-by: NataliaPeterwas <111683562+nataliapeterwas@users.noreply.github.com>
Co-authored-by: Jony Sarco <jfe.sarco@gmail.com>

* Revert "Release `v0.13.0`" (#689)

* Update Konsist in starter projects to Konsist `v0.13.0` (#697)

* Update Kotest Snippets (#701)

* Replace REGEX to allow using .. as wildcard again (#720)

* Update README.md (#771)

* Fixed broken link to the getting started guide. (#827)

* Fix wrong detection of Git root project dir (#831)

Detection never worked before because Git creates directory
called '.git', while code was checking 'git'.

* Fix spotless

---------

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: NataliaPeterwas <111683562+nataliapeterwas@users.noreply.github.com>
Co-authored-by: Jony Sarco <jfe.sarco@gmail.com>
Co-authored-by: Guillermo Guerrero González <3263397+guiguegon@users.noreply.github.com>
Co-authored-by: Atiq Ur Rehman <6600985@gmail.com>
Co-authored-by: Piotr Kubowicz <piotr.kubowicz@gmail.com>
igorwojda added a commit that referenced this pull request Mar 11, 2024
* Merge `main` to `develop` (#691)

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: Igor Wojda <igor.wojda@gmail.com>
Co-authored-by: NataliaPeterwas <111683562+nataliapeterwas@users.noreply.github.com>
Co-authored-by: Jony Sarco <jfe.sarco@gmail.com>

* Add Article (#696)

* Merge main to develop (#699)

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: Igor Wojda <igor.wojda@gmail.com>
Co-authored-by: NataliaPeterwas <111683562+nataliapeterwas@users.noreply.github.com>
Co-authored-by: Jony Sarco <jfe.sarco@gmail.com>

* Fix Artifact Upload (#698)

* Update Kotest Snippets (#700)

* KON-531 Add Dynamic Test Samples (#702)

* Upd Konsist Artifact Description (#703)

* Add Article (#705)

* Fix Typo (#704)

* Update Dynamic Tests (#706)

* KON-537 Update `update Snippets Script` To Make Sure PR Is Opened From The Newest Version Of Docs (#695)

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: Igor Wojda <igor.wojda@gmail.com>
Co-authored-by: NataliaPeterwas <111683562+nataliapeterwas@users.noreply.github.com>
Co-authored-by: Jony Sarco <jfe.sarco@gmail.com>

* Add Article "Konsist and Conquer: Embracing the World of Dynamic Testing" (#708)

* Update plugin testLogger to v4 (#710)

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>

* Update tj-actions/changed-files action to v39.2.2

* Add "ArchUnit vs Konsist in Android (Kotlin-oriented) codebase. A comparison of hidden implementation checks" Article3 (#713)

* KON-538 Add `testName` To `assertArchitecture` (#712)

* Update Sample Projects Docs (#716)

* Update plugin dokka to v1.9.10

* Update README.md

* Upd Snippets (#723)

* Update tj-actions/changed-files action to v39.2.3

* Update spring boot to v3.1.5

* KON-553: Allow `null` values in representsType() (#719)

* KON-553 Followup (#732)

* KON-369 Add Parent Declaration References (#709)

Co-authored-by: Igor Wojda <igor.wojda@gmail.com>

* Upd docs (#733)

* KON-563: Run only 1 CI pipeline in parallel for each PR (#725)

* Upd docs (#734)

* Update tj-actions/changed-files action to v39.2.4

* KON-205 Add Konsist Test Which Check That All Core Declarations Override `toString` (#735)

* Add Snippet (#740)

* Update dependency androidx.navigation:navigation-fragment-ktx to v2.7.5 (#741)

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>

* KON-541 Add KoVariableDeclaration (#717)

* Update dependency androidx.navigation:navigation-ui-ktx to v2.7.5

* Update plugin detekt to v1.23.3

* Update kotlin monorepo to v1.9.20

* Update dependency io.kotest:kotest-runner-junit5 to v5.8.0

* Update dependency io.kotest:kotest-runner-junit5-jvm to v5.8.0

* Update plugin io.kotest.multiplatform to v5.8.0

* Improve Gradle build performance (#749)

* KON-564 Extract if statements to variable (#730)

* Update plugin de.mannodermaus.android-junit5 to v1.10.0.0

* KON-569 Update Kmp Projects (#751)

* KON-562: Improve snippet CI verification (#724)

* KON-571 Fix `isKotlinType` Property Where Generic Types Where Treated as kotlin Collections (#754)

* KON-570 Add `KoSourceAndAliasTypeProviderCore.baseSourceType` (#753)

* KON-572 Fix for `sourcetype` stripping `?` (#756)

* KON-574 Add `isKotlinBasicType` And `isKotlinCollectionType` (#757)

* KON-570 Rename `baseSourceType` To `bareSourcetype` (#758)

* KON-570 Remove Package From `bareType` (#759)

* Add Project Icon (#761)

* Update Gitignore (#762)

* Update junit5 monorepo to v5.10.1

* Update `check_kttxt_snippets` (#764)

* KON-365 Add `indirectParents=false` Parameter (#726)

Co-authored-by: Igor Wojda <igor.wojda@gmail.com>

* Update tj-actions/changed-files action to v40 (#745)

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>

* Update plugin com.android.application to v8.1.3

* Update plugin com.android.library to v8.1.3

* Update tj-actions/changed-files action to v40.1.1

* KON-366 Change Return Type Of `containingDeclaration` (#715)

* change type of `containingDeclaration`

* remove nullability from `containingDeclaration` type

* sfix spotless and detekt

* upd tests

* use safe cast operator instead of unsafe cast operator

* fix spotless and detekt

* fix after merge

* Update plugin io.spring.dependency-management to v1.1.4

* Add Spring Snippet (#766)

* Update plugin com.android.application to v8.1.4

* Update plugin com.android.library to v8.1.4

* Fix git dir resolver uses the wrong paths (#780)

Co-authored-by: Emil Kollstrøm <e.kollstrom@sportradar.com>

* Update kotlin monorepo to v1.9.21

* Update spring boot to v3.2.0

* Update dependency org.codehaus.mojo:build-helper-maven-plugin to v3.5.0

* Update plugin detekt to v1.23.4

* Update tj-actions/changed-files action to v40.2.0

* Update dependency gradle to v8.5

* Update plugin com.android.application to v8.2.0

* Update plugin com.android.library to v8.2.0

* Update tj-actions/changed-files action to v40.2.1

* Update tj-actions/changed-files action to v40.2.2

* Update dependency androidx.navigation:navigation-fragment-ktx to v2.7.6

* Update dependency androidx.navigation:navigation-ui-ktx to v2.7.6

* Update dependency com.google.android.material:material to v1.11.0

* Update tj-actions/changed-files action to v40.2.3

* Update spring boot to v3.2.1

* Update kotlin monorepo to v1.9.22

* Update plugin com.android.application to v8.2.1

* Update plugin com.android.library to v8.2.1

* Update dependency io.mockk:mockk to v1.13.9

* Update spring boot to v3.2.2

* Update plugin com.android.application to v8.2.2

* Update plugin com.android.library to v8.2.2

* Update plugin detekt to v1.23.5

* Update dependency gradle to v8.6

* Update junit5 monorepo to v5.10.2

* Merge `main` to `develop` (#834)

* Upgrade version to 0.13.0

* Update check kttx snippets

* Update check kttx snippets

* Update check kttx snippets

* Update version

* Update scripts

* Update scripts

* Update dev readme

* Release `v0.13.0` (#688)

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: Igor Wojda <igor.wojda@gmail.com>
Co-authored-by: NataliaPeterwas <111683562+nataliapeterwas@users.noreply.github.com>
Co-authored-by: Jony Sarco <jfe.sarco@gmail.com>

* Revert "Release `v0.13.0`" (#689)

* Update Konsist in starter projects to Konsist `v0.13.0` (#697)

* Update Kotest Snippets (#701)

* Replace REGEX to allow using .. as wildcard again (#720)

* Update README.md (#771)

* Fixed broken link to the getting started guide. (#827)

* Fix wrong detection of Git root project dir (#831)

Detection never worked before because Git creates directory
called '.git', while code was checking 'git'.

* Fix test

* Disable KMP starter projects

---------

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: NataliaPeterwas <111683562+nataliapeterwas@users.noreply.github.com>
Co-authored-by: Jony Sarco <jfe.sarco@gmail.com>
Co-authored-by: Guillermo Guerrero González <3263397+guiguegon@users.noreply.github.com>
Co-authored-by: Atiq Ur Rehman <6600985@gmail.com>
Co-authored-by: Piotr Kubowicz <piotr.kubowicz@gmail.com>

* Update dependency io.ktor:ktor-server-html-builder-jvm to v2.3.8

* Rename `koTest` to `Kotest` (#837)

* Update actions/upload-artifact action to v4 (#808)

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>

* Update actions/setup-python action to v5 (#801)

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>

* Update actions/setup-java action to v4 (#797)

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>

* Update tj-actions/changed-files action to v42 (#819)

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>

* Remove "konsist-starter-" prefix from dir names (#838)

* Rename starter projects dirs

* Upd build scripts

* Fix detekt exclusion

* KON-367 Add Child Declaration References (#736)

* Add contex receivers for parent

* add integration tests

* remove parents from KoInterfaceDeclaration

* remove files

* fix spotless

* add KDocs and tests for KoParentInterfaceProvider

* add methods for KoParentClassProvider

* add tests for KoParentClassProvider

* add extensions for KoParentClassProvider and KoParentInterfaceProvider with tests

* add extensions for KoParentInterfaceProvider lists with tests

* add extensions for KoParentClassProvider lists with tests

* add simply KoUnknownParentProvider

* add KoParentProvider to KoInterfaceDeclaration

* add some additional tests fo KoParentProvider

* add additional tests for KoLocationProvider to KoParentProvider

* fix spotless and detekt

* change unknow to external

* change unknown to external in IntegrationTest

* add additional tests for KoNameProvider to KoParentDeclaration (without external)

* add additional tests KoNameProvider  for external parent to KoParentDeclaration

* fix spotless and detekt

* fix tests

* add KoExternalParentDeclaration

* add initializing classes and interfaces once

* optimalize `parents`

* remove duplication

* fix spotless and detekt

* add extensions for external parents

* add tests for KoClassDeclaration, KoInterfaceDeclaration and KoObjectDeclaration for all kind of parents

* add tests for KoExternalParentDeclaration and remove unnecessary tests for KoParentDeclaration

* fix spotless

* remove old tests from `konsist-path-tester`

* upd `ApiKonsistTest`

* restore `withParentClassOf` to AndroidSnippets

* fix test in CleanArchitectureSnippets

* remove duplication

* add package declaration to KoParentDeclaration

* add extension and tests for external parents

* fix spotless

* fix spotless

* Add sample-external-library.jar

* Add sample-external-library project

* Check sample-external-library projects

* Upd GHA scripts

* Upd docs

* upd packages

* add external classes and interfaces

* upd snippets with real external parents

* remove `external parent check`

* fix tests and remove external project

* fix tests

* fix spotless and detekt

* upd `check.yml`

* remove empty line

* remove helper project

* fix tests

* add zip project

* change kttxt script

* upd searching parents (we check also num parameters)

* add new tests

* upd class and interface

* add info about external parents

* upd tests

* move `helper-project` to `projects`

* add tests

* fix tests

* add external parent cache and `indirectParents` parameter to KoExternalParentProvider

* add tests for external parents with indirect parents

* add tests for parent interfaces with indirect parents

* fix spotless and detekt

* upd snippets and konsistTests

* upd tests for KoParentProvider

* add KoChildDeclaration, KoChildProvider and extensions for this

* upd hasChildOf and hasAllChildrenOf

* upd code in KoChildProviderCore

* add indirect children

* add example test in konsist-path-tester

* fix tests after merge

* fix spotless and detekt

* clean code

* add tests

* fix tests

* change logic of scopeFromFile and scopeFromDirectory

* fix spotless

* add missing tests

* add tests

* fix tests

* fix spotless and detekt

---------

Co-authored-by: Igor Wojda <igor.wojda@gmail.com>

* KON-578 Fix fully qualified name (#830)

It returned another name if an import wich contains the expected fully qualified
name is declared early in the same file.

* Add Tests (#842)

* Revert "Remove "konsist-starter-" prefix from dir names" (#844)

This reverts commit 2fd0592.

* Update dependency org.jetbrains.kotlin-wrappers:kotlin-react-dom to v18.2.0-pre.693 (#840)

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>

* Update dependency io.ktor:ktor-server-netty to v2.3.8

* Update dependency io.kotest:kotest-runner-junit5 to v5.8.0 (#846)

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>

* Update dependency org.jetbrains.kotlin-wrappers:kotlin-react to v18.2.0-pre.693

* Update plugin org.jetbrains.kotlin.multiplatform to v1.9.22 (#845)

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>

* Update dependency org.jetbrains.kotlinx:kotlinx-html-jvm to v0.11.0 (#849)

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>

* Update dependency org.jetbrains.kotlin-wrappers:kotlin-emotion to v11.11.1-pre.693 (#848)

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>

* Update dependency org.jetbrains.kotlin-wrappers:kotlin-emotion to v11.11.1-pre.694

* Update dependency org.jetbrains.kotlin-wrappers:kotlin-react to v18.2.0-pre.694

* Update dependency org.jetbrains.kotlin-wrappers:kotlin-react-dom to v18.2.0-pre.694

* Remove Scope Violation Suppress (#855)

* Upgrade CI Java Version (#854)

* Upgrade CI Java version to 21

* Upgrade Java version to 21

* Upgrade Java version to 21

* Upgrade Java version to 21

* Add test snippet

* zulu -> corretto

* Update plugin io.kotest.multiplatform to v5.8.0 (#850)

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>

* Update Kotlin Compiler Version (#857)

* KON-432 Add Konsist Tests Which Check That All Declarations And Providers Implement Correct Parents (#772)

* Add contex receivers for parent

* add integration tests

* remove parents from KoInterfaceDeclaration

* remove files

* fix spotless

* add KDocs and tests for KoParentInterfaceProvider

* add methods for KoParentClassProvider

* add tests for KoParentClassProvider

* add extensions for KoParentClassProvider and KoParentInterfaceProvider with tests

* add extensions for KoParentInterfaceProvider lists with tests

* add extensions for KoParentClassProvider lists with tests

* add simply KoUnknownParentProvider

* add KoParentProvider to KoInterfaceDeclaration

* add some additional tests fo KoParentProvider

* add additional tests for KoLocationProvider to KoParentProvider

* fix spotless and detekt

* change unknow to external

* change unknown to external in IntegrationTest

* add additional tests for KoNameProvider to KoParentDeclaration (without external)

* add additional tests KoNameProvider  for external parent to KoParentDeclaration

* fix spotless and detekt

* fix tests

* add KoExternalParentDeclaration

* add initializing classes and interfaces once

* optimalize `parents`

* remove duplication

* fix spotless and detekt

* add extensions for external parents

* add tests for KoClassDeclaration, KoInterfaceDeclaration and KoObjectDeclaration for all kind of parents

* add tests for KoExternalParentDeclaration and remove unnecessary tests for KoParentDeclaration

* fix spotless

* remove old tests from `konsist-path-tester`

* upd `ApiKonsistTest`

* restore `withParentClassOf` to AndroidSnippets

* fix test in CleanArchitectureSnippets

* remove duplication

* add package declaration to KoParentDeclaration

* add extension and tests for external parents

* fix spotless

* fix spotless

* Add sample-external-library.jar

* Add sample-external-library project

* Check sample-external-library projects

* Upd GHA scripts

* Upd docs

* upd packages

* add external classes and interfaces

* upd snippets with real external parents

* remove `external parent check`

* fix tests and remove external project

* fix tests

* fix spotless and detekt

* upd `check.yml`

* remove empty line

* remove helper project

* fix tests

* add zip project

* change kttxt script

* upd searching parents (we check also num parameters)

* add new tests

* upd class and interface

* add info about external parents

* upd tests

* move `helper-project` to `projects`

* add tests

* fix tests

* add external parent cache and `indirectParents` parameter to KoExternalParentProvider

* add tests for external parents with indirect parents

* add tests for parent interfaces with indirect parents

* fix spotless and detekt

* upd snippets and konsistTests

* upd tests for KoParentProvider

* fix after merge

* add all methods to KoParentClassProvider and tests for them

* upd extensions for KoParentClassProvider and tests for them

* fix api konsist tests

* upd kdocs

* fix tests

* fix spotless and detekt

* fix spotless

* fix parents

* add tests

* fix spotless and detekt

---------

Co-authored-by: Igor Wojda <igor.wojda@gmail.com>

* KON-560 Methods With KClass Parameter Fails When Name Of The Class Defined In The File Is The Same As Imported Class (#775)

* add varaibles

* rename localVariables to variables

* add extensions and tests for them

* add test for KoVariableDeclaration (on functions)

* add tests for declarations which implements KoVariableProvider

* KoVariableModifier - remove KoModifierProvider and fix fqn

* add tests in konsist-path-tester and fix detekt

* remove `includeLocal` from properties

* renames providers

* add some parametrized tests

* fix spotless and detekt

* add next tests

* add rest (in Konsist) tests for KoVariableDeclaration

* add tests for KoVariableDeclaration in `konsist-path-tester`

* fix spotless and detekt

* rename old anames to new one

* fix snippets

* fix spotless

* fix after rebase

* remove simple name from `of` methods

* fix tests

* fix spotless and detekt

* comment test

* upd hasTypeOf on the build-in kotlin types

* fix spotless

* fix after merge

* fix spotless

* KON-368 Add Tests Declaration References (#784)

* add varaibles

* rename localVariables to variables

* add extensions and tests for them

* add test for KoVariableDeclaration (on functions)

* add tests for declarations which implements KoVariableProvider

* KoVariableModifier - remove KoModifierProvider and fix fqn

* add tests in konsist-path-tester and fix detekt

* remove `includeLocal` from properties

* renames providers

* add some parametrized tests

* fix spotless and detekt

* add next tests

* add rest (in Konsist) tests for KoVariableDeclaration

* add tests for KoVariableDeclaration in `konsist-path-tester`

* fix spotless and detekt

* rename old anames to new one

* fix snippets

* fix spotless

* fix after rebase

* add KoTacitTypeProvider and tests

* add provider ext

* add missing tests

* add kdocs

* fix spotless and detekt

* add KoTestClassProvider

* add tests

* add KoTestClassProvider

* fix spotless and detekt

* add extensions and tests for them

* fix spotless

* remove overload extensions

* fix tests

* remove Tacit type from api and extract this as extensions in core

* upd logic

* upd tests

* upd code

* upd tests

* upd tests

* fix spotless and detekt

* upd kotlin version in konsist-path-tester and konsist-root-path-tester

* fix tests

* KON-264 add lists scope from directory (#778)

* add scope from directory, scopre from directories

* add tests for scopes from directories

* rollback imports

---------

Co-authored-by: Igor Wojda <igor.wojda@gmail.com>

* KON-579 Create `konsist-declaration-tester` (#858)

* add varaibles

* rename localVariables to variables

* add extensions and tests for them

* add test for KoVariableDeclaration (on functions)

* add tests for declarations which implements KoVariableProvider

* KoVariableModifier - remove KoModifierProvider and fix fqn

* add tests in konsist-path-tester and fix detekt

* remove `includeLocal` from properties

* renames providers

* add some parametrized tests

* fix spotless and detekt

* add next tests

* add rest (in Konsist) tests for KoVariableDeclaration

* add tests for KoVariableDeclaration in `konsist-path-tester`

* fix spotless and detekt

* rename old anames to new one

* fix snippets

* fix spotless

* fix after rebase

* add KoTacitTypeProvider and tests

* add provider ext

* add missing tests

* add kdocs

* fix spotless and detekt

* add KoTestClassProvider

* add tests

* add KoTestClassProvider

* fix spotless and detekt

* add extensions and tests for them

* fix spotless

* remove overload extensions

* fix tests

* remove Tacit type from api and extract this as extensions in core

* upd logic

* upd tests

* upd code

* upd tests

* upd tests

* fix spotless and detekt

* upd kotlin version in konsist-path-tester and konsist-root-path-tester

* fix tests

* add `konsist-declaration-tester` and move to this new project all tests which has no connection with path

* change comments

* add new github checks

* fix after merge

* KON-583 Add possibility to create scope passing sets of items (#861)

* fix spotless and detekt

* dix scopeFromFiles method

* remove test from architecture

* upd tests for `scopeFromFiles`

* add tests for `scopeFromDirectories`

* add tests for `scopeFromModules`

* add tests for `scopeFromSourceSets`

* upd kdocs

* KON-525 Add isReadOnly property to the KoPropertyDeclaration (#867)

* Add Slack Badge (#877)

* KON-543 Add `hasTacitType` (#773)

* add varaibles

* rename localVariables to variables

* add extensions and tests for them

* add test for KoVariableDeclaration (on functions)

* add tests for declarations which implements KoVariableProvider

* KoVariableModifier - remove KoModifierProvider and fix fqn

* add tests in konsist-path-tester and fix detekt

* remove `includeLocal` from properties

* renames providers

* add some parametrized tests

* fix spotless and detekt

* add next tests

* add rest (in Konsist) tests for KoVariableDeclaration

* add tests for KoVariableDeclaration in `konsist-path-tester`

* fix spotless and detekt

* rename old anames to new one

* fix snippets

* fix spotless

* fix after rebase

* add KoTacitTypeProvider and tests

* add provider ext

* add missing tests

* add kdocs

* fix spotless and detekt

* Clean up

---------

Co-authored-by: Igor Wojda <igor.wojda@gmail.com>

* KON-371 Initialize All `KoFiles` At Start (#878)

* Parse Declarations

* Parse Declarations

* Use declarations from KoFileDeclarationProvider

* Add Kdoc

* Restore name

* Clean up

* Clean up

* KON-547 Add Type Declarations (#868)

* add type declarations

* add first version

* upd version

* add KoFunctionTypeDeclaration

* upd code

* fix tests

* upd code

* upd code

* moving directories in tests

* add tests to KoFunctionTypeDeclaration

* add ImportAliasDeclaration

* add ImportAliasDeclaration

* fix spotless

* create one external declaration

* add import directive property to import alias declaration

* change typealias to type

* add providers for declarations

* fix tests and logic

* clean code

* add tests

* add tests for KoNullableProvider

* add KoTypeDeclarationForKoKotlinTypeProviderTest

* add KoTypeDeclarationForKoTextProviderTest

* add KoTypeDeclarationForKoNameProviderTest

* add some tests for KoKotlinTypeDeclaration

* upd structure and tests

* upd KoTypeDeclarationTest

* upd KoTypeDeclarationForKoContainingDeclarationProviderTest and KoTypeDeclarationForKoContainingFileProviderTest

* upd KoTypeDeclarationForKoLocationProviderTest

* upd KoTypeDeclarationForKoPathProviderTest

* upd KoTypeDeclarationForKoPackageProviderTest

* upd KoTypeDeclarationForKoResideInPackageProviderTest

* upd tests for KoFunctionTypeDeclaration

* add tests fo KoKotlinTypeDeclaration

* add some tests fo KoImportAliasDeclaration

* add tests fo KoImportAliasDeclaration

* add tests fo KoFunctionTypeDeclaration

* add tests fo KoFunctionTypeDeclaration

* clean code

* move directories

* upd code

* add tests for module and source set

* fix methods with KClass, like hasTypeOf

* upd code

* upd KoImportAliasDeclaration

* add alias as concrete type and fix tests

* remove unused snippets

* upd KoGenericTypeProvider in KoTypeDeclaration

* upd konsist tests

* rename `declaration` to `sourceDeclar`

* rename `declaration` to `sourceDeclaration`

* upd KoAliasProvider

* clean code

* added extensions for KoImportAliasProvider

* clean code

* fix konsist test

* add kdocs

* fix detekt

* KON-589 Upload Check results as artifacts (#880)

* Upload Test Reports

* Upload Test Reports

* Update names

* Upd artifact name

* Update name

* Use html artifacts

* KON-591 Run path test projects on MacOs (#881)

* Run on MacOs

* Run on MacOs

* KON-590 Root Path Testers Are Failin On Ubuntu (#882)

* Extract Path Checks to separate file

* Create Ubuntu path testers

* Disable checks

* Restore checks

* Restore checks

* KON-577 Layer doesn't allow string that uses a package wildcard twice (#892)

* add new tests

* upd regex

* comment test

* clean code

* add todo

* clean code

* remove unused test and upd kdoc

* upd kdoc

* KON-601 Update KDoc for `isInitialized` property (#895)

* KON-593 `KoPackageMatchingPathProviderCore.hasMatchingPath` fails on windows (#893)

* replace "\" with file separator

* add aditional tests in konsist-declaration-tester

* upd name

* fix detekt

* upd suppress annotation

* Empty-Commit

* Empty-Commit

* rename sep to separator

* fix path-tester

* KON-602 Improve layer verification (#897)

* add new tests

* upd regex

* comment test

* clean code

* add todo

* clean code

* remove unused test and upd kdoc

* upd kdoc

* upd regex and kdocs

* clean code

* Restore Kotlin Version (#899)

* Update Dev Readme (#898)

* Update kotlin monorepo (#894)

* Update kotlin monorepo

* Upd toolchain to Java 21

* Upd toolchain to Java 21

* Upd toolchain to Java 21

* Restore Kotlin

---------

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: Igor Wojda <igor.wojda@gmail.com>

* Update plugin com.android.application to v8.3.0 (#886)

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>

* Update tj-actions/changed-files action to v42.0.7 (#891)

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>

* Update plugin dokka to v1.9.20 (#885)

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>

* Update dependency org.jetbrains.kotlin-wrappers:kotlin-react-dom to v18.2.0-pre.710 (#889)

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>

* Update dependency io.ktor:ktor-server-netty to v2.3.9 (#884)

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>

* Update plugin com.android.library to v8.3.0 (#890)

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>

* Update dependency org.jetbrains.kotlin-wrappers:kotlin-react to v18.2.0-pre.710 (#888)

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>

* Update dependency org.jetbrains.kotlin-wrappers:kotlin-emotion to v11.11.1-pre.710 (#887)

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>

* Update dependency io.ktor:ktor-server-html-builder-jvm to v2.3.9 (#883)

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>

* KON-604 Update Artifact Verification (#901)

* Rename script and fail when no files

* Simplify script

* Upd name

* KON-603 Update Deprecated Version (#902)

* KON-606 Refactor Starter Projects Scripts (#906)

* Clean up run

* Update checks

* Test

* Update order

* KON-596 Add extensions to retrieve properties of the source type (#900)

* extract new provider for `sourceDeclaration`

* add properties and tests

* clean code

* add some extensions and tests for them

* add hasSourceX methods and tests for them

* add hasSourceDeclaration and hasSourceDeclarationOf

* add hasSourceXOf methods and tests for them

* clean code

* KON-586 Add KDocs for DeclarationReference (#904)

* extract new provider for `sourceDeclaration`

* add properties and tests

* clean code

* add some extensions and tests for them

* add hasSourceX methods and tests for them

* add hasSourceDeclaration and hasSourceDeclarationOf

* add hasSourceXOf methods and tests for them

* clean code

* upd kdoc

* upd kdoc

* Upd docs

---------

Co-authored-by: Igor Wojda <igor.wojda@gmail.com>

* KON-565 Upgrade Spotless (#907)

* Fix spotless issues

* Extract spotless version to libs.version.toml

* Upd snippets

* SpotlessApply

* Clean up

* Create getTomlVersion extension

* Fix detekt

* Fix snippet tests

* Fix snippet tests

* Simplify Snippet Usgae Verification Regex (#908)

* Simplify regex

* Fix spotless

* Rename CI Jobs (#909)

* Update tj-actions/changed-files action to v42.1.0

* Update dependency org.jetbrains.kotlin-wrappers:kotlin-emotion to v11.11.4-pre.711

* Update dependency org.jetbrains.kotlin-wrappers:kotlin-react to v18.2.0-pre.711 (#912)

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>

* Update dependency org.jetbrains.kotlin-wrappers:kotlin-react-dom to v18.2.0-pre.711 (#913)

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>

* KON-609 Add Type Extensions (#914)

* Update Kdoc (#915)

* Main To Develop (#916)

* Upgrade version to 0.13.0

* Update check kttx snippets

* Update check kttx snippets

* Update check kttx snippets

* Update version

* Update scripts

* Update scripts

* Update dev readme

* Release `v0.13.0` (#688)

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: Igor Wojda <igor.wojda@gmail.com>
Co-authored-by: NataliaPeterwas <111683562+nataliapeterwas@users.noreply.github.com>
Co-authored-by: Jony Sarco <jfe.sarco@gmail.com>

* Revert "Release `v0.13.0`" (#689)

* Update Konsist in starter projects to Konsist `v0.13.0` (#697)

* Update Kotest Snippets (#701)

* Replace REGEX to allow using .. as wildcard again (#720)

* Update README.md (#771)

* Fixed broken link to the getting started guide. (#827)

* Fix wrong detection of Git root project dir (#831)

Detection never worked before because Git creates directory
called '.git', while code was checking 'git'.

* Upd linters

* Upd readme

---------

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: NataliaPeterwas <111683562+nataliapeterwas@users.noreply.github.com>
Co-authored-by: Jony Sarco <jfe.sarco@gmail.com>
Co-authored-by: Guillermo Guerrero González <3263397+guiguegon@users.noreply.github.com>
Co-authored-by: Atiq Ur Rehman <6600985@gmail.com>
Co-authored-by: Piotr Kubowicz <piotr.kubowicz@gmail.com>

* Revert "Main To Develop" (#918)

This reverts commit 77ea591.

* Revert "Revert "Main To Develop"" (#919)

This reverts commit 20a0bf9.

* Update dependency io.kotest:kotest-runner-junit5-jvm to v5.8.1 (#922)

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>

* Update dependency io.kotest:kotest-runner-junit5 to v5.8.1 (#921)

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>

* Main=to Develop (#923)

* Upgrade version to 0.13.0

* Update check kttx snippets

* Update check kttx snippets

* Update check kttx snippets

* Update version

* Update scripts

* Update scripts

* Update dev readme

* Release `v0.13.0` (#688)

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: Igor Wojda <igor.wojda@gmail.com>
Co-authored-by: NataliaPeterwas <111683562+nataliapeterwas@users.noreply.github.com>
Co-authored-by: Jony Sarco <jfe.sarco@gmail.com>

* Revert "Release `v0.13.0`" (#689)

* Update Konsist in starter projects to Konsist `v0.13.0` (#697)

* Update Kotest Snippets (#701)

* Replace REGEX to allow using .. as wildcard again (#720)

* Update README.md (#771)

* Fixed broken link to the getting started guide. (#827)

* Fix wrong detection of Git root project dir (#831)

Detection never worked before because Git creates directory
called '.git', while code was checking 'git'.

* Fix spotless

---------

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: NataliaPeterwas <111683562+nataliapeterwas@users.noreply.github.com>
Co-authored-by: Jony Sarco <jfe.sarco@gmail.com>
Co-authored-by: Guillermo Guerrero González <3263397+guiguegon@users.noreply.github.com>
Co-authored-by: Atiq Ur Rehman <6600985@gmail.com>
Co-authored-by: Piotr Kubowicz <piotr.kubowicz@gmail.com>

* Update dependency org.jetbrains.kotlin-wrappers:kotlin-emotion to v11.11.4-pre.712 (#924)

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>

* Update dependency org.jetbrains.kotlin-wrappers:kotlin-react to v18.2.0-pre.712 (#925)

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>

* Add Missing Kotlin Basic Types - `Unit`, `Any` and `Nothing` (#926)

* Use `sourceX` Properties (#927)

* use dedicated properties instead of writing sth like: `?.sourceDeclaration as? KoImportAliasDeclaration`

* upd tests in konsist-declaration-tester

* Update dependency org.jetbrains.kotlin-wrappers:kotlin-react-dom to v18.2.0-pre.712 (#928)

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>

* Update plugin io.kotest.multiplatform to v5.8.1 (#929)

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>

* Rename `sourceX` to `asXDeclaration()` (#930)

* use dedicated properties instead of writing sth like: `?.sourceDeclaration as? KoImportAliasDeclaration`

* upd tests in konsist-declaration-tester

* rename `sourceX` properties to `asXDeclaration`

* clean code

* Update version

* Print conditions

* Add needs

* Add if

* Add concurrency

* Fix ktlint

* Upd snippets

* Exclude documentation snippets

* Fix spotless

---------

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: NataliaPeterwas <111683562+nataliapeterwas@users.noreply.github.com>
Co-authored-by: Jony Sarco <jfe.sarco@gmail.com>
Co-authored-by: Yonatan Karp-Rudin <yonvata@gmail.com>
Co-authored-by: Mirco Franzek <ablx@users.noreply.github.com>
Co-authored-by: Emil Orvik Kollstrøm <emilok@hey.com>
Co-authored-by: Emil Kollstrøm <e.kollstrom@sportradar.com>
Co-authored-by: Guillermo Guerrero González <3263397+guiguegon@users.noreply.github.com>
Co-authored-by: Atiq Ur Rehman <6600985@gmail.com>
Co-authored-by: Piotr Kubowicz <piotr.kubowicz@gmail.com>
Co-authored-by: Jean-Baptiste Mille <jean-baptiste@sogilis.com>
igorwojda added a commit that referenced this pull request Mar 11, 2024
* Upgrade version to 0.13.0

* Update check kttx snippets

* Update check kttx snippets

* Update check kttx snippets

* Update version

* Update scripts

* Update scripts

* Update dev readme

* Release `v0.13.0` (#688)

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: Igor Wojda <igor.wojda@gmail.com>
Co-authored-by: NataliaPeterwas <111683562+nataliapeterwas@users.noreply.github.com>
Co-authored-by: Jony Sarco <jfe.sarco@gmail.com>

* Revert "Release `v0.13.0`" (#689)

* Update Konsist in starter projects to Konsist `v0.13.0` (#697)

* Update Kotest Snippets (#701)

* Replace REGEX to allow using .. as wildcard again (#720)

* Update README.md (#771)

* Fixed broken link to the getting started guide. (#827)

* Fix wrong detection of Git root project dir (#831)

Detection never worked before because Git creates directory
called '.git', while code was checking 'git'.

* Fix test

* Disable KMP starter projects

---------

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: NataliaPeterwas <111683562+nataliapeterwas@users.noreply.github.com>
Co-authored-by: Jony Sarco <jfe.sarco@gmail.com>
Co-authored-by: Guillermo Guerrero González <3263397+guiguegon@users.noreply.github.com>
Co-authored-by: Atiq Ur Rehman <6600985@gmail.com>
Co-authored-by: Piotr Kubowicz <piotr.kubowicz@gmail.com>
igorwojda added a commit that referenced this pull request Mar 11, 2024
* Upgrade version to 0.13.0

* Update check kttx snippets

* Update check kttx snippets

* Update check kttx snippets

* Update version

* Update scripts

* Update scripts

* Update dev readme

* Release `v0.13.0` (#688)

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: Igor Wojda <igor.wojda@gmail.com>
Co-authored-by: NataliaPeterwas <111683562+nataliapeterwas@users.noreply.github.com>
Co-authored-by: Jony Sarco <jfe.sarco@gmail.com>

* Revert "Release `v0.13.0`" (#689)

* Update Konsist in starter projects to Konsist `v0.13.0` (#697)

* Update Kotest Snippets (#701)

* Replace REGEX to allow using .. as wildcard again (#720)

* Update README.md (#771)

* Fixed broken link to the getting started guide. (#827)

* Fix wrong detection of Git root project dir (#831)

Detection never worked before because Git creates directory
called '.git', while code was checking 'git'.

* Upd linters

* Upd readme

---------

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: NataliaPeterwas <111683562+nataliapeterwas@users.noreply.github.com>
Co-authored-by: Jony Sarco <jfe.sarco@gmail.com>
Co-authored-by: Guillermo Guerrero González <3263397+guiguegon@users.noreply.github.com>
Co-authored-by: Atiq Ur Rehman <6600985@gmail.com>
Co-authored-by: Piotr Kubowicz <piotr.kubowicz@gmail.com>
igorwojda added a commit that referenced this pull request Mar 11, 2024
* Upgrade version to 0.13.0

* Update check kttx snippets

* Update check kttx snippets

* Update check kttx snippets

* Update version

* Update scripts

* Update scripts

* Update dev readme

* Release `v0.13.0` (#688)

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: Igor Wojda <igor.wojda@gmail.com>
Co-authored-by: NataliaPeterwas <111683562+nataliapeterwas@users.noreply.github.com>
Co-authored-by: Jony Sarco <jfe.sarco@gmail.com>

* Revert "Release `v0.13.0`" (#689)

* Update Konsist in starter projects to Konsist `v0.13.0` (#697)

* Update Kotest Snippets (#701)

* Replace REGEX to allow using .. as wildcard again (#720)

* Update README.md (#771)

* Fixed broken link to the getting started guide. (#827)

* Fix wrong detection of Git root project dir (#831)

Detection never worked before because Git creates directory
called '.git', while code was checking 'git'.

* Fix spotless

---------

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: NataliaPeterwas <111683562+nataliapeterwas@users.noreply.github.com>
Co-authored-by: Jony Sarco <jfe.sarco@gmail.com>
Co-authored-by: Guillermo Guerrero González <3263397+guiguegon@users.noreply.github.com>
Co-authored-by: Atiq Ur Rehman <6600985@gmail.com>
Co-authored-by: Piotr Kubowicz <piotr.kubowicz@gmail.com>
igorwojda added a commit that referenced this pull request Mar 11, 2024
* Upgrade version to 0.13.0

* Update check kttx snippets

* Update check kttx snippets

* Update check kttx snippets

* Update version

* Update scripts

* Update scripts

* Update dev readme

* Release `v0.13.0` (#688)

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: Igor Wojda <igor.wojda@gmail.com>
Co-authored-by: NataliaPeterwas <111683562+nataliapeterwas@users.noreply.github.com>
Co-authored-by: Jony Sarco <jfe.sarco@gmail.com>

* Revert "Release `v0.13.0`" (#689)

* Update Konsist in starter projects to Konsist `v0.13.0` (#697)

* Update Kotest Snippets (#701)

* Replace REGEX to allow using .. as wildcard again (#720)

* Update README.md (#771)

* Fixed broken link to the getting started guide. (#827)

* Fix wrong detection of Git root project dir (#831)

Detection never worked before because Git creates directory
called '.git', while code was checking 'git'.

* Fix test

* Disable KMP starter projects

---------

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: NataliaPeterwas <111683562+nataliapeterwas@users.noreply.github.com>
Co-authored-by: Jony Sarco <jfe.sarco@gmail.com>
Co-authored-by: Guillermo Guerrero González <3263397+guiguegon@users.noreply.github.com>
Co-authored-by: Atiq Ur Rehman <6600985@gmail.com>
Co-authored-by: Piotr Kubowicz <piotr.kubowicz@gmail.com>
igorwojda added a commit that referenced this pull request Mar 11, 2024
* Upgrade version to 0.13.0

* Update check kttx snippets

* Update check kttx snippets

* Update check kttx snippets

* Update version

* Update scripts

* Update scripts

* Update dev readme

* Release `v0.13.0` (#688)

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: Igor Wojda <igor.wojda@gmail.com>
Co-authored-by: NataliaPeterwas <111683562+nataliapeterwas@users.noreply.github.com>
Co-authored-by: Jony Sarco <jfe.sarco@gmail.com>

* Revert "Release `v0.13.0`" (#689)

* Update Konsist in starter projects to Konsist `v0.13.0` (#697)

* Update Kotest Snippets (#701)

* Replace REGEX to allow using .. as wildcard again (#720)

* Update README.md (#771)

* Fixed broken link to the getting started guide. (#827)

* Fix wrong detection of Git root project dir (#831)

Detection never worked before because Git creates directory
called '.git', while code was checking 'git'.

* Upd linters

* Upd readme

---------

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: NataliaPeterwas <111683562+nataliapeterwas@users.noreply.github.com>
Co-authored-by: Jony Sarco <jfe.sarco@gmail.com>
Co-authored-by: Guillermo Guerrero González <3263397+guiguegon@users.noreply.github.com>
Co-authored-by: Atiq Ur Rehman <6600985@gmail.com>
Co-authored-by: Piotr Kubowicz <piotr.kubowicz@gmail.com>
igorwojda added a commit that referenced this pull request Mar 11, 2024
* Release/v0.14.0 (#917)

* Merge `main` to `develop` (#691)

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: Igor Wojda <igor.wojda@gmail.com>
Co-authored-by: NataliaPeterwas <111683562+nataliapeterwas@users.noreply.github.com>
Co-authored-by: Jony Sarco <jfe.sarco@gmail.com>

* Add Article (#696)

* Merge main to develop (#699)

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: Igor Wojda <igor.wojda@gmail.com>
Co-authored-by: NataliaPeterwas <111683562+nataliapeterwas@users.noreply.github.com>
Co-authored-by: Jony Sarco <jfe.sarco@gmail.com>

* Fix Artifact Upload (#698)

* Update Kotest Snippets (#700)

* KON-531 Add Dynamic Test Samples (#702)

* Upd Konsist Artifact Description (#703)

* Add Article (#705)

* Fix Typo (#704)

* Update Dynamic Tests (#706)

* KON-537 Update `update Snippets Script` To Make Sure PR Is Opened From The Newest Version Of Docs (#695)

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: Igor Wojda <igor.wojda@gmail.com>
Co-authored-by: NataliaPeterwas <111683562+nataliapeterwas@users.noreply.github.com>
Co-authored-by: Jony Sarco <jfe.sarco@gmail.com>

* Add Article "Konsist and Conquer: Embracing the World of Dynamic Testing" (#708)

* Update plugin testLogger to v4 (#710)

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>

* Update tj-actions/changed-files action to v39.2.2

* Add "ArchUnit vs Konsist in Android (Kotlin-oriented) codebase. A comparison of hidden implementation checks" Article3 (#713)

* KON-538 Add `testName` To `assertArchitecture` (#712)

* Update Sample Projects Docs (#716)

* Update plugin dokka to v1.9.10

* Update README.md

* Upd Snippets (#723)

* Update tj-actions/changed-files action to v39.2.3

* Update spring boot to v3.1.5

* KON-553: Allow `null` values in representsType() (#719)

* KON-553 Followup (#732)

* KON-369 Add Parent Declaration References (#709)

Co-authored-by: Igor Wojda <igor.wojda@gmail.com>

* Upd docs (#733)

* KON-563: Run only 1 CI pipeline in parallel for each PR (#725)

* Upd docs (#734)

* Update tj-actions/changed-files action to v39.2.4

* KON-205 Add Konsist Test Which Check That All Core Declarations Override `toString` (#735)

* Add Snippet (#740)

* Update dependency androidx.navigation:navigation-fragment-ktx to v2.7.5 (#741)

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>

* KON-541 Add KoVariableDeclaration (#717)

* Update dependency androidx.navigation:navigation-ui-ktx to v2.7.5

* Update plugin detekt to v1.23.3

* Update kotlin monorepo to v1.9.20

* Update dependency io.kotest:kotest-runner-junit5 to v5.8.0

* Update dependency io.kotest:kotest-runner-junit5-jvm to v5.8.0

* Update plugin io.kotest.multiplatform to v5.8.0

* Improve Gradle build performance (#749)

* KON-564 Extract if statements to variable (#730)

* Update plugin de.mannodermaus.android-junit5 to v1.10.0.0

* KON-569 Update Kmp Projects (#751)

* KON-562: Improve snippet CI verification (#724)

* KON-571 Fix `isKotlinType` Property Where Generic Types Where Treated as kotlin Collections (#754)

* KON-570 Add `KoSourceAndAliasTypeProviderCore.baseSourceType` (#753)

* KON-572 Fix for `sourcetype` stripping `?` (#756)

* KON-574 Add `isKotlinBasicType` And `isKotlinCollectionType` (#757)

* KON-570 Rename `baseSourceType` To `bareSourcetype` (#758)

* KON-570 Remove Package From `bareType` (#759)

* Add Project Icon (#761)

* Update Gitignore (#762)

* Update junit5 monorepo to v5.10.1

* Update `check_kttxt_snippets` (#764)

* KON-365 Add `indirectParents=false` Parameter (#726)

Co-authored-by: Igor Wojda <igor.wojda@gmail.com>

* Update tj-actions/changed-files action to v40 (#745)

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>

* Update plugin com.android.application to v8.1.3

* Update plugin com.android.library to v8.1.3

* Update tj-actions/changed-files action to v40.1.1

* KON-366 Change Return Type Of `containingDeclaration` (#715)

* change type of `containingDeclaration`

* remove nullability from `containingDeclaration` type

* sfix spotless and detekt

* upd tests

* use safe cast operator instead of unsafe cast operator

* fix spotless and detekt

* fix after merge

* Update plugin io.spring.dependency-management to v1.1.4

* Add Spring Snippet (#766)

* Update plugin com.android.application to v8.1.4

* Update plugin com.android.library to v8.1.4

* Fix git dir resolver uses the wrong paths (#780)

Co-authored-by: Emil Kollstrøm <e.kollstrom@sportradar.com>

* Update kotlin monorepo to v1.9.21

* Update spring boot to v3.2.0

* Update dependency org.codehaus.mojo:build-helper-maven-plugin to v3.5.0

* Update plugin detekt to v1.23.4

* Update tj-actions/changed-files action to v40.2.0

* Update dependency gradle to v8.5

* Update plugin com.android.application to v8.2.0

* Update plugin com.android.library to v8.2.0

* Update tj-actions/changed-files action to v40.2.1

* Update tj-actions/changed-files action to v40.2.2

* Update dependency androidx.navigation:navigation-fragment-ktx to v2.7.6

* Update dependency androidx.navigation:navigation-ui-ktx to v2.7.6

* Update dependency com.google.android.material:material to v1.11.0

* Update tj-actions/changed-files action to v40.2.3

* Update spring boot to v3.2.1

* Update kotlin monorepo to v1.9.22

* Update plugin com.android.application to v8.2.1

* Update plugin com.android.library to v8.2.1

* Update dependency io.mockk:mockk to v1.13.9

* Update spring boot to v3.2.2

* Update plugin com.android.application to v8.2.2

* Update plugin com.android.library to v8.2.2

* Update plugin detekt to v1.23.5

* Update dependency gradle to v8.6

* Update junit5 monorepo to v5.10.2

* Merge `main` to `develop` (#834)

* Upgrade version to 0.13.0

* Update check kttx snippets

* Update check kttx snippets

* Update check kttx snippets

* Update version

* Update scripts

* Update scripts

* Update dev readme

* Release `v0.13.0` (#688)

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: Igor Wojda <igor.wojda@gmail.com>
Co-authored-by: NataliaPeterwas <111683562+nataliapeterwas@users.noreply.github.com>
Co-authored-by: Jony Sarco <jfe.sarco@gmail.com>

* Revert "Release `v0.13.0`" (#689)

* Update Konsist in starter projects to Konsist `v0.13.0` (#697)

* Update Kotest Snippets (#701)

* Replace REGEX to allow using .. as wildcard again (#720)

* Update README.md (#771)

* Fixed broken link to the getting started guide. (#827)

* Fix wrong detection of Git root project dir (#831)

Detection never worked before because Git creates directory
called '.git', while code was checking 'git'.

* Fix test

* Disable KMP starter projects

---------

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: NataliaPeterwas <111683562+nataliapeterwas@users.noreply.github.com>
Co-authored-by: Jony Sarco <jfe.sarco@gmail.com>
Co-authored-by: Guillermo Guerrero González <3263397+guiguegon@users.noreply.github.com>
Co-authored-by: Atiq Ur Rehman <6600985@gmail.com>
Co-authored-by: Piotr Kubowicz <piotr.kubowicz@gmail.com>

* Update dependency io.ktor:ktor-server-html-builder-jvm to v2.3.8

* Rename `koTest` to `Kotest` (#837)

* Update actions/upload-artifact action to v4 (#808)

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>

* Update actions/setup-python action to v5 (#801)

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>

* Update actions/setup-java action to v4 (#797)

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>

* Update tj-actions/changed-files action to v42 (#819)

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>

* Remove "konsist-starter-" prefix from dir names (#838)

* Rename starter projects dirs

* Upd build scripts

* Fix detekt exclusion

* KON-367 Add Child Declaration References (#736)

* Add contex receivers for parent

* add integration tests

* remove parents from KoInterfaceDeclaration

* remove files

* fix spotless

* add KDocs and tests for KoParentInterfaceProvider

* add methods for KoParentClassProvider

* add tests for KoParentClassProvider

* add extensions for KoParentClassProvider and KoParentInterfaceProvider with tests

* add extensions for KoParentInterfaceProvider lists with tests

* add extensions for KoParentClassProvider lists with tests

* add simply KoUnknownParentProvider

* add KoParentProvider to KoInterfaceDeclaration

* add some additional tests fo KoParentProvider

* add additional tests for KoLocationProvider to KoParentProvider

* fix spotless and detekt

* change unknow to external

* change unknown to external in IntegrationTest

* add additional tests for KoNameProvider to KoParentDeclaration (without external)

* add additional tests KoNameProvider  for external parent to KoParentDeclaration

* fix spotless and detekt

* fix tests

* add KoExternalParentDeclaration

* add initializing classes and interfaces once

* optimalize `parents`

* remove duplication

* fix spotless and detekt

* add extensions for external parents

* add tests for KoClassDeclaration, KoInterfaceDeclaration and KoObjectDeclaration for all kind of parents

* add tests for KoExternalParentDeclaration and remove unnecessary tests for KoParentDeclaration

* fix spotless

* remove old tests from `konsist-path-tester`

* upd `ApiKonsistTest`

* restore `withParentClassOf` to AndroidSnippets

* fix test in CleanArchitectureSnippets

* remove duplication

* add package declaration to KoParentDeclaration

* add extension and tests for external parents

* fix spotless

* fix spotless

* Add sample-external-library.jar

* Add sample-external-library project

* Check sample-external-library projects

* Upd GHA scripts

* Upd docs

* upd packages

* add external classes and interfaces

* upd snippets with real external parents

* remove `external parent check`

* fix tests and remove external project

* fix tests

* fix spotless and detekt

* upd `check.yml`

* remove empty line

* remove helper project

* fix tests

* add zip project

* change kttxt script

* upd searching parents (we check also num parameters)

* add new tests

* upd class and interface

* add info about external parents

* upd tests

* move `helper-project` to `projects`

* add tests

* fix tests

* add external parent cache and `indirectParents` parameter to KoExternalParentProvider

* add tests for external parents with indirect parents

* add tests for parent interfaces with indirect parents

* fix spotless and detekt

* upd snippets and konsistTests

* upd tests for KoParentProvider

* add KoChildDeclaration, KoChildProvider and extensions for this

* upd hasChildOf and hasAllChildrenOf

* upd code in KoChildProviderCore

* add indirect children

* add example test in konsist-path-tester

* fix tests after merge

* fix spotless and detekt

* clean code

* add tests

* fix tests

* change logic of scopeFromFile and scopeFromDirectory

* fix spotless

* add missing tests

* add tests

* fix tests

* fix spotless and detekt

---------

Co-authored-by: Igor Wojda <igor.wojda@gmail.com>

* KON-578 Fix fully qualified name (#830)

It returned another name if an import wich contains the expected fully qualified
name is declared early in the same file.

* Add Tests (#842)

* Revert "Remove "konsist-starter-" prefix from dir names" (#844)

This reverts commit 2fd0592706604d8e6b0154f671c9e0220b516bc8.

* Update dependency org.jetbrains.kotlin-wrappers:kotlin-react-dom to v18.2.0-pre.693 (#840)

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>

* Update dependency io.ktor:ktor-server-netty to v2.3.8

* Update dependency io.kotest:kotest-runner-junit5 to v5.8.0 (#846)

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>

* Update dependency org.jetbrains.kotlin-wrappers:kotlin-react to v18.2.0-pre.693

* Update plugin org.jetbrains.kotlin.multiplatform to v1.9.22 (#845)

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>

* Update dependency org.jetbrains.kotlinx:kotlinx-html-jvm to v0.11.0 (#849)

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>

* Update dependency org.jetbrains.kotlin-wrappers:kotlin-emotion to v11.11.1-pre.693 (#848)

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>

* Update dependency org.jetbrains.kotlin-wrappers:kotlin-emotion to v11.11.1-pre.694

* Update dependency org.jetbrains.kotlin-wrappers:kotlin-react to v18.2.0-pre.694

* Update dependency org.jetbrains.kotlin-wrappers:kotlin-react-dom to v18.2.0-pre.694

* Remove Scope Violation Suppress (#855)

* Upgrade CI Java Version (#854)

* Upgrade CI Java version to 21

* Upgrade Java version to 21

* Upgrade Java version to 21

* Upgrade Java version to 21

* Add test snippet

* zulu -> corretto

* Update plugin io.kotest.multiplatform to v5.8.0 (#850)

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>

* Update Kotlin Compiler Version (#857)

* KON-432 Add Konsist Tests Which Check That All Declarations And Providers Implement Correct Parents (#772)

* Add contex receivers for parent

* add integration tests

* remove parents from KoInterfaceDeclaration

* remove files

* fix spotless

* add KDocs and tests for KoParentInterfaceProvider

* add methods for KoParentClassProvider

* add tests for KoParentClassProvider

* add extensions for KoParentClassProvider and KoParentInterfaceProvider with tests

* add extensions for KoParentInterfaceProvider lists with tests

* add extensions for KoParentClassProvider lists with tests

* add simply KoUnknownParentProvider

* add KoParentProvider to KoInterfaceDeclaration

* add some additional tests fo KoParentProvider

* add additional tests for KoLocationProvider to KoParentProvider

* fix spotless and detekt

* change unknow to external

* change unknown to external in IntegrationTest

* add additional tests for KoNameProvider to KoParentDeclaration (without external)

* add additional tests KoNameProvider  for external parent to KoParentDeclaration

* fix spotless and detekt

* fix tests

* add KoExternalParentDeclaration

* add initializing classes and interfaces once

* optimalize `parents`

* remove duplication

* fix spotless and detekt

* add extensions for external parents

* add tests for KoClassDeclaration, KoInterfaceDeclaration and KoObjectDeclaration for all kind of parents

* add tests for KoExternalParentDeclaration and remove unnecessary tests for KoParentDeclaration

* fix spotless

* remove old tests from `konsist-path-tester`

* upd `ApiKonsistTest`

* restore `withParentClassOf` to AndroidSnippets

* fix test in CleanArchitectureSnippets

* remove duplication

* add package declaration to KoParentDeclaration

* add extension and tests for external parents

* fix spotless

* fix spotless

* Add sample-external-library.jar

* Add sample-external-library project

* Check sample-external-library projects

* Upd GHA scripts

* Upd docs

* upd packages

* add external classes and interfaces

* upd snippets with real external parents

* remove `external parent check`

* fix tests and remove external project

* fix tests

* fix spotless and detekt

* upd `check.yml`

* remove empty line

* remove helper project

* fix tests

* add zip project

* change kttxt script

* upd searching parents (we check also num parameters)

* add new tests

* upd class and interface

* add info about external parents

* upd tests

* move `helper-project` to `projects`

* add tests

* fix tests

* add external parent cache and `indirectParents` parameter to KoExternalParentProvider

* add tests for external parents with indirect parents

* add tests for parent interfaces with indirect parents

* fix spotless and detekt

* upd snippets and konsistTests

* upd tests for KoParentProvider

* fix after merge

* add all methods to KoParentClassProvider and tests for them

* upd extensions for KoParentClassProvider and tests for them

* fix api konsist tests

* upd kdocs

* fix tests

* fix spotless and detekt

* fix spotless

* fix parents

* add tests

* fix spotless and detekt

---------

Co-authored-by: Igor Wojda <igor.wojda@gmail.com>

* KON-560 Methods With KClass Parameter Fails When Name Of The Class Defined In The File Is The Same As Imported Class (#775)

* add varaibles

* rename localVariables to variables

* add extensions and tests for them

* add test for KoVariableDeclaration (on functions)

* add tests for declarations which implements KoVariableProvider

* KoVariableModifier - remove KoModifierProvider and fix fqn

* add tests in konsist-path-tester and fix detekt

* remove `includeLocal` from properties

* renames providers

* add some parametrized tests

* fix spotless and detekt

* add next tests

* add rest (in Konsist) tests for KoVariableDeclaration

* add tests for KoVariableDeclaration in `konsist-path-tester`

* fix spotless and detekt

* rename old anames to new one

* fix snippets

* fix spotless

* fix after rebase

* remove simple name from `of` methods

* fix tests

* fix spotless and detekt

* comment test

* upd hasTypeOf on the build-in kotlin types

* fix spotless

* fix after merge

* fix spotless

* KON-368 Add Tests Declaration References (#784)

* add varaibles

* rename localVariables to variables

* add extensions and tests for them

* add test for KoVariableDeclaration (on functions)

* add tests for declarations which implements KoVariableProvider

* KoVariableModifier - remove KoModifierProvider and fix fqn

* add tests in konsist-path-tester and fix detekt

* remove `includeLocal` from properties

* renames providers

* add some parametrized tests

* fix spotless and detekt

* add next tests

* add rest (in Konsist) tests for KoVariableDeclaration

* add tests for KoVariableDeclaration in `konsist-path-tester`

* fix spotless and detekt

* rename old anames to new one

* fix snippets

* fix spotless

* fix after rebase

* add KoTacitTypeProvider and tests

* add provider ext

* add missing tests

* add kdocs

* fix spotless and detekt

* add KoTestClassProvider

* add tests

* add KoTestClassProvider

* fix spotless and detekt

* add extensions and tests for them

* fix spotless

* remove overload extensions

* fix tests

* remove Tacit type from api and extract this as extensions in core

* upd logic

* upd tests

* upd code

* upd tests

* upd tests

* fix spotless and detekt

* upd kotlin version in konsist-path-tester and konsist-root-path-tester

* fix tests

* KON-264 add lists scope from directory (#778)

* add scope from directory, scopre from directories

* add tests for scopes from directories

* rollback imports

---------

Co-authored-by: Igor Wojda <igor.wojda@gmail.com>

* KON-579 Create `konsist-declaration-tester` (#858)

* add varaibles

* rename localVariables to variables

* add extensions and tests for them

* add test for KoVariableDeclaration (on functions)

* add tests for declarations which implements KoVariableProvider

* KoVariableModifier - remove KoModifierProvider and fix fqn

* add tests in konsist-path-tester and fix detekt

* remove `includeLocal` from properties

* renames providers

* add some parametrized tests

* fix spotless and detekt

* add next tests

* add rest (in Konsist) tests for KoVariableDeclaration

* add tests for KoVariableDeclaration in `konsist-path-tester`

* fix spotless and detekt

* rename old anames to new one

* fix snippets

* fix spotless

* fix after rebase

* add KoTacitTypeProvider and tests

* add provider ext

* add missing tests

* add kdocs

* fix spotless and detekt

* add KoTestClassProvider

* add tests

* add KoTestClassProvider

* fix spotless and detekt

* add extensions and tests for them

* fix spotless

* remove overload extensions

* fix tests

* remove Tacit type from api and extract this as extensions in core

* upd logic

* upd tests

* upd code

* upd tests

* upd tests

* fix spotless and detekt

* upd kotlin version in konsist-path-tester and konsist-root-path-tester

* fix tests

* add `konsist-declaration-tester` and move to this new project all tests which has no connection with path

* change comments

* add new github checks

* fix after merge

* KON-583 Add possibility to create scope passing sets of items (#861)

* fix spotless and detekt

* dix scopeFromFiles method

* remove test from architecture

* upd tests for `scopeFromFiles`

* add tests for `scopeFromDirectories`

* add tests for `scopeFromModules`

* add tests for `scopeFromSourceSets`

* upd kdocs

* KON-525 Add isReadOnly property to the KoPropertyDeclaration (#867)

* Add Slack Badge (#877)

* KON-543 Add `hasTacitType` (#773)

* add varaibles

* rename localVariables to variables

* add extensions and tests for them

* add test for KoVariableDeclaration (on functions)

* add tests for declarations which implements KoVariableProvider

* KoVariableModifier - remove KoModifierProvider and fix fqn

* add tests in konsist-path-tester and fix detekt

* remove `includeLocal` from properties

* renames providers

* add some parametrized tests

* fix spotless and detekt

* add next tests

* add rest (in Konsist) tests for KoVariableDeclaration

* add tests for KoVariableDeclaration in `konsist-path-tester`

* fix spotless and detekt

* rename old anames to new one

* fix snippets

* fix spotless

* fix after rebase

* add KoTacitTypeProvider and tests

* add provider ext

* add missing tests

* add kdocs

* fix spotless and detekt

* Clean up

---------

Co-authored-by: Igor Wojda <igor.wojda@gmail.com>

* KON-371 Initialize All `KoFiles` At Start (#878)

* Parse Declarations

* Parse Declarations

* Use declarations from KoFileDeclarationProvider

* Add Kdoc

* Restore name

* Clean up

* Clean up

* KON-547 Add Type Declarations (#868)

* add type declarations

* add first version

* upd version

* add KoFunctionTypeDeclaration

* upd code

* fix tests

* upd code

* upd code

* moving directories in tests

* add tests to KoFunctionTypeDeclaration

* add ImportAliasDeclaration

* add ImportAliasDeclaration

* fix spotless

* create one external declaration

* add import directive property to import alias declaration

* change typealias to type

* add providers for declarations

* fix tests and logic

* clean code

* add tests

* add tests for KoNullableProvider

* add KoTypeDeclarationForKoKotlinTypeProviderTest

* add KoTypeDeclarationForKoTextProviderTest

* add KoTypeDeclarationForKoNameProviderTest

* add some tests for KoKotlinTypeDeclaration

* upd structure and tests

* upd KoTypeDeclarationTest

* upd KoTypeDeclarationForKoContainingDeclarationProviderTest and KoTypeDeclarationForKoContainingFileProviderTest

* upd KoTypeDeclarationForKoLocationProviderTest

* upd KoTypeDeclarationForKoPathProviderTest

* upd KoTypeDeclarationForKoPackageProviderTest

* upd KoTypeDeclarationForKoResideInPackageProviderTest

* upd tests for KoFunctionTypeDeclaration

* add tests fo KoKotlinTypeDeclaration

* add some tests fo KoImportAliasDeclaration

* add tests fo KoImportAliasDeclaration

* add tests fo KoFunctionTypeDeclaration

* add tests fo KoFunctionTypeDeclaration

* clean code

* move directories

* upd code

* add tests for module and source set

* fix methods with KClass, like hasTypeOf

* upd code

* upd KoImportAliasDeclaration

* add alias as concrete type and fix tests

* remove unused snippets

* upd KoGenericTypeProvider in KoTypeDeclaration

* upd konsist tests

* rename `declaration` to `sourceDeclar`

* rename `declaration` to `sourceDeclaration`

* upd KoAliasProvider

* clean code

* added extensions for KoImportAliasProvider

* clean code

* fix konsist test

* add kdocs

* fix detekt

* KON-589 Upload Check results as artifacts (#880)

* Upload Test Reports

* Upload Test Reports

* Update names

* Upd artifact name

* Update name

* Use html artifacts

* KON-591 Run path test projects on MacOs (#881)

* Run on MacOs

* Run on MacOs

* KON-590 Root Path Testers Are Failin On Ubuntu (#882)

* Extract Path Checks to separate file

* Create Ubuntu path testers

* Disable checks

* Restore checks

* Restore checks

* KON-577 Layer doesn't allow string that uses a package wildcard twice (#892)

* add new tests

* upd regex

* comment test

* clean code

* add todo

* clean code

* remove unused test and upd kdoc

* upd kdoc

* KON-601 Update KDoc for `isInitialized` property (#895)

* KON-593 `KoPackageMatchingPathProviderCore.hasMatchingPath` fails on windows (#893)

* replace "\" with file separator

* add aditional tests in konsist-declaration-tester

* upd name

* fix detekt

* upd suppress annotation

* Empty-Commit

* Empty-Commit

* rename sep to separator

* fix path-tester

* KON-602 Improve layer verification (#897)

* add new tests

* upd regex

* comment test

* clean code

* add todo

* clean code

* remove unused test and upd kdoc

* upd kdoc

* upd regex and kdocs

* clean code

* Restore Kotlin Version (#899)

* Update Dev Readme (#898)

* Update kotlin monorepo (#894)

* Update kotlin monorepo

* Upd toolchain to Java 21

* Upd toolchain to Java 21

* Upd toolchain to Java 21

* Restore Kotlin

---------

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: Igor Wojda <igor.wojda@gmail.com>

* Update plugin com.android.application to v8.3.0 (#886)

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>

* Update tj-actions/changed-files action to v42.0.7 (#891)

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>

* Update plugin dokka to v1.9.20 (#885)

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>

* Update dependency org.jetbrains.kotlin-wrappers:kotlin-react-dom to v18.2.0-pre.710 (#889)

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>

* Update dependency io.ktor:ktor-server-netty to v2.3.9 (#884)

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>

* Update plugin com.android.library to v8.3.0 (#890)

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>

* Update dependency org.jetbrains.kotlin-wrappers:kotlin-react to v18.2.0-pre.710 (#888)

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>

* Update dependency org.jetbrains.kotlin-wrappers:kotlin-emotion to v11.11.1-pre.710 (#887)

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>

* Update dependency io.ktor:ktor-server-html-builder-jvm to v2.3.9 (#883)

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>

* KON-604 Update Artifact Verification (#901)

* Rename script and fail when no files

* Simplify script

* Upd name

* KON-603 Update Deprecated Version (#902)

* KON-606 Refactor Starter Projects Scripts (#906)

* Clean up run

* Update checks

* Test

* Update order

* KON-596 Add extensions to retrieve properties of the source type (#900)

* extract new provider for `sourceDeclaration`

* add properties and tests

* clean code

* add some extensions and tests for them

* add hasSourceX methods and tests for them

* add hasSourceDeclaration and hasSourceDeclarationOf

* add hasSourceXOf methods and tests for them

* clean code

* KON-586 Add KDocs for DeclarationReference (#904)

* extract new provider for `sourceDeclaration`

* add properties and tests

* clean code

* add some extensions and tests for them

* add hasSourceX methods and tests for them

* add hasSourceDeclaration and hasSourceDeclarationOf

* add hasSourceXOf methods and tests for them

* clean code

* upd kdoc

* upd kdoc

* Upd docs

---------

Co-authored-by: Igor Wojda <igor.wojda@gmail.com>

* KON-565 Upgrade Spotless (#907)

* Fix spotless issues

* Extract spotless version to libs.version.toml

* Upd snippets

* SpotlessApply

* Clean up

* Create getTomlVersion extension

* Fix detekt

* Fix snippet tests

* Fix snippet tests

* Simplify Snippet Usgae Verification Regex (#908)

* Simplify regex

* Fix spotless

* Rename CI Jobs (#909)

* Update tj-actions/changed-files action to v42.1.0

* Update dependency org.jetbrains.kotlin-wrappers:kotlin-emotion to v11.11.4-pre.711

* Update dependency org.jetbrains.kotlin-wrappers:kotlin-react to v18.2.0-pre.711 (#912)

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>

* Update dependency org.jetbrains.kotlin-wrappers:kotlin-react-dom to v18.2.0-pre.711 (#913)

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>

* KON-609 Add Type Extensions (#914)

* Update Kdoc (#915)

* Main To Develop (#916)

* Upgrade version to 0.13.0

* Update check kttx snippets

* Update check kttx snippets

* Update check kttx snippets

* Update version

* Update scripts

* Update scripts

* Update dev readme

* Release `v0.13.0` (#688)

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: Igor Wojda <igor.wojda@gmail.com>
Co-authored-by: NataliaPeterwas <111683562+nataliapeterwas@users.noreply.github.com>
Co-authored-by: Jony Sarco <jfe.sarco@gmail.com>

* Revert "Release `v0.13.0`" (#689)

* Update Konsist in starter projects to Konsist `v0.13.0` (#697)

* Update Kotest Snippets (#701)

* Replace REGEX to allow using .. as wildcard again (#720)

* Update README.md (#771)

* Fixed broken link to the getting started guide. (#827)

* Fix wrong detection of Git root project dir (#831)

Detection never worked before because Git creates directory
called '.git', while code was checking 'git'.

* Upd linters

* Upd readme

---------

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: NataliaPeterwas <111683562+nataliapeterwas@users.noreply.github.com>
Co-authored-by: Jony Sarco <jfe.sarco@gmail.com>
Co-authored-by: Guillermo Guerrero González <3263397+guiguegon@users.noreply.github.com>
Co-authored-by: Atiq Ur Rehman <6600985@gmail.com>
Co-authored-by: Piotr Kubowicz <piotr.kubowicz@gmail.com>

* Revert "Main To Develop" (#918)

This reverts commit 77ea591e3492e133a44df48a7b7768dfac47b526.

* Revert "Revert "Main To Develop"" (#919)

This reverts commit 20a0bf90f29819482205bc04c84409a31a2c65e4.

* Update dependency io.kotest:kotest-runner-junit5-jvm to v5.8.1 (#922)

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>

* Update dependency io.kotest:kotest-runner-junit5 to v5.8.1 (#921)

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>

* Main=to Develop (#923)

* Upgrade version to 0.13.0

* Update check kttx snippets

* Update check kttx snippets

* Update check kttx snippets

* Update version

* Update scripts

* Update scripts

* Update dev readme

* Release `v0.13.0` (#688)

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: Igor Wojda <igor.wojda@gmail.com>
Co-authored-by: NataliaPeterwas <111683562+nataliapeterwas@users.noreply.github.com>
Co-authored-by: Jony Sarco <jfe.sarco@gmail.com>

* Revert "Release `v0.13.0`" (#689)

* Update Konsist in starter projects to Konsist `v0.13.0` (#697)

* Update Kotest Snippets (#701)

* Replace REGEX to allow using .. as wildcard again (#720)

* Update README.md (#771)

* Fixed broken link to the getting started guide. (#827)

* Fix wrong detection of Git root project dir (#831)

Detection never worked before because Git creates directory
called '.git', while code was checking 'git'.

* Fix spotless

---------

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: NataliaPeterwas <111683562+nataliapeterwas@users.noreply.github.com>
Co-authored-by: Jony Sarco <jfe.sarco@gmail.com>
Co-authored-by: Guillermo Guerrero González <3263397+guiguegon@users.noreply.github.com>
Co-authored-by: Atiq Ur Rehman <6600985@gmail.com>
Co-authored-by: Piotr Kubowicz <piotr.kubowicz@gmail.com>

* Update dependency org.jetbrains.kotlin-wrappers:kotlin-emotion to v11.11.4-pre.712 (#924)

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>

* Update dependency org.jetbrains.kotlin-wrappers:kotlin-react to v18.2.0-pre.712 (#925)

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>

* Add Missing Kotlin Basic Types - `Unit`, `Any` and `Nothing` (#926)

* Use `sourceX` Properties (#927)

* use dedicated properties instead of writing sth like: `?.sourceDeclaration as? KoImportAliasDeclaration`

* upd tests in konsist-declaration-tester

* Update dependency org.jetbrains.kotlin-wrappers:kotlin-react-dom to v18.2.0-pre.712 (#928)

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>

* Update plugin io.kotest.multiplatform to v5.8.1 (#929)

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>

* Rename `sourceX` to `asXDeclaration()` (#930)

* use dedicated properties instead of writing sth like: `?.sourceDeclaration as? KoImportAliasDeclaration`

* upd tests in konsist-declaration-tester

* rename `sourceX` properties to `asXDeclaration`

* clean code

* Update version

* Print conditions

* Add needs

* Add if

* Add concurrency

* Fix ktlint

* Upd snippets

* Exclude documentation snippets

* Fix spotless

---------

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: NataliaPeterwas <111683562+nataliapeterwas@users.noreply.github.com>
Co-authored-by: Jony Sarco <jfe.sarco@gmail.com>
Co-authored-by: Yonatan Karp-Rudin <yonvata@gmail.com>
Co-authored-by: Mirco Franzek <ablx@users.noreply.github.com>
Co-authored-by: Emil Orvik Kollstrøm <emilok@hey.com>
Co-authored-by: Emil Kollstrøm <e.kollstrom@sportradar.com>
Co-authored-by: Guillermo Guerrero González <3263397+guiguegon@users.noreply.github.com>
Co-authored-by: Atiq Ur Rehman <6600985@gmail.com>
Co-authored-by: Piotr Kubowicz <piotr.kubowicz@gmail.com>
Co-authored-by: Jean-Baptiste Mille <jean-baptiste@sogilis.com>

* Revert "Release/v0.14.0" (#932)

This reverts commit b3a6e22bbd9228eee675affeee98ad065302fa96.

* Add Article (#696)

* Fix Artifact Upload (#698)

* KON-531 Add Dynamic Test Samples (#702)

* Upd Konsist Artifact Description (#703)

* Add Article (#705)

* Fix Typo (#704)

* Update Dynamic Tests (#706)

* KON-537 Update `update Snippets Script` To Make Sure PR Is Opened From The Newest Version Of Docs (#695)

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: Igor Wojda <igor.wojda@gmail.com>
Co-authored-by: NataliaPeterwas <111683562+nataliapeterwas@users.noreply.github.com>
Co-authored-by: Jony Sarco <jfe.sarco@gmail.com>

* Add Article "Konsist and Conquer: Embracing the World of Dynamic Testing" (#708)

* Update plugin testLogger to v4 (#710)

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>

* Update tj-actions/changed-files action to v39.2.2

* Add "ArchUnit vs Konsist in Android (Kotlin-oriented) codebase. A comparison of hidden implementation checks" Article3 (#713)

* KON-538 Add `testName` To `assertArchitecture` (#712)

* Update Sample Projects Docs (#716)

* Update plugin dokka to v1.9.10

* Update README.md

* Upd Snippets (#723)

* Update tj-actions/changed-files action to v39.2.3

* Update spring boot to v3.1.5

* KON-553: Allow `null` values in representsType() (#719)

* KON-553 Followup (#732)

* KON-369 Add Parent Declaration References (#709)

Co-authored-by: Igor Wojda <igor.wojda@gmail.com>

* Upd docs (#733)

* KON-563: Run only 1 CI pipeline in parallel for each PR (#725)

* Upd docs (#734)

* Update tj-actions/changed-files action to v39.2.4

* KON-205 Add Konsist Test Which Check That All Core Declarations Override `toString` (#735)

* Add Snippet (#740)

* Update dependency androidx.navigation:navigation-fragment-ktx to v2.7.5 (#741)

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>

* KON-541 Add KoVariableDeclaration (#717)

* Update dependency androidx.navigation:navigation-ui-ktx to v2.7.5

* Update plugin detekt to v1.23.3

* Update kotlin monorepo to v1.9.20

* Update dependency io.kotest:kotest-runner-junit5 to v5.8.0

* Update dependency io.kotest:kotest-runner-junit5-jvm to v5.8.0

* Update plugin io.kotest.multiplatform to v5.8.0

* Improve Gradle build performance (#749)

* KON-564 Extract if statements to variable (#730)

* Update plugin de.mannodermaus.android-junit5 to v1.10.0.0

* KON-569 Update Kmp Projects (#751)

* KON-562: Improve snippet CI verification (#724)

* KON-571 Fix `isKotlinType` Property Where Generic Types Where Treated as kotlin Collections (#754)

* KON-570 Add `KoSourceAndAliasTypeProviderCore.baseSourceType` (#753)

* KON-572 Fix for `sourcetype` stripping `?` (#756)

* KON-574 Add `isKotlinBasicType` And `isKotlinCollectionType` (#757)

* KON-570 Rename `baseSourceType` To `bareSourcetype` (#758)

* KON-570 Remove Package From `bareType` (#759)

* Add Project Icon (#761)

* Update Gitignore (#762)

* Update junit5 monorepo to v5.10.1

* Update `check_kttxt_snippets` (#764)

* KON-365 Add `indirectParents=false` Parameter (#726)

Co-authored-by: Igor Wojda <igor.wojda@gmail.com>

* Update tj-actions/changed-files action to v40 (#745)

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>

* Update plugin com.android.application to v8.1.3

* Update plugin com.android.library to v8.1.3

* Update tj-actions/changed-files action to v40.1.1

* KON-366 Change Return Type Of `containingDeclaration` (#715)

* change type of `containingDeclaration`

* remove nullability from `containingDeclaration` type

* sfix spotless and detekt

* upd tests

* use safe cast operator instead of unsafe cast operator

* fix spotless and detekt

* fix after merge

* Update plugin io.spring.dependency-management to v1.1.4

* Add Spring Snippet (#766)

* Update plugin com.android.application to v8.1.4

* Update plugin com.android.library to v8.1.4

* Fix git dir resolver uses the wrong paths (#780)

Co-authored-by: Emil Kollstrøm <e.kollstrom@sportradar.com>

* Update kotlin monorepo to v1.9.21

* Update spring boot to v3.2.0

* Update dependency org.codehaus.mojo:build-helper-maven-plugin to v3.5.0

* Update plugin detekt to v1.23.4

* Update tj-actions/changed-files action to v40.2.0

* Update dependency gradle to v8.5

* Update plugin com.android.application to v8.2.0

* Update plugin com.android.library to v8.2.0

* Update tj-actions/changed-files action to v40.2.1

* Update tj-actions/changed-files action to v40.2.2

* Update dependency androidx.navigation:navigation-fragment-ktx to v2.7.6

* Update dependency androidx.navigation:navigation-ui-ktx to v2.7.6

* Update dependency com.google.android.material:material to v1.11.0

* Update tj-actions/changed-files action to v40.2.3

* Update spring boot to v3.2.1

* Update kotlin monorepo to v1.9.22

* Update plugin com.android.application to v8.2.1

* Update plugin com.android.library to v8.2.1

* Update dependency io.mockk:mockk to v1.13.9

* Update spring boot to v3.2.2

* Update plugin com.android.application to v8.2.2

* Update plugin com.android.library to v8.2.2

* Update plugin detekt to v1.23.5

* Update dependency gradle to v8.6

* Update junit5 monorepo to v5.10.2

* Merge `main` to `develop` (#834)

* Upgrade version to 0.13.0

* Update check kttx snippets

* Update check kttx snippets

* Update check kttx snippets

* Update version

* Update scripts

* Update scripts

* Update dev readme

* Release `v0.13.0` (#688)

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: Igor Wojda <igor.wojda@gmail.com>
Co-authored-by: NataliaPeterwas <111683562+nataliapeterwas@users.noreply.github.com>
Co-authored-by: Jony Sarco <jfe.sarco@gmail.com>

* Revert "Release `v0.13.0`" (#689)

* Update Konsist in starter projects to Konsist `v0.13.0` (#697)

* Update Kotest Snippets (#701)

* Replace REGEX to allow using .. as wildcard again (#720)

* Update README.md (#771)

* Fixed broken link to the getting started guide. (#827)

* Fix wrong detection of Git root project dir (#831)

Detection never worked before because Git creates directory
called '.git', while code was checking 'git'.

* Fix test

* Disable KMP starter projects

---------

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: NataliaPeterwas <111683562+nataliapeterwas@users.noreply.github.com>
Co-authored-by: Jony Sarco <jfe.sarco@gmail.com>
Co-authored-by: Guillermo Guerrero González <3263397+guiguegon@users.noreply.github.com>
Co-authored-by: Atiq Ur Rehman <6600985@gmail.com>
Co-authored-by: Piotr Kubowicz <piotr.kubowicz@gmail.com>

* Update dependency io.ktor:ktor-server-html-builder-jvm to v2.3.8

* Rename `koTest` to `Kotest` (#837)

* Update actions/upload-artifact action to v4 (#808)

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>

* Update actions/setup-python action to v5 (#801)

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>

* Update actions/setup-java action to v4 (#797)

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>

* Update tj-actions/changed-files action to v42 (#819)

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>

* Remove "konsist-starter-" prefix from dir names (#838)

* Rename starter projects dirs

* Upd build scripts

* Fix detekt exclusion

* KON-367 Add Child Declaration References (#736)

* Add contex receivers for parent

* add integration tests

* remove parents from KoInterfaceDeclaration

* remove files

* fix spotless

* add KDocs and tests for KoParentInterfaceProvider

* add methods for KoParentClassProvider

* add tests for KoParentClassProvider

* add extensions for KoParentClassProvider and KoParentInterfaceProvider with tests

* add extensions for KoParentInterfaceProvider lists with tests

* add extensions for KoParentClassProvider lists with tests

* add simply KoUnknownParentProvider

* add KoParentProvider to KoInterfaceDeclaration

* add some additional tests fo KoParentProvider

* add additional tests for KoLocationProvider to KoParentProvider

* fix spotless and detekt

* change unknow to external

* change unknown to external in IntegrationTest

* add additional tests for KoNameProvider to KoParentDeclaration (without external)

* add additional tests KoNameProvider  for external parent to KoParentDeclaration

* fix spotless and detekt

* fix tests

* add KoExternalParentDeclaration

* add initializing classes and interfaces once

* optimalize `parents`

* remove duplication

* fix spotless and detekt

* add extensions for external parents

* add tests for KoClassDeclaration, KoInterfaceDeclaration and KoObjectDeclaration for all kind of parents

* add tests for KoExternalParentDeclaration and remove unnecessary tests for KoParentDeclaration

* fix spotless

* remove old tests from `konsist-path-tester`

* upd `ApiKonsistTest`

* restore `withParentClassOf` to AndroidSnippets

* fix test in CleanArchitectureSnippets

* remove duplication

* add package declaration to KoParentDeclaration

* add extension and tests for external parents

* fix spotless

* fix spotless

* Add sample-external-library.jar

* Add sample-external-library project

* Check sample-external-library projects

* Upd GHA scripts

* Upd docs

* upd packages

* add external classes and interfaces

* upd snippets with real external parents

* remove `external parent check`

* fix tests and remove external project

* fix tests

* fix spotless and detekt

* upd `check.yml`

* remove empty line

* remove helper project

* fix tests

* add zip project

* change kttxt script

* upd searching parents (we check also num parameters)

* add new tests

* upd class and interface

* add info about external parents

* upd tests

* move `helper-project` to `projects`

* add tests

* fix tests

* add external parent cache and `indirectParents` parameter to KoExternalParentProvider

* add tests for external parents with indirect parents

* add tests for parent interfaces with indirect parents

* fix spotless and detekt

* upd snippets and konsistTests

* upd tests for KoParentProvider

* add KoChildDeclaration, KoChildProvider and extensions for this

* upd hasChildOf and hasAllChildrenOf

* upd code in KoChildProviderCore

* add indirect children

* add example test in konsist-path-tester

* fix tests after merge

* fix spotless and detekt

* clean code

* add tests

* fix tests

* change logic of scopeFromFile and scopeFromDirectory

* fix spotless

* add missing tests

* add tests

* fix tests

* fix spotless and detekt

---------

Co-authored-by: Igor Wojda <igor.wojda@gmail.com>

* KON-578 Fix fully qualified name (#830)

It returned another name if an import wich contains the expected fully qualified
name is declared early in the same file.

* Add Tests (#842)

* Revert "Remove "konsist-starter-" prefix from dir names" (#844)

This reverts commit 2fd0592706604d8e6b0154f671c9e0220b516bc8.

* Update dependency org.jetbrains.kotlin-wrappers:kotlin-react-dom to v18.2.0-pre.693 (#840)

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>

* Update dependency io.ktor:ktor-server-netty to v2.3.8

* Update dependency io.kotest:kotest-runner-junit5 to v5.8.0 (#846)

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>

* Update dependency org.jetbrains.kotlin-wrappers:kotlin-react to v18.2.0-pre.693

* Update plugin org.jetbrains.kotlin.multiplatform to v1.9.22 (#845)

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>

* Update dependency org.jetbrains.kotlinx:kotlinx-html-jvm to v0.11.0 (#849)

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>

* Update dependency org.jetbrains.kotlin-wrappers:kotlin-emotion to v11.11.1-pre.693 (#848)

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>

* Update dependency org.jetbrains.kotlin-wrappers:kotlin-emotion to v11.11.1-pre.694

* Update dependency org.jetbrains.kotlin-wrappers:kotlin-react to v18.2.0-pre.694

* Update dependency org.jetbrains.kotlin-wrappers:kotlin-react-dom to v18.2.0-pre.694

* Remove Scope Violation Suppress (#855)

* Upgrade CI Java Version (#854)

* Upgrade CI Java version to 21

* Upgrade Java version to 21

* Upgrade Java version to 21

* Upgrade Java version to 21

* Add test snippet

* zulu -> corretto

* Update plugin io.kotest.multiplatform to v5.8.0 (#850)

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>

* Update Kotlin Compiler Version (#857)

* KON-432 Add Konsist Tests Which Check That All Declarations And Providers Implement Correct Parents (#772)

* Add contex receivers for parent

* add integration tests

* remove parents from KoInterfaceDeclaration

* remove files

* fix spotless

* add KDocs and tests for KoParentInterfaceProvider

* add methods for KoParentClassProvider

* add tests for KoParentClassProvider

* add extensions for KoParentClassProvider and KoParentInterfaceProvider with tests

* add extensions for KoParentInterfaceProvider lists with tests

* add extensions for KoParentClassProvider lists with tests

* add simply KoUnknownParentProvider

* add KoParentProvider to KoInterfaceDeclaration

* add some additional tests fo KoParentProvider

* add additional tests for KoLocationProvider to KoParentProvider

* fix spotless and detekt

* change unknow to external

* change unknown to external in IntegrationTest

* add additional tests for KoNameProvider to KoParentDeclaration (without external)

* add additional tests KoNameProvider  for external parent to KoParentDeclaration

* fix spotless and detekt

* fix tests

* add KoExternalParentDeclaration

* add initializing classes and interfaces once

* optimalize `parents`

* remove duplication

* fix spotless and detekt

* add extensions for external parents

* add tests for KoClassDeclaration, KoInterfaceDeclaration and KoObjectDeclaration for all kind of parents

* add tests for KoExternalParentDeclaration and remove unnecessary tests for KoParentDeclaration

* fix spotless

* remove old tests from `konsist-path-tester`

* upd `ApiKonsistTest`

* restore `withParentClassOf` to AndroidSnippets

* fix test in CleanArchitectureSnippets

* remove duplication

* add package declaration to KoParentDeclaration

* add extension and tests for external parents

* fix spotless

* fix spotless

* Add sample-external-library.jar

* Add sample-external-library project

* Check sample-external-library projects

* Upd GHA scripts

* Upd docs

* upd packages

* add external classes and interfaces

* upd snippets with real external parents

* remove `external parent check`

* fix tests and remove external project

* fix tests

* fix spotless and detekt

* upd `check.yml`

* remove empty line

* remove helper project

* fix tests

* add zip project

* change kttxt script

* upd searching parents (we check also num parameters)

* add new tests

* upd class and interface

* add info about external parents

* upd tests

* move `helper-project` to `projects`

* add tests

* fix tests

* add external parent cache and `indirectParents` parameter to KoExternalParentProvider

* add tests for external parents with indirect parents

* add tests for parent interfaces with indirect parents

* fix spotless and detekt

* upd snippets and konsistTests

* upd tests for KoParentProvider

* fix after merge

* add all methods to KoParentClassProvider and tests for them

* upd extensions for KoParentClassProvider and tests for them

* fix api konsist tests

* upd kdocs

* fix tests

* fix spotless and detekt

* fix spotless

* fix parents

* add tests

* fix spotless and detekt

---------

Co-authored-by: Igor Wojda <igor.wojda@gmail.com>

* KON-560 Methods With KClass Parameter Fails When Name Of The Class Defined In The File Is The Same As Imported Class (#775)

* add varaibles

* rename localVariables to variables

* add extensions and tests for them

* add test for KoVariableDeclaration (on functions)

* add tests for declarations which implements KoVariableProvider

* KoVariableModifier - remove KoModifierProvider and fix fqn

* add tests in konsist-path-tester and fix detekt

* remove `includeLocal` from properties

* renames providers

* add some parametrized tests

* fix spotless and detekt

* add next tests

* add rest (in Konsist) tests for KoVariableDeclaration

* add tests for KoVariableDeclaration in `konsist-path-tester`

* fix spotless and detekt

* rename old anames to new one

* fix snippets

* fix spotless

* fix after rebase

* remove simple name from `of` methods

* fix tests

* fix spotless and detekt

* comment test

* upd hasTypeOf on the build-in kotlin types

* fix spotless

* fix after merge

* fix spotless

* KON-368 Add Tests Declaration References (#784)

* add varaibles

* rename localVariables to variables

* add extensions and tests for them

* add test for KoVariableDeclaration (on functions)

* add tests for declarations which implements KoVariableProvider

* KoVariableModifier - remove KoModifierProvider and fix fqn

* add tests in konsist-path-tester and fix detekt

* remove `includeLocal` from properties

* renames providers

* add some parametrized tests

* fix spotless and detekt

* add next tests

* add rest (in Konsist) tests for KoVariableDeclaration

* add tests for KoVariableDeclaration in `konsist-path-tester`

* fix spotless and detekt

* rename old anames to new one

* fix snippets

* fix spotless

* fix after rebase

* add KoTacitTypeProvider and tests

* add provider ext

* add missing tests

* add kdocs

* fix spotless and detekt

* add KoTestClassProvider

* add tests

* add KoTestClassProvider

* fix spotless and detekt

* add extensions and tests for them

* fix spotless

* remove overload extensions

* fix tests

* remove Tacit type from api and extract this as extensions in core

* upd logic

* upd tests

* upd code

* upd tests

* upd tests

* fix spotless and detekt

* upd kotlin version in konsist-path-tester and konsist-root-path-tester

* fix tests

* KON-264 add lists scope from directory (#778)

* add scope from directory, scopre from directories

* add tests for scopes from directories

* rollback imports

---------

Co-authored-by: Igor Wojda <igor.wojda@gmail.com>

* KON-579 Create `konsist-declaration-tester` (#858)

* add varaibles

* rename localVariables to variables

* add extensions and tests for them

* add test for KoVariableDeclaration (on functions)

* add tests for declarations which implements KoVariableProvider

* KoVariableModifier - remove KoModifierProvider and fix fqn

* add tests in konsist-path-tester and fix detekt

* remove `includeLocal` from properties

* renames providers

* add some parametrized tests

* fix spotless and detekt

* add next tests

* add rest (in Konsist) tests for KoVariableDeclaration

* add tests for KoVariableDeclaration in `konsist-path-tester`

* fix spotless and detekt

* rename old anames to new one

* fix snippets

* fix spotless

* fix after rebase

* add KoTacitTypeProvider and tests

* add provider ext

* add missing tests

* add kdocs

* fix spotless and detekt

* add KoTestClassProvider

* add tests

* add KoTestClassProvider

* fix spotless and detekt

* add extensions and tests for them

* fix spotless

* remove overload extensions

* fix tests

* remove Tacit type from api and extract this as extensions in core

* upd logic

* upd tests

* upd code

* upd tests

* upd tests

* fix spotless and detekt

* upd kotlin version in konsist-path-tester and konsist-root-path-tester

* fix tests

* add `konsist-declaration-tester` and move to this new project all tests which has no connection with path

* change comments

* add new github checks

* fix after merge

* KON-583 Add possibility to create scope passing sets of items (#861)

* fix spotless and detekt

* dix scopeFromFiles method

* remove test from architecture

* upd tests for `scopeFromFiles`

* add tests for `scopeFromDirectories`

* add tests for `scopeFromModules`

* add tests for `scopeFromSourceSets`

* upd kdocs

* KON-525 Add isReadOnly property to the KoPropertyDeclaration (#867)

* Add Slack Badge (#877)

* KON-543 Add `hasTacitType` (#773)

* add varaibles

* rename localVariables to variables

* add extensions and tests for them

* add test for KoVariableDeclaration (on functions)

* add tests for declarations which implements KoVariableProvider

* KoVariableModifier - remove KoModifierProvider and fix fqn

* add tests in konsist-path-tester and fix detekt

* remove `includeLocal` from properties

* renames providers

* add some parametrized tests

* fix spotless and detekt

* add next tests

* add rest (in Konsist) tests for KoVariableDeclaration

* add tests for KoVariableDeclaration in `konsist-path-tester`

* fix spotless and detekt

* rename old anames to new one

* fix snippets

* fix spotless

* fix after rebase

* add KoTacitTypeProvider and tests

* add provider ext

* add missing tests

* add kdocs

* fix spotless and detekt

* Clean up

---------

Co-authored-by: Igor Wojda <igor.wojda@gmail.com>

* KON-371 Initialize All `KoFiles` At Start (#878)

* Parse Declarations

* Parse Declarations

* Use declarations from KoFileDeclarationProvider

* Add Kdoc

* Restore name

* Clean up

* Clean up

* KON-547 Add Type Declarations (#868)

* add type declarations

* add first version

* upd version

* add KoFunctionTypeDeclaration

* upd code

* fix tests

* upd code

* upd code

* moving directories in tests

* add tests to KoFunctionTypeDeclaration

* add ImportAliasDeclaration

* add ImportAliasDeclaration

* fix spotless

* create one external declaration

* add import directive property to import alias declaration

* change typealias to type

* add providers for declarations

* fix tests and logic

* clean code

* add tests

* add tests for KoNullableProvider

* add KoTypeDeclarationForKoKotlinTypeProviderTest

* add KoTypeDeclarationForKoTextProviderTest

* add KoTypeDeclarationForKoNameProviderTest

* add some tests for KoKotlinTypeDeclaration

* upd structure and tests

* upd KoTypeDeclarationTest

* upd KoTypeDeclarationForKoContainingDeclarationProviderTest and KoTypeDeclarationForKoContainingFileProviderTest

* upd KoTypeDeclarationForKoLocationProviderTest

* upd KoTypeDeclarationForKoPathProviderTest

* upd KoTypeDeclarationForKoPackageProviderTest

* upd KoTypeDeclarationForKoResideInPackageProviderTest

* upd tests for KoFunctionTypeDeclaration

* add tests fo KoKotlinTypeDeclaration

* add some tests fo KoImportAliasDeclaration

* add tests fo KoImportAliasDeclaration

* add tests fo KoFunctionTypeDeclaration

* add tests fo KoFunctionTypeDeclaration

* clean code

* move directories

* upd code

* add tests for module and source set

* fix methods with KClass, like hasTypeOf

* upd code

* upd KoImportAliasDeclaration

* add alias as concrete type and fix tests

* remove unused snippets

* upd KoGenericTypeProvider in KoTypeDeclaration

* upd konsist tests

* rename `declaration` to `sourceDeclar`

* rename `declaration` to `sourceDeclaration`

* upd KoAliasProvider

* clean code

* added extensions for KoImportAliasProvider

* clean code

* fix konsist test

* add kdocs

* fix detekt

* KON-589 Upload Check results as artifacts (#880)

* Upload Test Reports

* Upload Test Reports

* Update names

* Upd artifact name

* Update name

* Use html artifacts

* KON-591 Run path test projects on MacOs (#881)

* Run on MacOs

* Run on MacOs

* KON-590 Root Path Testers Are Failin On Ubuntu (#882)

* Extract Path Checks to separate file

* Create Ubuntu path testers

* Disable checks

* Restore checks

* Restore checks

* KON-577 Layer doesn't allow string that uses a package wildcard twice (#892)

* add new tests

* upd regex

* comment test

* clean code

* add todo

* clean code

* remove unused test and upd kdoc

* upd kdoc

* KON-601 Update KDoc for `isInitialized` property (#895)

* KON-593 `KoPackageMatchingPathProviderCore.hasMatchingPath` fails on windows (#893)

* replace "\" with file separator

* add aditional tests in konsist-declaration-tester

* upd name

* fix detekt

* upd suppress annotation

* Empty-Commit

* Empty-Commit

* rename sep to separator

* fix path-tester

* KON-602 Improve layer verification (#897)

* add new tests

* upd regex

* comment test

* clean code

* add todo

* clean code

* remove unused test and upd kdoc

* upd kdoc

* upd regex and kdocs

* clean code

* Restore Kotlin Version (#899)

* Update Dev Readme (#898)

* Update kotlin monorepo (#894)

* Update kotlin monorepo

* Upd toolchain to Java 21

* Upd toolchain to Java 21

* Upd toolchain to Java 21

* Restore Kotlin

---------

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: Igor Wojda <igor.wojda@gmail.com>

* Update plugin com.android.application to v8.3.0 (#886)

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>

* Update tj-actions/changed-files action to v42.0.7 (#891)

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>

* Update plugin dokka to v1.9.20 (#885)

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>

* Update dependency org.jetbrains.kotlin-wrappers:kotlin-react-dom to v18.2.0-pre.710 (#889)

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>

* Update dependency io.ktor:ktor-server-netty to v2.3.9 (#884)

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>

* Update plugin com.android.library to v8.3.0 (#890)

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>

* Update dependency org.jetbrains.kotlin-wrappers:kotlin-react to v18.2.0-pre.710 (#888)

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>

* Update dependency org.jetbrains.kotlin-wrappers:kotlin-emotion to v11.11.1-pre.710 (#887)

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>

* Update dependency io.ktor:ktor-server-html-builder-jvm to v2.3.9 (#883)

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>

* KON-604 Update Artifact Verification (#901)

* Rename script and fail when no files

* Simplify script

* Upd name

* KON-603 Update Deprecated Version (#902)

* KON-606 Refactor Starter Projects Scripts (#906)

* Clean up run

* Update checks

* Test

* Update order

* KON-596 Add extensions to retrieve properties of the source type (#900)

* extract new provider for `sourceDeclaration`

* add properties and tests

* clean code

* add some extensions and tests for them

* add hasSourceX methods and tests for them

* add hasSourceDeclaration and hasSourceDeclarationOf

* add hasSourceXOf methods and tests for them

* clean code

* KON-586 Add KDocs for DeclarationReference (#904)

* extract new provider for `sourceDeclaration`

* add properties and tests

* clean code

* add some extensions and tests for them

* add hasSourceX methods and tests for them

* add hasSourceDeclaration and hasSourceDeclarationOf

* add hasSourceXOf methods and tests for them

* clean code

* upd kdoc

* upd kdoc

* Upd docs

---------

Co-authored-by: Igor Wojda <igor.wojda@gmail.com>

* KON-565 Upgrade Spotless (#907)

* Fix spotless issues

* Extract spotless version to libs.version.toml

* Upd snippets

* SpotlessApply

* Clean up

* Create getTomlVersion extension

* Fix detekt

* Fix snippet tests

* Fix snippet tests

* Simplify Snippet Usgae Verification Regex (#908)

* Simplify regex

* Fix spotless

* Rename CI Jobs (#909)

* Update tj-actions/changed-files action to v42.1.0

* Update dependency org.jetbrains.kotlin-wrappers:kotlin-emotion to v11.11.4-pre.711

* Update dependency org.jetbrains.kotlin-wrappers:kotlin-react to v18.2.0-pre.711 (#912)

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>

* Update dependency org.jetbrains.kotlin-wrappers:kotlin-react-dom to v18.2.0-pre.711 (#913)

Co-author…
krzema12 added a commit to typesafegithub/github-workflows-kt that referenced this pull request Mar 21, 2024
[![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
[LemonAppDev/konsist#720
- [@&#8203;TheMaxCoder](https://togithub.com/TheMaxCoder) made their
first contribution in
[LemonAppDev/konsist#827
- [@&#8203;pkubowicz](https://togithub.com/pkubowicz) made their first
contribution in
[LemonAppDev/konsist#831
- [@&#8203;kollstrom](https://togithub.com/kollstrom) made their first
contribution in
[LemonAppDev/konsist#780
- [@&#8203;jibidus](https://togithub.com/jibidus) made their first
contribution in
[LemonAppDev/konsist#830
- [@&#8203;ablx](https://togithub.com/ablx) made their first
contribution in
[LemonAppDev/konsist#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>
igorwojda added a commit that referenced this pull request Apr 1, 2024
* Release/v0.14.0 (#917)

* Merge `main` to `develop` (#691)

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: Igor Wojda <igor.wojda@gmail.com>
Co-authored-by: NataliaPeterwas <111683562+nataliapeterwas@users.noreply.github.com>
Co-authored-by: Jony Sarco <jfe.sarco@gmail.com>

* Add Article (#696)

* Merge main to develop (#699)

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: Igor Wojda <igor.wojda@gmail.com>
Co-authored-by: NataliaPeterwas <111683562+nataliapeterwas@users.noreply.github.com>
Co-authored-by: Jony Sarco <jfe.sarco@gmail.com>

* Fix Artifact Upload (#698)

* Update Kotest Snippets (#700)

* KON-531 Add Dynamic Test Samples (#702)

* Upd Konsist Artifact Description (#703)

* Add Article (#705)

* Fix Typo (#704)

* Update Dynamic Tests (#706)

* KON-537 Update `update Snippets Script` To Make Sure PR Is Opened From The Newest Version Of Docs (#695)

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: Igor Wojda <igor.wojda@gmail.com>
Co-authored-by: NataliaPeterwas <111683562+nataliapeterwas@users.noreply.github.com>
Co-authored-by: Jony Sarco <jfe.sarco@gmail.com>

* Add Article "Konsist and Conquer: Embracing the World of Dynamic Testing" (#708)

* Update plugin testLogger to v4 (#710)

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>

* Update tj-actions/changed-files action to v39.2.2

* Add "ArchUnit vs Konsist in Android (Kotlin-oriented) codebase. A comparison of hidden implementation checks" Article3 (#713)

* KON-538 Add `testName` To `assertArchitecture` (#712)

* Update Sample Projects Docs (#716)

* Update plugin dokka to v1.9.10

* Update README.md

* Upd Snippets (#723)

* Update tj-actions/changed-files action to v39.2.3

* Update spring boot to v3.1.5

* KON-553: Allow `null` values in representsType() (#719)

* KON-553 Followup (#732)

* KON-369 Add Parent Declaration References (#709)

Co-authored-by: Igor Wojda <igor.wojda@gmail.com>

* Upd docs (#733)

* KON-563: Run only 1 CI pipeline in parallel for each PR (#725)

* Upd docs (#734)

* Update tj-actions/changed-files action to v39.2.4

* KON-205 Add Konsist Test Which Check That All Core Declarations Override `toString` (#735)

* Add Snippet (#740)

* Update dependency androidx.navigation:navigation-fragment-ktx to v2.7.5 (#741)

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>

* KON-541 Add KoVariableDeclaration (#717)

* Update dependency androidx.navigation:navigation-ui-ktx to v2.7.5

* Update plugin detekt to v1.23.3

* Update kotlin monorepo to v1.9.20

* Update dependency io.kotest:kotest-runner-junit5 to v5.8.0

* Update dependency io.kotest:kotest-runner-junit5-jvm to v5.8.0

* Update plugin io.kotest.multiplatform to v5.8.0

* Improve Gradle build performance (#749)

* KON-564 Extract if statements to variable (#730)

* Update plugin de.mannodermaus.android-junit5 to v1.10.0.0

* KON-569 Update Kmp Projects (#751)

* KON-562: Improve snippet CI verification (#724)

* KON-571 Fix `isKotlinType` Property Where Generic Types Where Treated as kotlin Collections (#754)

* KON-570 Add `KoSourceAndAliasTypeProviderCore.baseSourceType` (#753)

* KON-572 Fix for `sourcetype` stripping `?` (#756)

* KON-574 Add `isKotlinBasicType` And `isKotlinCollectionType` (#757)

* KON-570 Rename `baseSourceType` To `bareSourcetype` (#758)

* KON-570 Remove Package From `bareType` (#759)

* Add Project Icon (#761)

* Update Gitignore (#762)

* Update junit5 monorepo to v5.10.1

* Update `check_kttxt_snippets` (#764)

* KON-365 Add `indirectParents=false` Parameter (#726)

Co-authored-by: Igor Wojda <igor.wojda@gmail.com>

* Update tj-actions/changed-files action to v40 (#745)

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>

* Update plugin com.android.application to v8.1.3

* Update plugin com.android.library to v8.1.3

* Update tj-actions/changed-files action to v40.1.1

* KON-366 Change Return Type Of `containingDeclaration` (#715)

* change type of `containingDeclaration`

* remove nullability from `containingDeclaration` type

* sfix spotless and detekt

* upd tests

* use safe cast operator instead of unsafe cast operator

* fix spotless and detekt

* fix after merge

* Update plugin io.spring.dependency-management to v1.1.4

* Add Spring Snippet (#766)

* Update plugin com.android.application to v8.1.4

* Update plugin com.android.library to v8.1.4

* Fix git dir resolver uses the wrong paths (#780)

Co-authored-by: Emil Kollstrøm <e.kollstrom@sportradar.com>

* Update kotlin monorepo to v1.9.21

* Update spring boot to v3.2.0

* Update dependency org.codehaus.mojo:build-helper-maven-plugin to v3.5.0

* Update plugin detekt to v1.23.4

* Update tj-actions/changed-files action to v40.2.0

* Update dependency gradle to v8.5

* Update plugin com.android.application to v8.2.0

* Update plugin com.android.library to v8.2.0

* Update tj-actions/changed-files action to v40.2.1

* Update tj-actions/changed-files action to v40.2.2

* Update dependency androidx.navigation:navigation-fragment-ktx to v2.7.6

* Update dependency androidx.navigation:navigation-ui-ktx to v2.7.6

* Update dependency com.google.android.material:material to v1.11.0

* Update tj-actions/changed-files action to v40.2.3

* Update spring boot to v3.2.1

* Update kotlin monorepo to v1.9.22

* Update plugin com.android.application to v8.2.1

* Update plugin com.android.library to v8.2.1

* Update dependency io.mockk:mockk to v1.13.9

* Update spring boot to v3.2.2

* Update plugin com.android.application to v8.2.2

* Update plugin com.android.library to v8.2.2

* Update plugin detekt to v1.23.5

* Update dependency gradle to v8.6

* Update junit5 monorepo to v5.10.2

* Merge `main` to `develop` (#834)

* Upgrade version to 0.13.0

* Update check kttx snippets

* Update check kttx snippets

* Update check kttx snippets

* Update version

* Update scripts

* Update scripts

* Update dev readme

* Release `v0.13.0` (#688)

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: Igor Wojda <igor.wojda@gmail.com>
Co-authored-by: NataliaPeterwas <111683562+nataliapeterwas@users.noreply.github.com>
Co-authored-by: Jony Sarco <jfe.sarco@gmail.com>

* Revert "Release `v0.13.0`" (#689)

* Update Konsist in starter projects to Konsist `v0.13.0` (#697)

* Update Kotest Snippets (#701)

* Replace REGEX to allow using .. as wildcard again (#720)

* Update README.md (#771)

* Fixed broken link to the getting started guide. (#827)

* Fix wrong detection of Git root project dir (#831)

Detection never worked before because Git creates directory
called '.git', while code was checking 'git'.

* Fix test

* Disable KMP starter projects

---------

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: NataliaPeterwas <111683562+nataliapeterwas@users.noreply.github.com>
Co-authored-by: Jony Sarco <jfe.sarco@gmail.com>
Co-authored-by: Guillermo Guerrero González <3263397+guiguegon@users.noreply.github.com>
Co-authored-by: Atiq Ur Rehman <6600985@gmail.com>
Co-authored-by: Piotr Kubowicz <piotr.kubowicz@gmail.com>

* Update dependency io.ktor:ktor-server-html-builder-jvm to v2.3.8

* Rename `koTest` to `Kotest` (#837)

* Update actions/upload-artifact action to v4 (#808)

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>

* Update actions/setup-python action to v5 (#801)

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>

* Update actions/setup-java action to v4 (#797)

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>

* Update tj-actions/changed-files action to v42 (#819)

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>

* Remove "konsist-starter-" prefix from dir names (#838)

* Rename starter projects dirs

* Upd build scripts

* Fix detekt exclusion

* KON-367 Add Child Declaration References (#736)

* Add contex receivers for parent

* add integration tests

* remove parents from KoInterfaceDeclaration

* remove files

* fix spotless

* add KDocs and tests for KoParentInterfaceProvider

* add methods for KoParentClassProvider

* add tests for KoParentClassProvider

* add extensions for KoParentClassProvider and KoParentInterfaceProvider with tests

* add extensions for KoParentInterfaceProvider lists with tests

* add extensions for KoParentClassProvider lists with tests

* add simply KoUnknownParentProvider

* add KoParentProvider to KoInterfaceDeclaration

* add some additional tests fo KoParentProvider

* add additional tests for KoLocationProvider to KoParentProvider

* fix spotless and detekt

* change unknow to external

* change unknown to external in IntegrationTest

* add additional tests for KoNameProvider to KoParentDeclaration (without external)

* add additional tests KoNameProvider  for external parent to KoParentDeclaration

* fix spotless and detekt

* fix tests

* add KoExternalParentDeclaration

* add initializing classes and interfaces once

* optimalize `parents`

* remove duplication

* fix spotless and detekt

* add extensions for external parents

* add tests for KoClassDeclaration, KoInterfaceDeclaration and KoObjectDeclaration for all kind of parents

* add tests for KoExternalParentDeclaration and remove unnecessary tests for KoParentDeclaration

* fix spotless

* remove old tests from `konsist-path-tester`

* upd `ApiKonsistTest`

* restore `withParentClassOf` to AndroidSnippets

* fix test in CleanArchitectureSnippets

* remove duplication

* add package declaration to KoParentDeclaration

* add extension and tests for external parents

* fix spotless

* fix spotless

* Add sample-external-library.jar

* Add sample-external-library project

* Check sample-external-library projects

* Upd GHA scripts

* Upd docs

* upd packages

* add external classes and interfaces

* upd snippets with real external parents

* remove `external parent check`

* fix tests and remove external project

* fix tests

* fix spotless and detekt

* upd `check.yml`

* remove empty line

* remove helper project

* fix tests

* add zip project

* change kttxt script

* upd searching parents (we check also num parameters)

* add new tests

* upd class and interface

* add info about external parents

* upd tests

* move `helper-project` to `projects`

* add tests

* fix tests

* add external parent cache and `indirectParents` parameter to KoExternalParentProvider

* add tests for external parents with indirect parents

* add tests for parent interfaces with indirect parents

* fix spotless and detekt

* upd snippets and konsistTests

* upd tests for KoParentProvider

* add KoChildDeclaration, KoChildProvider and extensions for this

* upd hasChildOf and hasAllChildrenOf

* upd code in KoChildProviderCore

* add indirect children

* add example test in konsist-path-tester

* fix tests after merge

* fix spotless and detekt

* clean code

* add tests

* fix tests

* change logic of scopeFromFile and scopeFromDirectory

* fix spotless

* add missing tests

* add tests

* fix tests

* fix spotless and detekt

---------

Co-authored-by: Igor Wojda <igor.wojda@gmail.com>

* KON-578 Fix fully qualified name (#830)

It returned another name if an import wich contains the expected fully qualified
name is declared early in the same file.

* Add Tests (#842)

* Revert "Remove "konsist-starter-" prefix from dir names" (#844)

This reverts commit 2fd0592706604d8e6b0154f671c9e0220b516bc8.

* Update dependency org.jetbrains.kotlin-wrappers:kotlin-react-dom to v18.2.0-pre.693 (#840)

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>

* Update dependency io.ktor:ktor-server-netty to v2.3.8

* Update dependency io.kotest:kotest-runner-junit5 to v5.8.0 (#846)

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>

* Update dependency org.jetbrains.kotlin-wrappers:kotlin-react to v18.2.0-pre.693

* Update plugin org.jetbrains.kotlin.multiplatform to v1.9.22 (#845)

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>

* Update dependency org.jetbrains.kotlinx:kotlinx-html-jvm to v0.11.0 (#849)

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>

* Update dependency org.jetbrains.kotlin-wrappers:kotlin-emotion to v11.11.1-pre.693 (#848)

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>

* Update dependency org.jetbrains.kotlin-wrappers:kotlin-emotion to v11.11.1-pre.694

* Update dependency org.jetbrains.kotlin-wrappers:kotlin-react to v18.2.0-pre.694

* Update dependency org.jetbrains.kotlin-wrappers:kotlin-react-dom to v18.2.0-pre.694

* Remove Scope Violation Suppress (#855)

* Upgrade CI Java Version (#854)

* Upgrade CI Java version to 21

* Upgrade Java version to 21

* Upgrade Java version to 21

* Upgrade Java version to 21

* Add test snippet

* zulu -> corretto

* Update plugin io.kotest.multiplatform to v5.8.0 (#850)

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>

* Update Kotlin Compiler Version (#857)

* KON-432 Add Konsist Tests Which Check That All Declarations And Providers Implement Correct Parents (#772)

* Add contex receivers for parent

* add integration tests

* remove parents from KoInterfaceDeclaration

* remove files

* fix spotless

* add KDocs and tests for KoParentInterfaceProvider

* add methods for KoParentClassProvider

* add tests for KoParentClassProvider

* add extensions for KoParentClassProvider and KoParentInterfaceProvider with tests

* add extensions for KoParentInterfaceProvider lists with tests

* add extensions for KoParentClassProvider lists with tests

* add simply KoUnknownParentProvider

* add KoParentProvider to KoInterfaceDeclaration

* add some additional tests fo KoParentProvider

* add additional tests for KoLocationProvider to KoParentProvider

* fix spotless and detekt

* change unknow to external

* change unknown to external in IntegrationTest

* add additional tests for KoNameProvider to KoParentDeclaration (without external)

* add additional tests KoNameProvider  for external parent to KoParentDeclaration

* fix spotless and detekt

* fix tests

* add KoExternalParentDeclaration

* add initializing classes and interfaces once

* optimalize `parents`

* remove duplication

* fix spotless and detekt

* add extensions for external parents

* add tests for KoClassDeclaration, KoInterfaceDeclaration and KoObjectDeclaration for all kind of parents

* add tests for KoExternalParentDeclaration and remove unnecessary tests for KoParentDeclaration

* fix spotless

* remove old tests from `konsist-path-tester`

* upd `ApiKonsistTest`

* restore `withParentClassOf` to AndroidSnippets

* fix test in CleanArchitectureSnippets

* remove duplication

* add package declaration to KoParentDeclaration

* add extension and tests for external parents

* fix spotless

* fix spotless

* Add sample-external-library.jar

* Add sample-external-library project

* Check sample-external-library projects

* Upd GHA scripts

* Upd docs

* upd packages

* add external classes and interfaces

* upd snippets with real external parents

* remove `external parent check`

* fix tests and remove external project

* fix tests

* fix spotless and detekt

* upd `check.yml`

* remove empty line

* remove helper project

* fix tests

* add zip project

* change kttxt script

* upd searching parents (we check also num parameters)

* add new tests

* upd class and interface

* add info about external parents

* upd tests

* move `helper-project` to `projects`

* add tests

* fix tests

* add external parent cache and `indirectParents` parameter to KoExternalParentProvider

* add tests for external parents with indirect parents

* add tests for parent interfaces with indirect parents

* fix spotless and detekt

* upd snippets and konsistTests

* upd tests for KoParentProvider

* fix after merge

* add all methods to KoParentClassProvider and tests for them

* upd extensions for KoParentClassProvider and tests for them

* fix api konsist tests

* upd kdocs

* fix tests

* fix spotless and detekt

* fix spotless

* fix parents

* add tests

* fix spotless and detekt

---------

Co-authored-by: Igor Wojda <igor.wojda@gmail.com>

* KON-560 Methods With KClass Parameter Fails When Name Of The Class Defined In The File Is The Same As Imported Class (#775)

* add varaibles

* rename localVariables to variables

* add extensions and tests for them

* add test for KoVariableDeclaration (on functions)

* add tests for declarations which implements KoVariableProvider

* KoVariableModifier - remove KoModifierProvider and fix fqn

* add tests in konsist-path-tester and fix detekt

* remove `includeLocal` from properties

* renames providers

* add some parametrized tests

* fix spotless and detekt

* add next tests

* add rest (in Konsist) tests for KoVariableDeclaration

* add tests for KoVariableDeclaration in `konsist-path-tester`

* fix spotless and detekt

* rename old anames to new one

* fix snippets

* fix spotless

* fix after rebase

* remove simple name from `of` methods

* fix tests

* fix spotless and detekt

* comment test

* upd hasTypeOf on the build-in kotlin types

* fix spotless

* fix after merge

* fix spotless

* KON-368 Add Tests Declaration References (#784)

* add varaibles

* rename localVariables to variables

* add extensions and tests for them

* add test for KoVariableDeclaration (on functions)

* add tests for declarations which implements KoVariableProvider

* KoVariableModifier - remove KoModifierProvider and fix fqn

* add tests in konsist-path-tester and fix detekt

* remove `includeLocal` from properties

* renames providers

* add some parametrized tests

* fix spotless and detekt

* add next tests

* add rest (in Konsist) tests for KoVariableDeclaration

* add tests for KoVariableDeclaration in `konsist-path-tester`

* fix spotless and detekt

* rename old anames to new one

* fix snippets

* fix spotless

* fix after rebase

* add KoTacitTypeProvider and tests

* add provider ext

* add missing tests

* add kdocs

* fix spotless and detekt

* add KoTestClassProvider

* add tests

* add KoTestClassProvider

* fix spotless and detekt

* add extensions and tests for them

* fix spotless

* remove overload extensions

* fix tests

* remove Tacit type from api and extract this as extensions in core

* upd logic

* upd tests

* upd code

* upd tests

* upd tests

* fix spotless and detekt

* upd kotlin version in konsist-path-tester and konsist-root-path-tester

* fix tests

* KON-264 add lists scope from directory (#778)

* add scope from directory, scopre from directories

* add tests for scopes from directories

* rollback imports

---------

Co-authored-by: Igor Wojda <igor.wojda@gmail.com>

* KON-579 Create `konsist-declaration-tester` (#858)

* add varaibles

* rename localVariables to variables

* add extensions and tests for them

* add test for KoVariableDeclaration (on functions)

* add tests for declarations which implements KoVariableProvider

* KoVariableModifier - remove KoModifierProvider and fix fqn

* add tests in konsist-path-tester and fix detekt

* remove `includeLocal` from properties

* renames providers

* add some parametrized tests

* fix spotless and detekt

* add next tests

* add rest (in Konsist) tests for KoVariableDeclaration

* add tests for KoVariableDeclaration in `konsist-path-tester`

* fix spotless and detekt

* rename old anames to new one

* fix snippets

* fix spotless

* fix after rebase

* add KoTacitTypeProvider and tests

* add provider ext

* add missing tests

* add kdocs

* fix spotless and detekt

* add KoTestClassProvider

* add tests

* add KoTestClassProvider

* fix spotless and detekt

* add extensions and tests for them

* fix spotless

* remove overload extensions

* fix tests

* remove Tacit type from api and extract this as extensions in core

* upd logic

* upd tests

* upd code

* upd tests

* upd tests

* fix spotless and detekt

* upd kotlin version in konsist-path-tester and konsist-root-path-tester

* fix tests

* add `konsist-declaration-tester` and move to this new project all tests which has no connection with path

* change comments

* add new github checks

* fix after merge

* KON-583 Add possibility to create scope passing sets of items (#861)

* fix spotless and detekt

* dix scopeFromFiles method

* remove test from architecture

* upd tests for `scopeFromFiles`

* add tests for `scopeFromDirectories`

* add tests for `scopeFromModules`

* add tests for `scopeFromSourceSets`

* upd kdocs

* KON-525 Add isReadOnly property to the KoPropertyDeclaration (#867)

* Add Slack Badge (#877)

* KON-543 Add `hasTacitType` (#773)

* add varaibles

* rename localVariables to variables

* add extensions and tests for them

* add test for KoVariableDeclaration (on functions)

* add tests for declarations which implements KoVariableProvider

* KoVariableModifier - remove KoModifierProvider and fix fqn

* add tests in konsist-path-tester and fix detekt

* remove `includeLocal` from properties

* renames providers

* add some parametrized tests

* fix spotless and detekt

* add next tests

* add rest (in Konsist) tests for KoVariableDeclaration

* add tests for KoVariableDeclaration in `konsist-path-tester`

* fix spotless and detekt

* rename old anames to new one

* fix snippets

* fix spotless

* fix after rebase

* add KoTacitTypeProvider and tests

* add provider ext

* add missing tests

* add kdocs

* fix spotless and detekt

* Clean up

---------

Co-authored-by: Igor Wojda <igor.wojda@gmail.com>

* KON-371 Initialize All `KoFiles` At Start (#878)

* Parse Declarations

* Parse Declarations

* Use declarations from KoFileDeclarationProvider

* Add Kdoc

* Restore name

* Clean up

* Clean up

* KON-547 Add Type Declarations (#868)

* add type declarations

* add first version

* upd version

* add KoFunctionTypeDeclaration

* upd code

* fix tests

* upd code

* upd code

* moving directories in tests

* add tests to KoFunctionTypeDeclaration

* add ImportAliasDeclaration

* add ImportAliasDeclaration

* fix spotless

* create one external declaration

* add import directive property to import alias declaration

* change typealias to type

* add providers for declarations

* fix tests and logic

* clean code

* add tests

* add tests for KoNullableProvider

* add KoTypeDeclarationForKoKotlinTypeProviderTest

* add KoTypeDeclarationForKoTextProviderTest

* add KoTypeDeclarationForKoNameProviderTest

* add some tests for KoKotlinTypeDeclaration

* upd structure and tests

* upd KoTypeDeclarationTest

* upd KoTypeDeclarationForKoContainingDeclarationProviderTest and KoTypeDeclarationForKoContainingFileProviderTest

* upd KoTypeDeclarationForKoLocationProviderTest

* upd KoTypeDeclarationForKoPathProviderTest

* upd KoTypeDeclarationForKoPackageProviderTest

* upd KoTypeDeclarationForKoResideInPackageProviderTest

* upd tests for KoFunctionTypeDeclaration

* add tests fo KoKotlinTypeDeclaration

* add some tests fo KoImportAliasDeclaration

* add tests fo KoImportAliasDeclaration

* add tests fo KoFunctionTypeDeclaration

* add tests fo KoFunctionTypeDeclaration

* clean code

* move directories

* upd code

* add tests for module and source set

* fix methods with KClass, like hasTypeOf

* upd code

* upd KoImportAliasDeclaration

* add alias as concrete type and fix tests

* remove unused snippets

* upd KoGenericTypeProvider in KoTypeDeclaration

* upd konsist tests

* rename `declaration` to `sourceDeclar`

* rename `declaration` to `sourceDeclaration`

* upd KoAliasProvider

* clean code

* added extensions for KoImportAliasProvider

* clean code

* fix konsist test

* add kdocs

* fix detekt

* KON-589 Upload Check results as artifacts (#880)

* Upload Test Reports

* Upload Test Reports

* Update names

* Upd artifact name

* Update name

* Use html artifacts

* KON-591 Run path test projects on MacOs (#881)

* Run on MacOs

* Run on MacOs

* KON-590 Root Path Testers Are Failin On Ubuntu (#882)

* Extract Path Checks to separate file

* Create Ubuntu path testers

* Disable checks

* Restore checks

* Restore checks

* KON-577 Layer doesn't allow string that uses a package wildcard twice (#892)

* add new tests

* upd regex

* comment test

* clean code

* add todo

* clean code

* remove unused test and upd kdoc

* upd kdoc

* KON-601 Update KDoc for `isInitialized` property (#895)

* KON-593 `KoPackageMatchingPathProviderCore.hasMatchingPath` fails on windows (#893)

* replace "\" with file separator

* add aditional tests in konsist-declaration-tester

* upd name

* fix detekt

* upd suppress annotation

* Empty-Commit

* Empty-Commit

* rename sep to separator

* fix path-tester

* KON-602 Improve layer verification (#897)

* add new tests

* upd regex

* comment test

* clean code

* add todo

* clean code

* remove unused test and upd kdoc

* upd kdoc

* upd regex and kdocs

* clean code

* Restore Kotlin Version (#899)

* Update Dev Readme (#898)

* Update kotlin monorepo (#894)

* Update kotlin monorepo

* Upd toolchain to Java 21

* Upd toolchain to Java 21

* Upd toolchain to Java 21

* Restore Kotlin

---------

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: Igor Wojda <igor.wojda@gmail.com>

* Update plugin com.android.application to v8.3.0 (#886)

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>

* Update tj-actions/changed-files action to v42.0.7 (#891)

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>

* Update plugin dokka to v1.9.20 (#885)

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>

* Update dependency org.jetbrains.kotlin-wrappers:kotlin-react-dom to v18.2.0-pre.710 (#889)

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>

* Update dependency io.ktor:ktor-server-netty to v2.3.9 (#884)

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>

* Update plugin com.android.library to v8.3.0 (#890)

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>

* Update dependency org.jetbrains.kotlin-wrappers:kotlin-react to v18.2.0-pre.710 (#888)

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>

* Update dependency org.jetbrains.kotlin-wrappers:kotlin-emotion to v11.11.1-pre.710 (#887)

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>

* Update dependency io.ktor:ktor-server-html-builder-jvm to v2.3.9 (#883)

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>

* KON-604 Update Artifact Verification (#901)

* Rename script and fail when no files

* Simplify script

* Upd name

* KON-603 Update Deprecated Version (#902)

* KON-606 Refactor Starter Projects Scripts (#906)

* Clean up run

* Update checks

* Test

* Update order

* KON-596 Add extensions to retrieve properties of the source type (#900)

* extract new provider for `sourceDeclaration`

* add properties and tests

* clean code

* add some extensions and tests for them

* add hasSourceX methods and tests for them

* add hasSourceDeclaration and hasSourceDeclarationOf

* add hasSourceXOf methods and tests for them

* clean code

* KON-586 Add KDocs for DeclarationReference (#904)

* extract new provider for `sourceDeclaration`

* add properties and tests

* clean code

* add some extensions and tests for them

* add hasSourceX methods and tests for them

* add hasSourceDeclaration and hasSourceDeclarationOf

* add hasSourceXOf methods and tests for them

* clean code

* upd kdoc

* upd kdoc

* Upd docs

---------

Co-authored-by: Igor Wojda <igor.wojda@gmail.com>

* KON-565 Upgrade Spotless (#907)

* Fix spotless issues

* Extract spotless version to libs.version.toml

* Upd snippets

* SpotlessApply

* Clean up

* Create getTomlVersion extension

* Fix detekt

* Fix snippet tests

* Fix snippet tests

* Simplify Snippet Usgae Verification Regex (#908)

* Simplify regex

* Fix spotless

* Rename CI Jobs (#909)

* Update tj-actions/changed-files action to v42.1.0

* Update dependency org.jetbrains.kotlin-wrappers:kotlin-emotion to v11.11.4-pre.711

* Update dependency org.jetbrains.kotlin-wrappers:kotlin-react to v18.2.0-pre.711 (#912)

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>

* Update dependency org.jetbrains.kotlin-wrappers:kotlin-react-dom to v18.2.0-pre.711 (#913)

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>

* KON-609 Add Type Extensions (#914)

* Update Kdoc (#915)

* Main To Develop (#916)

* Upgrade version to 0.13.0

* Update check kttx snippets

* Update check kttx snippets

* Update check kttx snippets

* Update version

* Update scripts

* Update scripts

* Update dev readme

* Release `v0.13.0` (#688)

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: Igor Wojda <igor.wojda@gmail.com>
Co-authored-by: NataliaPeterwas <111683562+nataliapeterwas@users.noreply.github.com>
Co-authored-by: Jony Sarco <jfe.sarco@gmail.com>

* Revert "Release `v0.13.0`" (#689)

* Update Konsist in starter projects to Konsist `v0.13.0` (#697)

* Update Kotest Snippets (#701)

* Replace REGEX to allow using .. as wildcard again (#720)

* Update README.md (#771)

* Fixed broken link to the getting started guide. (#827)

* Fix wrong detection of Git root project dir (#831)

Detection never worked before because Git creates directory
called '.git', while code was checking 'git'.

* Upd linters

* Upd readme

---------

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: NataliaPeterwas <111683562+nataliapeterwas@users.noreply.github.com>
Co-authored-by: Jony Sarco <jfe.sarco@gmail.com>
Co-authored-by: Guillermo Guerrero González <3263397+guiguegon@users.noreply.github.com>
Co-authored-by: Atiq Ur Rehman <6600985@gmail.com>
Co-authored-by: Piotr Kubowicz <piotr.kubowicz@gmail.com>

* Revert "Main To Develop" (#918)

This reverts commit 77ea591e3492e133a44df48a7b7768dfac47b526.

* Revert "Revert "Main To Develop"" (#919)

This reverts commit 20a0bf90f29819482205bc04c84409a31a2c65e4.

* Update dependency io.kotest:kotest-runner-junit5-jvm to v5.8.1 (#922)

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>

* Update dependency io.kotest:kotest-runner-junit5 to v5.8.1 (#921)

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>

* Main=to Develop (#923)

* Upgrade version to 0.13.0

* Update check kttx snippets

* Update check kttx snippets

* Update check kttx snippets

* Update version

* Update scripts

* Update scripts

* Update dev readme

* Release `v0.13.0` (#688)

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: Igor Wojda <igor.wojda@gmail.com>
Co-authored-by: NataliaPeterwas <111683562+nataliapeterwas@users.noreply.github.com>
Co-authored-by: Jony Sarco <jfe.sarco@gmail.com>

* Revert "Release `v0.13.0`" (#689)

* Update Konsist in starter projects to Konsist `v0.13.0` (#697)

* Update Kotest Snippets (#701)

* Replace REGEX to allow using .. as wildcard again (#720)

* Update README.md (#771)

* Fixed broken link to the getting started guide. (#827)

* Fix wrong detection of Git root project dir (#831)

Detection never worked before because Git creates directory
called '.git', while code was checking 'git'.

* Fix spotless

---------

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: NataliaPeterwas <111683562+nataliapeterwas@users.noreply.github.com>
Co-authored-by: Jony Sarco <jfe.sarco@gmail.com>
Co-authored-by: Guillermo Guerrero González <3263397+guiguegon@users.noreply.github.com>
Co-authored-by: Atiq Ur Rehman <6600985@gmail.com>
Co-authored-by: Piotr Kubowicz <piotr.kubowicz@gmail.com>

* Update dependency org.jetbrains.kotlin-wrappers:kotlin-emotion to v11.11.4-pre.712 (#924)

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>

* Update dependency org.jetbrains.kotlin-wrappers:kotlin-react to v18.2.0-pre.712 (#925)

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>

* Add Missing Kotlin Basic Types - `Unit`, `Any` and `Nothing` (#926)

* Use `sourceX` Properties (#927)

* use dedicated properties instead of writing sth like: `?.sourceDeclaration as? KoImportAliasDeclaration`

* upd tests in konsist-declaration-tester

* Update dependency org.jetbrains.kotlin-wrappers:kotlin-react-dom to v18.2.0-pre.712 (#928)

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>

* Update plugin io.kotest.multiplatform to v5.8.1 (#929)

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>

* Rename `sourceX` to `asXDeclaration()` (#930)

* use dedicated properties instead of writing sth like: `?.sourceDeclaration as? KoImportAliasDeclaration`

* upd tests in konsist-declaration-tester

* rename `sourceX` properties to `asXDeclaration`

* clean code

* Update version

* Print conditions

* Add needs

* Add if

* Add concurrency

* Fix ktlint

* Upd snippets

* Exclude documentation snippets

* Fix spotless

---------

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: NataliaPeterwas <111683562+nataliapeterwas@users.noreply.github.com>
Co-authored-by: Jony Sarco <jfe.sarco@gmail.com>
Co-authored-by: Yonatan Karp-Rudin <yonvata@gmail.com>
Co-authored-by: Mirco Franzek <ablx@users.noreply.github.com>
Co-authored-by: Emil Orvik Kollstrøm <emilok@hey.com>
Co-authored-by: Emil Kollstrøm <e.kollstrom@sportradar.com>
Co-authored-by: Guillermo Guerrero González <3263397+guiguegon@users.noreply.github.com>
Co-authored-by: Atiq Ur Rehman <6600985@gmail.com>
Co-authored-by: Piotr Kubowicz <piotr.kubowicz@gmail.com>
Co-authored-by: Jean-Baptiste Mille <jean-baptiste@sogilis.com>

* Revert "Release/v0.14.0" (#932)

This reverts commit b3a6e22bbd9228eee675affeee98ad065302fa96.

* Add Article (#696)

* Fix Artifact Upload (#698)

* KON-531 Add Dynamic Test Samples (#702)

* Upd Konsist Artifact Description (#703)

* Add Article (#705)

* Fix Typo (#704)

* Update Dynamic Tests (#706)

* KON-537 Update `update Snippets Script` To Make Sure PR Is Opened From The Newest Version Of Docs (#695)

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: Igor Wojda <igor.wojda@gmail.com>
Co-authored-by: NataliaPeterwas <111683562+nataliapeterwas@users.noreply.github.com>
Co-authored-by: Jony Sarco <jfe.sarco@gmail.com>

* Add Article "Konsist and Conquer: Embracing the World of Dynamic Testing" (#708)

* Update plugin testLogger to v4 (#710)

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>

* Update tj-actions/changed-files action to v39.2.2

* Add "ArchUnit vs Konsist in Android (Kotlin-oriented) codebase. A comparison of hidden implementation checks" Article3 (#713)

* KON-538 Add `testName` To `assertArchitecture` (#712)

* Update Sample Projects Docs (#716)

* Update plugin dokka to v1.9.10

* Update README.md

* Upd Snippets (#723)

* Update tj-actions/changed-files action to v39.2.3

* Update spring boot to v3.1.5

* KON-553: Allow `null` values in representsType() (#719)

* KON-553 Followup (#732)

* KON-369 Add Parent Declaration References (#709)

Co-authored-by: Igor Wojda <igor.wojda@gmail.com>

* Upd docs (#733)

* KON-563: Run only 1 CI pipeline in parallel for each PR (#725)

* Upd docs (#734)

* Update tj-actions/changed-files action to v39.2.4

* KON-205 Add Konsist Test Which Check That All Core Declarations Override `toString` (#735)

* Add Snippet (#740)

* Update dependency androidx.navigation:navigation-fragment-ktx to v2.7.5 (#741)

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>

* KON-541 Add KoVariableDeclaration (#717)

* Update dependency androidx.navigation:navigation-ui-ktx to v2.7.5

* Update plugin detekt to v1.23.3

* Update kotlin monorepo to v1.9.20

* Update dependency io.kotest:kotest-runner-junit5 to v5.8.0

* Update dependency io.kotest:kotest-runner-junit5-jvm to v5.8.0

* Update plugin io.kotest.multiplatform to v5.8.0

* Improve Gradle build performance (#749)

* KON-564 Extract if statements to variable (#730)

* Update plugin de.mannodermaus.android-junit5 to v1.10.0.0

* KON-569 Update Kmp Projects (#751)

* KON-562: Improve snippet CI verification (#724)

* KON-571 Fix `isKotlinType` Property Where Generic Types Where Treated as kotlin Collections (#754)

* KON-570 Add `KoSourceAndAliasTypeProviderCore.baseSourceType` (#753)

* KON-572 Fix for `sourcetype` stripping `?` (#756)

* KON-574 Add `isKotlinBasicType` And `isKotlinCollectionType` (#757)

* KON-570 Rename `baseSourceType` To `bareSourcetype` (#758)

* KON-570 Remove Package From `bareType` (#759)

* Add Project Icon (#761)

* Update Gitignore (#762)

* Update junit5 monorepo to v5.10.1

* Update `check_kttxt_snippets` (#764)

* KON-365 Add `indirectParents=false` Parameter (#726)

Co-authored-by: Igor Wojda <igor.wojda@gmail.com>

* Update tj-actions/changed-files action to v40 (#745)

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>

* Update plugin com.android.application to v8.1.3

* Update plugin com.android.library to v8.1.3

* Update tj-actions/changed-files action to v40.1.1

* KON-366 Change Return Type Of `containingDeclaration` (#715)

* change type of `containingDeclaration`

* remove nullability from `containingDeclaration` type

* sfix spotless and detekt

* upd tests

* use safe cast operator instead of unsafe cast operator

* fix spotless and detekt

* fix after merge

* Update plugin io.spring.dependency-management to v1.1.4

* Add Spring Snippet (#766)

* Update plugin com.android.application to v8.1.4

* Update plugin com.android.library to v8.1.4

* Fix git dir resolver uses the wrong paths (#780)

Co-authored-by: Emil Kollstrøm <e.kollstrom@sportradar.com>

* Update kotlin monorepo to v1.9.21

* Update spring boot to v3.2.0

* Update dependency org.codehaus.mojo:build-helper-maven-plugin to v3.5.0

* Update plugin detekt to v1.23.4

* Update tj-actions/changed-files action to v40.2.0

* Update dependency gradle to v8.5

* Update plugin com.android.application to v8.2.0

* Update plugin com.android.library to v8.2.0

* Update tj-actions/changed-files action to v40.2.1

* Update tj-actions/changed-files action to v40.2.2

* Update dependency androidx.navigation:navigation-fragment-ktx to v2.7.6

* Update dependency androidx.navigation:navigation-ui-ktx to v2.7.6

* Update dependency com.google.android.material:material to v1.11.0

* Update tj-actions/changed-files action to v40.2.3

* Update spring boot to v3.2.1

* Update kotlin monorepo to v1.9.22

* Update plugin com.android.application to v8.2.1

* Update plugin com.android.library to v8.2.1

* Update dependency io.mockk:mockk to v1.13.9

* Update spring boot to v3.2.2

* Update plugin com.android.application to v8.2.2

* Update plugin com.android.library to v8.2.2

* Update plugin detekt to v1.23.5

* Update dependency gradle to v8.6

* Update junit5 monorepo to v5.10.2

* Merge `main` to `develop` (#834)

* Upgrade version to 0.13.0

* Update check kttx snippets

* Update check kttx snippets

* Update check kttx snippets

* Update version

* Update scripts

* Update scripts

* Update dev readme

* Release `v0.13.0` (#688)

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: Igor Wojda <igor.wojda@gmail.com>
Co-authored-by: NataliaPeterwas <111683562+nataliapeterwas@users.noreply.github.com>
Co-authored-by: Jony Sarco <jfe.sarco@gmail.com>

* Revert "Release `v0.13.0`" (#689)

* Update Konsist in starter projects to Konsist `v0.13.0` (#697)

* Update Kotest Snippets (#701)

* Replace REGEX to allow using .. as wildcard again (#720)

* Update README.md (#771)

* Fixed broken link to the getting started guide. (#827)

* Fix wrong detection of Git root project dir (#831)

Detection never worked before because Git creates directory
called '.git', while code was checking 'git'.

* Fix test

* Disable KMP starter projects

---------

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: NataliaPeterwas <111683562+nataliapeterwas@users.noreply.github.com>
Co-authored-by: Jony Sarco <jfe.sarco@gmail.com>
Co-authored-by: Guillermo Guerrero González <3263397+guiguegon@users.noreply.github.com>
Co-authored-by: Atiq Ur Rehman <6600985@gmail.com>
Co-authored-by: Piotr Kubowicz <piotr.kubowicz@gmail.com>

* Update dependency io.ktor:ktor-server-html-builder-jvm to v2.3.8

* Rename `koTest` to `Kotest` (#837)

* Update actions/upload-artifact action to v4 (#808)

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>

* Update actions/setup-python action to v5 (#801)

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>

* Update actions/setup-java action to v4 (#797)

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>

* Update tj-actions/changed-files action to v42 (#819)

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>

* Remove "konsist-starter-" prefix from dir names (#838)

* Rename starter projects dirs

* Upd build scripts

* Fix detekt exclusion

* KON-367 Add Child Declaration References (#736)

* Add contex receivers for parent

* add integration tests

* remove parents from KoInterfaceDeclaration

* remove files

* fix spotless

* add KDocs and tests for KoParentInterfaceProvider

* add methods for KoParentClassProvider

* add tests for KoParentClassProvider

* add extensions for KoParentClassProvider and KoParentInterfaceProvider with tests

* add extensions for KoParentInterfaceProvider lists with tests

* add extensions for KoParentClassProvider lists with tests

* add simply KoUnknownParentProvider

* add KoParentProvider to KoInterfaceDeclaration

* add some additional tests fo KoParentProvider

* add additional tests for KoLocationProvider to KoParentProvider

* fix spotless and detekt

* change unknow to external

* change unknown to external in IntegrationTest

* add additional tests for KoNameProvider to KoParentDeclaration (without external)

* add additional tests KoNameProvider  for external parent to KoParentDeclaration

* fix spotless and detekt

* fix tests

* add KoExternalParentDeclaration

* add initializing classes and interfaces once

* optimalize `parents`

* remove duplication

* fix spotless and detekt

* add extensions for external parents

* add tests for KoClassDeclaration, KoInterfaceDeclaration and KoObjectDeclaration for all kind of parents

* add tests for KoExternalParentDeclaration and remove unnecessary tests for KoParentDeclaration

* fix spotless

* remove old tests from `konsist-path-tester`

* upd `ApiKonsistTest`

* restore `withParentClassOf` to AndroidSnippets

* fix test in CleanArchitectureSnippets

* remove duplication

* add package declaration to KoParentDeclaration

* add extension and tests for external parents

* fix spotless

* fix spotless

* Add sample-external-library.jar

* Add sample-external-library project

* Check sample-external-library projects

* Upd GHA scripts

* Upd docs

* upd packages

* add external classes and interfaces

* upd snippets with real external parents

* remove `external parent check`

* fix tests and remove external project

* fix tests

* fix spotless and detekt

* upd `check.yml`

* remove empty line

* remove helper project

* fix tests

* add zip project

* change kttxt script

* upd searching parents (we check also num parameters)

* add new tests

* upd class and interface

* add info about external parents

* upd tests

* move `helper-project` to `projects`

* add tests

* fix tests

* add external parent cache and `indirectParents` parameter to KoExternalParentProvider

* add tests for external parents with indirect parents

* add tests for parent interfaces with indirect parents

* fix spotless and detekt

* upd snippets and konsistTests

* upd tests for KoParentProvider

* add KoChildDeclaration, KoChildProvider and extensions for this

* upd hasChildOf and hasAllChildrenOf

* upd code in KoChildProviderCore

* add indirect children

* add example test in konsist-path-tester

* fix tests after merge

* fix spotless and detekt

* clean code

* add tests

* fix tests

* change logic of scopeFromFile and scopeFromDirectory

* fix spotless

* add missing tests

* add tests

* fix tests

* fix spotless and detekt

---------

Co-authored-by: Igor Wojda <igor.wojda@gmail.com>

* KON-578 Fix fully qualified name (#830)

It returned another name if an import wich contains the expected fully qualified
name is declared early in the same file.

* Add Tests (#842)

* Revert "Remove "konsist-starter-" prefix from dir names" (#844)

This reverts commit 2fd0592706604d8e6b0154f671c9e0220b516bc8.

* Update dependency org.jetbrains.kotlin-wrappers:kotlin-react-dom to v18.2.0-pre.693 (#840)

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>

* Update dependency io.ktor:ktor-server-netty to v2.3.8

* Update dependency io.kotest:kotest-runner-junit5 to v5.8.0 (#846)

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>

* Update dependency org.jetbrains.kotlin-wrappers:kotlin-react to v18.2.0-pre.693

* Update plugin org.jetbrains.kotlin.multiplatform to v1.9.22 (#845)

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>

* Update dependency org.jetbrains.kotlinx:kotlinx-html-jvm to v0.11.0 (#849)

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>

* Update dependency org.jetbrains.kotlin-wrappers:kotlin-emotion to v11.11.1-pre.693 (#848)

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>

* Update dependency org.jetbrains.kotlin-wrappers:kotlin-emotion to v11.11.1-pre.694

* Update dependency org.jetbrains.kotlin-wrappers:kotlin-react to v18.2.0-pre.694

* Update dependency org.jetbrains.kotlin-wrappers:kotlin-react-dom to v18.2.0-pre.694

* Remove Scope Violation Suppress (#855)

* Upgrade CI Java Version (#854)

* Upgrade CI Java version to 21

* Upgrade Java version to 21

* Upgrade Java version to 21

* Upgrade Java version to 21

* Add test snippet

* zulu -> corretto

* Update plugin io.kotest.multiplatform to v5.8.0 (#850)

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>

* Update Kotlin Compiler Version (#857)

* KON-432 Add Konsist Tests Which Check That All Declarations And Providers Implement Correct Parents (#772)

* Add contex receivers for parent

* add integration tests

* remove parents from KoInterfaceDeclaration

* remove files

* fix spotless

* add KDocs and tests for KoParentInterfaceProvider

* add methods for KoParentClassProvider

* add tests for KoParentClassProvider

* add extensions for KoParentClassProvider and KoParentInterfaceProvider with tests

* add extensions for KoParentInterfaceProvider lists with tests

* add extensions for KoParentClassProvider lists with tests

* add simply KoUnknownParentProvider

* add KoParentProvider to KoInterfaceDeclaration

* add some additional tests fo KoParentProvider

* add additional tests for KoLocationProvider to KoParentProvider

* fix spotless and detekt

* change unknow to external

* change unknown to external in IntegrationTest

* add additional tests for KoNameProvider to KoParentDeclaration (without external)

* add additional tests KoNameProvider  for external parent to KoParentDeclaration

* fix spotless and detekt

* fix tests

* add KoExternalParentDeclaration

* add initializing classes and interfaces once

* optimalize `parents`

* remove duplication

* fix spotless and detekt

* add extensions for external parents

* add tests for KoClassDeclaration, KoInterfaceDeclaration and KoObjectDeclaration for all kind of parents

* add tests for KoExternalParentDeclaration and remove unnecessary tests for KoParentDeclaration

* fix spotless

* remove old tests from `konsist-path-tester`

* upd `ApiKonsistTest`

* restore `withParentClassOf` to AndroidSnippets

* fix test in CleanArchitectureSnippets

* remove duplication

* add package declaration to KoParentDeclaration

* add extension and tests for external parents

* fix spotless

* fix spotless

* Add sample-external-library.jar

* Add sample-external-library project

* Check sample-external-library projects

* Upd GHA scripts

* Upd docs

* upd packages

* add external classes and interfaces

* upd snippets with real external parents

* remove `external parent check`

* fix tests and remove external project

* fix tests

* fix spotless and detekt

* upd `check.yml`

* remove empty line

* remove helper project

* fix tests

* add zip project

* change kttxt script

* upd searching parents (we check also num parameters)

* add new tests

* upd class and interface

* add info about external parents

* upd tests

* move `helper-project` to `projects`

* add tests

* fix tests

* add external parent cache and `indirectParents` parameter to KoExternalParentProvider

* add tests for external parents with indirect parents

* add tests for parent interfaces with indirect parents

* fix spotless and detekt

* upd snippets and konsistTests

* upd tests for KoParentProvider

* fix after merge

* add all methods to KoParentClassProvider and tests for them

* upd extensions for KoParentClassProvider and tests for them

* fix api konsist tests

* upd kdocs

* fix tests

* fix spotless and detekt

* fix spotless

* fix parents

* add tests

* fix spotless and detekt

---------

Co-authored-by: Igor Wojda <igor.wojda@gmail.com>

* KON-560 Methods With KClass Parameter Fails When Name Of The Class Defined In The File Is The Same As Imported Class (#775)

* add varaibles

* rename localVariables to variables

* add extensions and tests for them

* add test for KoVariableDeclaration (on functions)

* add tests for declarations which implements KoVariableProvider

* KoVariableModifier - remove KoModifierProvider and fix fqn

* add tests in konsist-path-tester and fix detekt

* remove `includeLocal` from properties

* renames providers

* add some parametrized tests

* fix spotless and detekt

* add next tests

* add rest (in Konsist) tests for KoVariableDeclaration

* add tests for KoVariableDeclaration in `konsist-path-tester`

* fix spotless and detekt

* rename old anames to new one

* fix snippets

* fix spotless

* fix after rebase

* remove simple name from `of` methods

* fix tests

* fix spotless and detekt

* comment test

* upd hasTypeOf on the build-in kotlin types

* fix spotless

* fix after merge

* fix spotless

* KON-368 Add Tests Declaration References (#784)

* add varaibles

* rename localVariables to variables

* add extensions and tests for them

* add test for KoVariableDeclaration (on functions)

* add tests for declarations which implements KoVariableProvider

* KoVariableModifier - remove KoModifierProvider and fix fqn

* add tests in konsist-path-tester and fix detekt

* remove `includeLocal` from properties

* renames providers

* add some parametrized tests

* fix spotless and detekt

* add next tests

* add rest (in Konsist) tests for KoVariableDeclaration

* add tests for KoVariableDeclaration in `konsist-path-tester`

* fix spotless and detekt

* rename old anames to new one

* fix snippets

* fix spotless

* fix after rebase

* add KoTacitTypeProvider and tests

* add provider ext

* add missing tests

* add kdocs

* fix spotless and detekt

* add KoTestClassProvider

* add tests

* add KoTestClassProvider

* fix spotless and detekt

* add extensions and tests for them

* fix spotless

* remove overload extensions

* fix tests

* remove Tacit type from api and extract this as extensions in core

* upd logic

* upd tests

* upd code

* upd tests

* upd tests

* fix spotless and detekt

* upd kotlin version in konsist-path-tester and konsist-root-path-tester

* fix tests

* KON-264 add lists scope from directory (#778)

* add scope from directory, scopre from directories

* add tests for scopes from directories

* rollback imports

---------

Co-authored-by: Igor Wojda <igor.wojda@gmail.com>

* KON-579 Create `konsist-declaration-tester` (#858)

* add varaibles

* rename localVariables to variables

* add extensions and tests for them

* add test for KoVariableDeclaration (on functions)

* add tests for declarations which implements KoVariableProvider

* KoVariableModifier - remove KoModifierProvider and fix fqn

* add tests in konsist-path-tester and fix detekt

* remove `includeLocal` from properties

* renames providers

* add some parametrized tests

* fix spotless and detekt

* add next tests

* add rest (in Konsist) tests for KoVariableDeclaration

* add tests for KoVariableDeclaration in `konsist-path-tester`

* fix spotless and detekt

* rename old anames to new one

* fix snippets

* fix spotless

* fix after rebase

* add KoTacitTypeProvider and tests

* add provider ext

* add missing tests

* add kdocs

* fix spotless and detekt

* add KoTestClassProvider

* add tests

* add KoTestClassProvider

* fix spotless and detekt

* add extensions and tests for them

* fix spotless

* remove overload extensions

* fix tests

* remove Tacit type from api and extract this as extensions in core

* upd logic

* upd tests

* upd code

* upd tests

* upd tests

* fix spotless and detekt

* upd kotlin version in konsist-path-tester and konsist-root-path-tester

* fix tests

* add `konsist-declaration-tester` and move to this new project all tests which has no connection with path

* change comments

* add new github checks

* fix after merge

* KON-583 Add possibility to create scope passing sets of items (#861)

* fix spotless and detekt

* dix scopeFromFiles method

* remove test from architecture

* upd tests for `scopeFromFiles`

* add tests for `scopeFromDirectories`

* add tests for `scopeFromModules`

* add tests for `scopeFromSourceSets`

* upd kdocs

* KON-525 Add isReadOnly property to the KoPropertyDeclaration (#867)

* Add Slack Badge (#877)

* KON-543 Add `hasTacitType` (#773)

* add varaibles

* rename localVariables to variables

* add extensions and tests for them

* add test for KoVariableDeclaration (on functions)

* add tests for declarations which implements KoVariableProvider

* KoVariableModifier - remove KoModifierProvider and fix fqn

* add tests in konsist-path-tester and fix detekt

* remove `includeLocal` from properties

* renames providers

* add some parametrized tests

* fix spotless and detekt

* add next tests

* add rest (in Konsist) tests for KoVariableDeclaration

* add tests for KoVariableDeclaration in `konsist-path-tester`

* fix spotless and detekt

* rename old anames to new one

* fix snippets

* fix spotless

* fix after rebase

* add KoTacitTypeProvider and tests

* add provider ext

* add missing tests

* add kdocs

* fix spotless and detekt

* Clean up

---------

Co-authored-by: Igor Wojda <igor.wojda@gmail.com>

* KON-371 Initialize All `KoFiles` At Start (#878)

* Parse Declarations

* Parse Declarations

* Use declarations from KoFileDeclarationProvider

* Add Kdoc

* Restore name

* Clean up

* Clean up

* KON-547 Add Type Declarations (#868)

* add type declarations

* add first version

* upd version

* add KoFunctionTypeDeclaration

* upd code

* fix tests

* upd code

* upd code

* moving directories in tests

* add tests to KoFunctionTypeDeclaration

* add ImportAliasDeclaration

* add ImportAliasDeclaration

* fix spotless

* create one external declaration

* add import directive property to import alias declaration

* change typealias to type

* add providers for declarations

* fix tests and logic

* clean code

* add tests

* add tests for KoNullableProvider

* add KoTypeDeclarationForKoKotlinTypeProviderTest

* add KoTypeDeclarationForKoTextProviderTest

* add KoTypeDeclarationForKoNameProviderTest

* add some tests for KoKotlinTypeDeclaration

* upd structure and tests

* upd KoTypeDeclarationTest

* upd KoTypeDeclarationForKoContainingDeclarationProviderTest and KoTypeDeclarationForKoContainingFileProviderTest

* upd KoTypeDeclarationForKoLocationProviderTest

* upd KoTypeDeclarationForKoPathProviderTest

* upd KoTypeDeclarationForKoPackageProviderTest

* upd KoTypeDeclarationForKoResideInPackageProviderTest

* upd tests for KoFunctionTypeDeclaration

* add tests fo KoKotlinTypeDeclaration

* add some tests fo KoImportAliasDeclaration

* add tests fo KoImportAliasDeclaration

* add tests fo KoFunctionTypeDeclaration

* add tests fo KoFunctionTypeDeclaration

* clean code

* move directories

* upd code

* add tests for module and source set

* fix methods with KClass, like hasTypeOf

* upd code

* upd KoImportAliasDeclaration

* add alias as concrete type and fix tests

* remove unused snippets

* upd KoGenericTypeProvider in KoTypeDeclaration

* upd konsist tests

* rename `declaration` to `sourceDeclar`

* rename `declaration` to `sourceDeclaration`

* upd KoAliasProvider

* clean code

* added extensions for KoImportAliasProvider

* clean code

* fix konsist test

* add kdocs

* fix detekt

* KON-589 Upload Check results as artifacts (#880)

* Upload Test Reports

* Upload Test Reports

* Update names

* Upd artifact name

* Update name

* Use html artifacts

* KON-591 Run path test projects on MacOs (#881)

* Run on MacOs

* Run on MacOs

* KON-590 Root Path Testers Are Failin On Ubuntu (#882)

* Extract Path Checks to separate file

* Create Ubuntu path testers

* Disable checks

* Restore checks

* Restore checks

* KON-577 Layer doesn't allow string that uses a package wildcard twice (#892)

* add new tests

* upd regex

* comment test

* clean code

* add todo

* clean code

* remove unused test and upd kdoc

* upd kdoc

* KON-601 Update KDoc for `isInitialized` property (#895)

* KON-593 `KoPackageMatchingPathProviderCore.hasMatchingPath` fails on windows (#893)

* replace "\" with file separator

* add aditional tests in konsist-declaration-tester

* upd name

* fix detekt

* upd suppress annotation

* Empty-Commit

* Empty-Commit

* rename sep to separator

* fix path-tester

* KON-602 Improve layer verification (#897)

* add new tests

* upd regex

* comment test

* clean code

* add todo

* clean code

* remove unused test and upd kdoc

* upd kdoc

* upd regex and kdocs

* clean code

* Restore Kotlin Version (#899)

* Update Dev Readme (#898)

* Update kotlin monorepo (#894)

* Update kotlin monorepo

* Upd toolchain to Java 21

* Upd toolchain to Java 21

* Upd toolchain to Java 21

* Restore Kotlin

---------

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: Igor Wojda <igor.wojda@gmail.com>

* Update plugin com.android.application to v8.3.0 (#886)

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>

* Update tj-actions/changed-files action to v42.0.7 (#891)

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>

* Update plugin dokka to v1.9.20 (#885)

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>

* Update dependency org.jetbrains.kotlin-wrappers:kotlin-react-dom to v18.2.0-pre.710 (#889)

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>

* Update dependency io.ktor:ktor-server-netty to v2.3.9 (#884)

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>

* Update plugin com.android.library to v8.3.0 (#890)

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>

* Update dependency org.jetbrains.kotlin-wrappers:kotlin-react to v18.2.0-pre.710 (#888)

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>

* Update dependency org.jetbrains.kotlin-wrappers:kotlin-emotion to v11.11.1-pre.710 (#887)

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>

* Update dependency io.ktor:ktor-server-html-builder-jvm to v2.3.9 (#883)

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>

* KON-604 Update Artifact Verification (#901)

* Rename script and fail when no files

* Simplify script

* Upd name

* KON-603 Update Deprecated Version (#902)

* KON-606 Refactor Starter Projects Scripts (#906)

* Clean up run

* Update checks

* Test

* Update order

* KON-596 Add extensions to retrieve properties of the source type (#900)

* extract new provider for `sourceDeclaration`

* add properties and tests

* clean code

* add some extensions and tests for them

* add hasSourceX methods and tests for them

* add hasSourceDeclaration and hasSourceDeclarationOf

* add hasSourceXOf methods and tests for them

* clean code

* KON-586 Add KDocs for DeclarationReference (#904)

* extract new provider for `sourceDeclaration`

* add properties and tests

* clean code

* add some extensions and tests for them

* add hasSourceX methods and tests for them

* add hasSourceDeclaration and hasSourceDeclarationOf

* add hasSourceXOf methods and tests for them

* clean code

* upd kdoc

* upd kdoc

* Upd docs

---------

Co-authored-by: Igor Wojda <igor.wojda@gmail.com>

* KON-565 Upgrade Spotless (#907)

* Fix spotless issues

* Extract spotless version to libs.version.toml

* Upd snippets

* SpotlessApply

* Clean up

* Create getTomlVersion extension

* Fix detekt

* Fix snippet tests

* Fix snippet tests

* Simplify Snippet Usgae Verification Regex (#908)

* Simplify regex

* Fix spotless

* Rename CI Jobs (#909)

* Update tj-actions/changed-files action to v42.1.0

* Update dependency org.jetbrains.kotlin-wrappers:kotlin-emotion to v11.11.4-pre.711

* Update dependency org.jetbrains.kotlin-wrappers:kotlin-react to v18.2.0-pre.711 (#912)

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>

* Update dependency org.jetbrains.kotlin-wrappers:kotlin-react-dom to v18.2.0-pre.711 (#913)

Co-author…
igorwojda added a commit that referenced this pull request Apr 1, 2024
* Upgrade version to 0.13.0

* Update check kttx snippets

* Update check kttx snippets

* Update check kttx snippets

* Update version

* Update scripts

* Update scripts

* Update dev readme

* Release `v0.13.0` (#688)

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: Igor Wojda <igor.wojda@gmail.com>
Co-authored-by: NataliaPeterwas <111683562+nataliapeterwas@users.noreply.github.com>
Co-authored-by: Jony Sarco <jfe.sarco@gmail.com>

* Revert "Release `v0.13.0`" (#689)

* Update Konsist in starter projects to Konsist `v0.13.0` (#697)

* Update Kotest Snippets (#701)

* Replace REGEX to allow using .. as wildcard again (#720)

* Update README.md (#771)

* Fixed broken link to the getting started guide. (#827)

* Fix wrong detection of Git root project dir (#831)

Detection never worked before because Git creates directory
called '.git', while code was checking 'git'.

* Fix test

* Disable KMP starter projects

---------

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: NataliaPeterwas <111683562+nataliapeterwas@users.noreply.github.com>
Co-authored-by: Jony Sarco <jfe.sarco@gmail.com>
Co-authored-by: Guillermo Guerrero González <3263397+guiguegon@users.noreply.github.com>
Co-authored-by: Atiq Ur Rehman <6600985@gmail.com>
Co-authored-by: Piotr Kubowicz <piotr.kubowicz@gmail.com>
igorwojda added a commit that referenced this pull request Apr 1, 2024
* Upgrade version to 0.13.0

* Update check kttx snippets

* Update check kttx snippets

* Update check kttx snippets

* Update version

* Update scripts

* Update scripts

* Update dev readme

* Release `v0.13.0` (#688)

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: Igor Wojda <igor.wojda@gmail.com>
Co-authored-by: NataliaPeterwas <111683562+nataliapeterwas@users.noreply.github.com>
Co-authored-by: Jony Sarco <jfe.sarco@gmail.com>

* Revert "Release `v0.13.0`" (#689)

* Update Konsist in starter projects to Konsist `v0.13.0` (#697)

* Update Kotest Snippets (#701)

* Replace REGEX to allow using .. as wildcard again (#720)

* Update README.md (#771)

* Fixed broken link to the getting started guide. (#827)

* Fix wrong detection of Git root project dir (#831)

Detection never worked before because Git creates directory
called '.git', while code was checking 'git'.

* Fix spotless

---------

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: NataliaPeterwas <111683562+nataliapeterwas@users.noreply.github.com>
Co-authored-by: Jony Sarco <jfe.sarco@gmail.com>
Co-authored-by: Guillermo Guerrero González <3263397+guiguegon@users.noreply.github.com>
Co-authored-by: Atiq Ur Rehman <6600985@gmail.com>
Co-authored-by: Piotr Kubowicz <piotr.kubowicz@gmail.com>
igorwojda added a commit that referenced this pull request Apr 1, 2024
* Release/v0.14.0 (#917)

* Merge `main` to `develop` (#691)

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: Igor Wojda <igor.wojda@gmail.com>
Co-authored-by: NataliaPeterwas <111683562+nataliapeterwas@users.noreply.github.com>
Co-authored-by: Jony Sarco <jfe.sarco@gmail.com>

* Add Article (#696)

* Merge main to develop (#699)

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: Igor Wojda <igor.wojda@gmail.com>
Co-authored-by: NataliaPeterwas <111683562+nataliapeterwas@users.noreply.github.com>
Co-authored-by: Jony Sarco <jfe.sarco@gmail.com>

* Fix Artifact Upload (#698)

* Update Kotest Snippets (#700)

* KON-531 Add Dynamic Test Samples (#702)

* Upd Konsist Artifact Description (#703)

* Add Article (#705)

* Fix Typo (#704)

* Update Dynamic Tests (#706)

* KON-537 Update `update Snippets Script` To Make Sure PR Is Opened From The Newest Version Of Docs (#695)

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: Igor Wojda <igor.wojda@gmail.com>
Co-authored-by: NataliaPeterwas <111683562+nataliapeterwas@users.noreply.github.com>
Co-authored-by: Jony Sarco <jfe.sarco@gmail.com>

* Add Article "Konsist and Conquer: Embracing the World of Dynamic Testing" (#708)

* Update plugin testLogger to v4 (#710)

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>

* Update tj-actions/changed-files action to v39.2.2

* Add "ArchUnit vs Konsist in Android (Kotlin-oriented) codebase. A comparison of hidden implementation checks" Article3 (#713)

* KON-538 Add `testName` To `assertArchitecture` (#712)

* Update Sample Projects Docs (#716)

* Update plugin dokka to v1.9.10

* Update README.md

* Upd Snippets (#723)

* Update tj-actions/changed-files action to v39.2.3

* Update spring boot to v3.1.5

* KON-553: Allow `null` values in representsType() (#719)

* KON-553 Followup (#732)

* KON-369 Add Parent Declaration References (#709)

Co-authored-by: Igor Wojda <igor.wojda@gmail.com>

* Upd docs (#733)

* KON-563: Run only 1 CI pipeline in parallel for each PR (#725)

* Upd docs (#734)

* Update tj-actions/changed-files action to v39.2.4

* KON-205 Add Konsist Test Which Check That All Core Declarations Override `toString` (#735)

* Add Snippet (#740)

* Update dependency androidx.navigation:navigation-fragment-ktx to v2.7.5 (#741)

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>

* KON-541 Add KoVariableDeclaration (#717)

* Update dependency androidx.navigation:navigation-ui-ktx to v2.7.5

* Update plugin detekt to v1.23.3

* Update kotlin monorepo to v1.9.20

* Update dependency io.kotest:kotest-runner-junit5 to v5.8.0

* Update dependency io.kotest:kotest-runner-junit5-jvm to v5.8.0

* Update plugin io.kotest.multiplatform to v5.8.0

* Improve Gradle build performance (#749)

* KON-564 Extract if statements to variable (#730)

* Update plugin de.mannodermaus.android-junit5 to v1.10.0.0

* KON-569 Update Kmp Projects (#751)

* KON-562: Improve snippet CI verification (#724)

* KON-571 Fix `isKotlinType` Property Where Generic Types Where Treated as kotlin Collections (#754)

* KON-570 Add `KoSourceAndAliasTypeProviderCore.baseSourceType` (#753)

* KON-572 Fix for `sourcetype` stripping `?` (#756)

* KON-574 Add `isKotlinBasicType` And `isKotlinCollectionType` (#757)

* KON-570 Rename `baseSourceType` To `bareSourcetype` (#758)

* KON-570 Remove Package From `bareType` (#759)

* Add Project Icon (#761)

* Update Gitignore (#762)

* Update junit5 monorepo to v5.10.1

* Update `check_kttxt_snippets` (#764)

* KON-365 Add `indirectParents=false` Parameter (#726)

Co-authored-by: Igor Wojda <igor.wojda@gmail.com>

* Update tj-actions/changed-files action to v40 (#745)

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>

* Update plugin com.android.application to v8.1.3

* Update plugin com.android.library to v8.1.3

* Update tj-actions/changed-files action to v40.1.1

* KON-366 Change Return Type Of `containingDeclaration` (#715)

* change type of `containingDeclaration`

* remove nullability from `containingDeclaration` type

* sfix spotless and detekt

* upd tests

* use safe cast operator instead of unsafe cast operator

* fix spotless and detekt

* fix after merge

* Update plugin io.spring.dependency-management to v1.1.4

* Add Spring Snippet (#766)

* Update plugin com.android.application to v8.1.4

* Update plugin com.android.library to v8.1.4

* Fix git dir resolver uses the wrong paths (#780)

Co-authored-by: Emil Kollstrøm <e.kollstrom@sportradar.com>

* Update kotlin monorepo to v1.9.21

* Update spring boot to v3.2.0

* Update dependency org.codehaus.mojo:build-helper-maven-plugin to v3.5.0

* Update plugin detekt to v1.23.4

* Update tj-actions/changed-files action to v40.2.0

* Update dependency gradle to v8.5

* Update plugin com.android.application to v8.2.0

* Update plugin com.android.library to v8.2.0

* Update tj-actions/changed-files action to v40.2.1

* Update tj-actions/changed-files action to v40.2.2

* Update dependency androidx.navigation:navigation-fragment-ktx to v2.7.6

* Update dependency androidx.navigation:navigation-ui-ktx to v2.7.6

* Update dependency com.google.android.material:material to v1.11.0

* Update tj-actions/changed-files action to v40.2.3

* Update spring boot to v3.2.1

* Update kotlin monorepo to v1.9.22

* Update plugin com.android.application to v8.2.1

* Update plugin com.android.library to v8.2.1

* Update dependency io.mockk:mockk to v1.13.9

* Update spring boot to v3.2.2

* Update plugin com.android.application to v8.2.2

* Update plugin com.android.library to v8.2.2

* Update plugin detekt to v1.23.5

* Update dependency gradle to v8.6

* Update junit5 monorepo to v5.10.2

* Merge `main` to `develop` (#834)

* Upgrade version to 0.13.0

* Update check kttx snippets

* Update check kttx snippets

* Update check kttx snippets

* Update version

* Update scripts

* Update scripts

* Update dev readme

* Release `v0.13.0` (#688)

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: Igor Wojda <igor.wojda@gmail.com>
Co-authored-by: NataliaPeterwas <111683562+nataliapeterwas@users.noreply.github.com>
Co-authored-by: Jony Sarco <jfe.sarco@gmail.com>

* Revert "Release `v0.13.0`" (#689)

* Update Konsist in starter projects to Konsist `v0.13.0` (#697)

* Update Kotest Snippets (#701)

* Replace REGEX to allow using .. as wildcard again (#720)

* Update README.md (#771)

* Fixed broken link to the getting started guide. (#827)

* Fix wrong detection of Git root project dir (#831)

Detection never worked before because Git creates directory
called '.git', while code was checking 'git'.

* Fix test

* Disable KMP starter projects

---------

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: NataliaPeterwas <111683562+nataliapeterwas@users.noreply.github.com>
Co-authored-by: Jony Sarco <jfe.sarco@gmail.com>
Co-authored-by: Guillermo Guerrero González <3263397+guiguegon@users.noreply.github.com>
Co-authored-by: Atiq Ur Rehman <6600985@gmail.com>
Co-authored-by: Piotr Kubowicz <piotr.kubowicz@gmail.com>

* Update dependency io.ktor:ktor-server-html-builder-jvm to v2.3.8

* Rename `koTest` to `Kotest` (#837)

* Update actions/upload-artifact action to v4 (#808)

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>

* Update actions/setup-python action to v5 (#801)

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>

* Update actions/setup-java action to v4 (#797)

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>

* Update tj-actions/changed-files action to v42 (#819)

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>

* Remove "konsist-starter-" prefix from dir names (#838)

* Rename starter projects dirs

* Upd build scripts

* Fix detekt exclusion

* KON-367 Add Child Declaration References (#736)

* Add contex receivers for parent

* add integration tests

* remove parents from KoInterfaceDeclaration

* remove files

* fix spotless

* add KDocs and tests for KoParentInterfaceProvider

* add methods for KoParentClassProvider

* add tests for KoParentClassProvider

* add extensions for KoParentClassProvider and KoParentInterfaceProvider with tests

* add extensions for KoParentInterfaceProvider lists with tests

* add extensions for KoParentClassProvider lists with tests

* add simply KoUnknownParentProvider

* add KoParentProvider to KoInterfaceDeclaration

* add some additional tests fo KoParentProvider

* add additional tests for KoLocationProvider to KoParentProvider

* fix spotless and detekt

* change unknow to external

* change unknown to external in IntegrationTest

* add additional tests for KoNameProvider to KoParentDeclaration (without external)

* add additional tests KoNameProvider  for external parent to KoParentDeclaration

* fix spotless and detekt

* fix tests

* add KoExternalParentDeclaration

* add initializing classes and interfaces once

* optimalize `parents`

* remove duplication

* fix spotless and detekt

* add extensions for external parents

* add tests for KoClassDeclaration, KoInterfaceDeclaration and KoObjectDeclaration for all kind of parents

* add tests for KoExternalParentDeclaration and remove unnecessary tests for KoParentDeclaration

* fix spotless

* remove old tests from `konsist-path-tester`

* upd `ApiKonsistTest`

* restore `withParentClassOf` to AndroidSnippets

* fix test in CleanArchitectureSnippets

* remove duplication

* add package declaration to KoParentDeclaration

* add extension and tests for external parents

* fix spotless

* fix spotless

* Add sample-external-library.jar

* Add sample-external-library project

* Check sample-external-library projects

* Upd GHA scripts

* Upd docs

* upd packages

* add external classes and interfaces

* upd snippets with real external parents

* remove `external parent check`

* fix tests and remove external project

* fix tests

* fix spotless and detekt

* upd `check.yml`

* remove empty line

* remove helper project

* fix tests

* add zip project

* change kttxt script

* upd searching parents (we check also num parameters)

* add new tests

* upd class and interface

* add info about external parents

* upd tests

* move `helper-project` to `projects`

* add tests

* fix tests

* add external parent cache and `indirectParents` parameter to KoExternalParentProvider

* add tests for external parents with indirect parents

* add tests for parent interfaces with indirect parents

* fix spotless and detekt

* upd snippets and konsistTests

* upd tests for KoParentProvider

* add KoChildDeclaration, KoChildProvider and extensions for this

* upd hasChildOf and hasAllChildrenOf

* upd code in KoChildProviderCore

* add indirect children

* add example test in konsist-path-tester

* fix tests after merge

* fix spotless and detekt

* clean code

* add tests

* fix tests

* change logic of scopeFromFile and scopeFromDirectory

* fix spotless

* add missing tests

* add tests

* fix tests

* fix spotless and detekt

---------

Co-authored-by: Igor Wojda <igor.wojda@gmail.com>

* KON-578 Fix fully qualified name (#830)

It returned another name if an import wich contains the expected fully qualified
name is declared early in the same file.

* Add Tests (#842)

* Revert "Remove "konsist-starter-" prefix from dir names" (#844)

This reverts commit 2fd0592706604d8e6b0154f671c9e0220b516bc8.

* Update dependency org.jetbrains.kotlin-wrappers:kotlin-react-dom to v18.2.0-pre.693 (#840)

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>

* Update dependency io.ktor:ktor-server-netty to v2.3.8

* Update dependency io.kotest:kotest-runner-junit5 to v5.8.0 (#846)

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>

* Update dependency org.jetbrains.kotlin-wrappers:kotlin-react to v18.2.0-pre.693

* Update plugin org.jetbrains.kotlin.multiplatform to v1.9.22 (#845)

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>

* Update dependency org.jetbrains.kotlinx:kotlinx-html-jvm to v0.11.0 (#849)

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>

* Update dependency org.jetbrains.kotlin-wrappers:kotlin-emotion to v11.11.1-pre.693 (#848)

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>

* Update dependency org.jetbrains.kotlin-wrappers:kotlin-emotion to v11.11.1-pre.694

* Update dependency org.jetbrains.kotlin-wrappers:kotlin-react to v18.2.0-pre.694

* Update dependency org.jetbrains.kotlin-wrappers:kotlin-react-dom to v18.2.0-pre.694

* Remove Scope Violation Suppress (#855)

* Upgrade CI Java Version (#854)

* Upgrade CI Java version to 21

* Upgrade Java version to 21

* Upgrade Java version to 21

* Upgrade Java version to 21

* Add test snippet

* zulu -> corretto

* Update plugin io.kotest.multiplatform to v5.8.0 (#850)

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>

* Update Kotlin Compiler Version (#857)

* KON-432 Add Konsist Tests Which Check That All Declarations And Providers Implement Correct Parents (#772)

* Add contex receivers for parent

* add integration tests

* remove parents from KoInterfaceDeclaration

* remove files

* fix spotless

* add KDocs and tests for KoParentInterfaceProvider

* add methods for KoParentClassProvider

* add tests for KoParentClassProvider

* add extensions for KoParentClassProvider and KoParentInterfaceProvider with tests

* add extensions for KoParentInterfaceProvider lists with tests

* add extensions for KoParentClassProvider lists with tests

* add simply KoUnknownParentProvider

* add KoParentProvider to KoInterfaceDeclaration

* add some additional tests fo KoParentProvider

* add additional tests for KoLocationProvider to KoParentProvider

* fix spotless and detekt

* change unknow to external

* change unknown to external in IntegrationTest

* add additional tests for KoNameProvider to KoParentDeclaration (without external)

* add additional tests KoNameProvider  for external parent to KoParentDeclaration

* fix spotless and detekt

* fix tests

* add KoExternalParentDeclaration

* add initializing classes and interfaces once

* optimalize `parents`

* remove duplication

* fix spotless and detekt

* add extensions for external parents

* add tests for KoClassDeclaration, KoInterfaceDeclaration and KoObjectDeclaration for all kind of parents

* add tests for KoExternalParentDeclaration and remove unnecessary tests for KoParentDeclaration

* fix spotless

* remove old tests from `konsist-path-tester`

* upd `ApiKonsistTest`

* restore `withParentClassOf` to AndroidSnippets

* fix test in CleanArchitectureSnippets

* remove duplication

* add package declaration to KoParentDeclaration

* add extension and tests for external parents

* fix spotless

* fix spotless

* Add sample-external-library.jar

* Add sample-external-library project

* Check sample-external-library projects

* Upd GHA scripts

* Upd docs

* upd packages

* add external classes and interfaces

* upd snippets with real external parents

* remove `external parent check`

* fix tests and remove external project

* fix tests

* fix spotless and detekt

* upd `check.yml`

* remove empty line

* remove helper project

* fix tests

* add zip project

* change kttxt script

* upd searching parents (we check also num parameters)

* add new tests

* upd class and interface

* add info about external parents

* upd tests

* move `helper-project` to `projects`

* add tests

* fix tests

* add external parent cache and `indirectParents` parameter to KoExternalParentProvider

* add tests for external parents with indirect parents

* add tests for parent interfaces with indirect parents

* fix spotless and detekt

* upd snippets and konsistTests

* upd tests for KoParentProvider

* fix after merge

* add all methods to KoParentClassProvider and tests for them

* upd extensions for KoParentClassProvider and tests for them

* fix api konsist tests

* upd kdocs

* fix tests

* fix spotless and detekt

* fix spotless

* fix parents

* add tests

* fix spotless and detekt

---------

Co-authored-by: Igor Wojda <igor.wojda@gmail.com>

* KON-560 Methods With KClass Parameter Fails When Name Of The Class Defined In The File Is The Same As Imported Class (#775)

* add varaibles

* rename localVariables to variables

* add extensions and tests for them

* add test for KoVariableDeclaration (on functions)

* add tests for declarations which implements KoVariableProvider

* KoVariableModifier - remove KoModifierProvider and fix fqn

* add tests in konsist-path-tester and fix detekt

* remove `includeLocal` from properties

* renames providers

* add some parametrized tests

* fix spotless and detekt

* add next tests

* add rest (in Konsist) tests for KoVariableDeclaration

* add tests for KoVariableDeclaration in `konsist-path-tester`

* fix spotless and detekt

* rename old anames to new one

* fix snippets

* fix spotless

* fix after rebase

* remove simple name from `of` methods

* fix tests

* fix spotless and detekt

* comment test

* upd hasTypeOf on the build-in kotlin types

* fix spotless

* fix after merge

* fix spotless

* KON-368 Add Tests Declaration References (#784)

* add varaibles

* rename localVariables to variables

* add extensions and tests for them

* add test for KoVariableDeclaration (on functions)

* add tests for declarations which implements KoVariableProvider

* KoVariableModifier - remove KoModifierProvider and fix fqn

* add tests in konsist-path-tester and fix detekt

* remove `includeLocal` from properties

* renames providers

* add some parametrized tests

* fix spotless and detekt

* add next tests

* add rest (in Konsist) tests for KoVariableDeclaration

* add tests for KoVariableDeclaration in `konsist-path-tester`

* fix spotless and detekt

* rename old anames to new one

* fix snippets

* fix spotless

* fix after rebase

* add KoTacitTypeProvider and tests

* add provider ext

* add missing tests

* add kdocs

* fix spotless and detekt

* add KoTestClassProvider

* add tests

* add KoTestClassProvider

* fix spotless and detekt

* add extensions and tests for them

* fix spotless

* remove overload extensions

* fix tests

* remove Tacit type from api and extract this as extensions in core

* upd logic

* upd tests

* upd code

* upd tests

* upd tests

* fix spotless and detekt

* upd kotlin version in konsist-path-tester and konsist-root-path-tester

* fix tests

* KON-264 add lists scope from directory (#778)

* add scope from directory, scopre from directories

* add tests for scopes from directories

* rollback imports

---------

Co-authored-by: Igor Wojda <igor.wojda@gmail.com>

* KON-579 Create `konsist-declaration-tester` (#858)

* add varaibles

* rename localVariables to variables

* add extensions and tests for them

* add test for KoVariableDeclaration (on functions)

* add tests for declarations which implements KoVariableProvider

* KoVariableModifier - remove KoModifierProvider and fix fqn

* add tests in konsist-path-tester and fix detekt

* remove `includeLocal` from properties

* renames providers

* add some parametrized tests

* fix spotless and detekt

* add next tests

* add rest (in Konsist) tests for KoVariableDeclaration

* add tests for KoVariableDeclaration in `konsist-path-tester`

* fix spotless and detekt

* rename old anames to new one

* fix snippets

* fix spotless

* fix after rebase

* add KoTacitTypeProvider and tests

* add provider ext

* add missing tests

* add kdocs

* fix spotless and detekt

* add KoTestClassProvider

* add tests

* add KoTestClassProvider

* fix spotless and detekt

* add extensions and tests for them

* fix spotless

* remove overload extensions

* fix tests

* remove Tacit type from api and extract this as extensions in core

* upd logic

* upd tests

* upd code

* upd tests

* upd tests

* fix spotless and detekt

* upd kotlin version in konsist-path-tester and konsist-root-path-tester

* fix tests

* add `konsist-declaration-tester` and move to this new project all tests which has no connection with path

* change comments

* add new github checks

* fix after merge

* KON-583 Add possibility to create scope passing sets of items (#861)

* fix spotless and detekt

* dix scopeFromFiles method

* remove test from architecture

* upd tests for `scopeFromFiles`

* add tests for `scopeFromDirectories`

* add tests for `scopeFromModules`

* add tests for `scopeFromSourceSets`

* upd kdocs

* KON-525 Add isReadOnly property to the KoPropertyDeclaration (#867)

* Add Slack Badge (#877)

* KON-543 Add `hasTacitType` (#773)

* add varaibles

* rename localVariables to variables

* add extensions and tests for them

* add test for KoVariableDeclaration (on functions)

* add tests for declarations which implements KoVariableProvider

* KoVariableModifier - remove KoModifierProvider and fix fqn

* add tests in konsist-path-tester and fix detekt

* remove `includeLocal` from properties

* renames providers

* add some parametrized tests

* fix spotless and detekt

* add next tests

* add rest (in Konsist) tests for KoVariableDeclaration

* add tests for KoVariableDeclaration in `konsist-path-tester`

* fix spotless and detekt

* rename old anames to new one

* fix snippets

* fix spotless

* fix after rebase

* add KoTacitTypeProvider and tests

* add provider ext

* add missing tests

* add kdocs

* fix spotless and detekt

* Clean up

---------

Co-authored-by: Igor Wojda <igor.wojda@gmail.com>

* KON-371 Initialize All `KoFiles` At Start (#878)

* Parse Declarations

* Parse Declarations

* Use declarations from KoFileDeclarationProvider

* Add Kdoc

* Restore name

* Clean up

* Clean up

* KON-547 Add Type Declarations (#868)

* add type declarations

* add first version

* upd version

* add KoFunctionTypeDeclaration

* upd code

* fix tests

* upd code

* upd code

* moving directories in tests

* add tests to KoFunctionTypeDeclaration

* add ImportAliasDeclaration

* add ImportAliasDeclaration

* fix spotless

* create one external declaration

* add import directive property to import alias declaration

* change typealias to type

* add providers for declarations

* fix tests and logic

* clean code

* add tests

* add tests for KoNullableProvider

* add KoTypeDeclarationForKoKotlinTypeProviderTest

* add KoTypeDeclarationForKoTextProviderTest

* add KoTypeDeclarationForKoNameProviderTest

* add some tests for KoKotlinTypeDeclaration

* upd structure and tests

* upd KoTypeDeclarationTest

* upd KoTypeDeclarationForKoContainingDeclarationProviderTest and KoTypeDeclarationForKoContainingFileProviderTest

* upd KoTypeDeclarationForKoLocationProviderTest

* upd KoTypeDeclarationForKoPathProviderTest

* upd KoTypeDeclarationForKoPackageProviderTest

* upd KoTypeDeclarationForKoResideInPackageProviderTest

* upd tests for KoFunctionTypeDeclaration

* add tests fo KoKotlinTypeDeclaration

* add some tests fo KoImportAliasDeclaration

* add tests fo KoImportAliasDeclaration

* add tests fo KoFunctionTypeDeclaration

* add tests fo KoFunctionTypeDeclaration

* clean code

* move directories

* upd code

* add tests for module and source set

* fix methods with KClass, like hasTypeOf

* upd code

* upd KoImportAliasDeclaration

* add alias as concrete type and fix tests

* remove unused snippets

* upd KoGenericTypeProvider in KoTypeDeclaration

* upd konsist tests

* rename `declaration` to `sourceDeclar`

* rename `declaration` to `sourceDeclaration`

* upd KoAliasProvider

* clean code

* added extensions for KoImportAliasProvider

* clean code

* fix konsist test

* add kdocs

* fix detekt

* KON-589 Upload Check results as artifacts (#880)

* Upload Test Reports

* Upload Test Reports

* Update names

* Upd artifact name

* Update name

* Use html artifacts

* KON-591 Run path test projects on MacOs (#881)

* Run on MacOs

* Run on MacOs

* KON-590 Root Path Testers Are Failin On Ubuntu (#882)

* Extract Path Checks to separate file

* Create Ubuntu path testers

* Disable checks

* Restore checks

* Restore checks

* KON-577 Layer doesn't allow string that uses a package wildcard twice (#892)

* add new tests

* upd regex

* comment test

* clean code

* add todo

* clean code

* remove unused test and upd kdoc

* upd kdoc

* KON-601 Update KDoc for `isInitialized` property (#895)

* KON-593 `KoPackageMatchingPathProviderCore.hasMatchingPath` fails on windows (#893)

* replace "\" with file separator

* add aditional tests in konsist-declaration-tester

* upd name

* fix detekt

* upd suppress annotation

* Empty-Commit

* Empty-Commit

* rename sep to separator

* fix path-tester

* KON-602 Improve layer verification (#897)

* add new tests

* upd regex

* comment test

* clean code

* add todo

* clean code

* remove unused test and upd kdoc

* upd kdoc

* upd regex and kdocs

* clean code

* Restore Kotlin Version (#899)

* Update Dev Readme (#898)

* Update kotlin monorepo (#894)

* Update kotlin monorepo

* Upd toolchain to Java 21

* Upd toolchain to Java 21

* Upd toolchain to Java 21

* Restore Kotlin

---------

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: Igor Wojda <igor.wojda@gmail.com>

* Update plugin com.android.application to v8.3.0 (#886)

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>

* Update tj-actions/changed-files action to v42.0.7 (#891)

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>

* Update plugin dokka to v1.9.20 (#885)

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>

* Update dependency org.jetbrains.kotlin-wrappers:kotlin-react-dom to v18.2.0-pre.710 (#889)

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>

* Update dependency io.ktor:ktor-server-netty to v2.3.9 (#884)

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>

* Update plugin com.android.library to v8.3.0 (#890)

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>

* Update dependency org.jetbrains.kotlin-wrappers:kotlin-react to v18.2.0-pre.710 (#888)

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>

* Update dependency org.jetbrains.kotlin-wrappers:kotlin-emotion to v11.11.1-pre.710 (#887)

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>

* Update dependency io.ktor:ktor-server-html-builder-jvm to v2.3.9 (#883)

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>

* KON-604 Update Artifact Verification (#901)

* Rename script and fail when no files

* Simplify script

* Upd name

* KON-603 Update Deprecated Version (#902)

* KON-606 Refactor Starter Projects Scripts (#906)

* Clean up run

* Update checks

* Test

* Update order

* KON-596 Add extensions to retrieve properties of the source type (#900)

* extract new provider for `sourceDeclaration`

* add properties and tests

* clean code

* add some extensions and tests for them

* add hasSourceX methods and tests for them

* add hasSourceDeclaration and hasSourceDeclarationOf

* add hasSourceXOf methods and tests for them

* clean code

* KON-586 Add KDocs for DeclarationReference (#904)

* extract new provider for `sourceDeclaration`

* add properties and tests

* clean code

* add some extensions and tests for them

* add hasSourceX methods and tests for them

* add hasSourceDeclaration and hasSourceDeclarationOf

* add hasSourceXOf methods and tests for them

* clean code

* upd kdoc

* upd kdoc

* Upd docs

---------

Co-authored-by: Igor Wojda <igor.wojda@gmail.com>

* KON-565 Upgrade Spotless (#907)

* Fix spotless issues

* Extract spotless version to libs.version.toml

* Upd snippets

* SpotlessApply

* Clean up

* Create getTomlVersion extension

* Fix detekt

* Fix snippet tests

* Fix snippet tests

* Simplify Snippet Usgae Verification Regex (#908)

* Simplify regex

* Fix spotless

* Rename CI Jobs (#909)

* Update tj-actions/changed-files action to v42.1.0

* Update dependency org.jetbrains.kotlin-wrappers:kotlin-emotion to v11.11.4-pre.711

* Update dependency org.jetbrains.kotlin-wrappers:kotlin-react to v18.2.0-pre.711 (#912)

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>

* Update dependency org.jetbrains.kotlin-wrappers:kotlin-react-dom to v18.2.0-pre.711 (#913)

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>

* KON-609 Add Type Extensions (#914)

* Update Kdoc (#915)

* Main To Develop (#916)

* Upgrade version to 0.13.0

* Update check kttx snippets

* Update check kttx snippets

* Update check kttx snippets

* Update version

* Update scripts

* Update scripts

* Update dev readme

* Release `v0.13.0` (#688)

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: Igor Wojda <igor.wojda@gmail.com>
Co-authored-by: NataliaPeterwas <111683562+nataliapeterwas@users.noreply.github.com>
Co-authored-by: Jony Sarco <jfe.sarco@gmail.com>

* Revert "Release `v0.13.0`" (#689)

* Update Konsist in starter projects to Konsist `v0.13.0` (#697)

* Update Kotest Snippets (#701)

* Replace REGEX to allow using .. as wildcard again (#720)

* Update README.md (#771)

* Fixed broken link to the getting started guide. (#827)

* Fix wrong detection of Git root project dir (#831)

Detection never worked before because Git creates directory
called '.git', while code was checking 'git'.

* Upd linters

* Upd readme

---------

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: NataliaPeterwas <111683562+nataliapeterwas@users.noreply.github.com>
Co-authored-by: Jony Sarco <jfe.sarco@gmail.com>
Co-authored-by: Guillermo Guerrero González <3263397+guiguegon@users.noreply.github.com>
Co-authored-by: Atiq Ur Rehman <6600985@gmail.com>
Co-authored-by: Piotr Kubowicz <piotr.kubowicz@gmail.com>

* Revert "Main To Develop" (#918)

This reverts commit 77ea591e3492e133a44df48a7b7768dfac47b526.

* Revert "Revert "Main To Develop"" (#919)

This reverts commit 20a0bf90f29819482205bc04c84409a31a2c65e4.

* Update dependency io.kotest:kotest-runner-junit5-jvm to v5.8.1 (#922)

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>

* Update dependency io.kotest:kotest-runner-junit5 to v5.8.1 (#921)

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>

* Main=to Develop (#923)

* Upgrade version to 0.13.0

* Update check kttx snippets

* Update check kttx snippets

* Update check kttx snippets

* Update version

* Update scripts

* Update scripts

* Update dev readme

* Release `v0.13.0` (#688)

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: Igor Wojda <igor.wojda@gmail.com>
Co-authored-by: NataliaPeterwas <111683562+nataliapeterwas@users.noreply.github.com>
Co-authored-by: Jony Sarco <jfe.sarco@gmail.com>

* Revert "Release `v0.13.0`" (#689)

* Update Konsist in starter projects to Konsist `v0.13.0` (#697)

* Update Kotest Snippets (#701)

* Replace REGEX to allow using .. as wildcard again (#720)

* Update README.md (#771)

* Fixed broken link to the getting started guide. (#827)

* Fix wrong detection of Git root project dir (#831)

Detection never worked before because Git creates directory
called '.git', while code was checking 'git'.

* Fix spotless

---------

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: NataliaPeterwas <111683562+nataliapeterwas@users.noreply.github.com>
Co-authored-by: Jony Sarco <jfe.sarco@gmail.com>
Co-authored-by: Guillermo Guerrero González <3263397+guiguegon@users.noreply.github.com>
Co-authored-by: Atiq Ur Rehman <6600985@gmail.com>
Co-authored-by: Piotr Kubowicz <piotr.kubowicz@gmail.com>

* Update dependency org.jetbrains.kotlin-wrappers:kotlin-emotion to v11.11.4-pre.712 (#924)

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>

* Update dependency org.jetbrains.kotlin-wrappers:kotlin-react to v18.2.0-pre.712 (#925)

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>

* Add Missing Kotlin Basic Types - `Unit`, `Any` and `Nothing` (#926)

* Use `sourceX` Properties (#927)

* use dedicated properties instead of writing sth like: `?.sourceDeclaration as? KoImportAliasDeclaration`

* upd tests in konsist-declaration-tester

* Update dependency org.jetbrains.kotlin-wrappers:kotlin-react-dom to v18.2.0-pre.712 (#928)

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>

* Update plugin io.kotest.multiplatform to v5.8.1 (#929)

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>

* Rename `sourceX` to `asXDeclaration()` (#930)

* use dedicated properties instead of writing sth like: `?.sourceDeclaration as? KoImportAliasDeclaration`

* upd tests in konsist-declaration-tester

* rename `sourceX` properties to `asXDeclaration`

* clean code

* Update version

* Print conditions

* Add needs

* Add if

* Add concurrency

* Fix ktlint

* Upd snippets

* Exclude documentation snippets

* Fix spotless

---------

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: NataliaPeterwas <111683562+nataliapeterwas@users.noreply.github.com>
Co-authored-by: Jony Sarco <jfe.sarco@gmail.com>
Co-authored-by: Yonatan Karp-Rudin <yonvata@gmail.com>
Co-authored-by: Mirco Franzek <ablx@users.noreply.github.com>
Co-authored-by: Emil Orvik Kollstrøm <emilok@hey.com>
Co-authored-by: Emil Kollstrøm <e.kollstrom@sportradar.com>
Co-authored-by: Guillermo Guerrero González <3263397+guiguegon@users.noreply.github.com>
Co-authored-by: Atiq Ur Rehman <6600985@gmail.com>
Co-authored-by: Piotr Kubowicz <piotr.kubowicz@gmail.com>
Co-authored-by: Jean-Baptiste Mille <jean-baptiste@sogilis.com>

* Revert "Release/v0.14.0" (#932)

This reverts commit b3a6e22bbd9228eee675affeee98ad065302fa96.

* Add Article (#696)

* Fix Artifact Upload (#698)

* KON-531 Add Dynamic Test Samples (#702)

* Upd Konsist Artifact Description (#703)

* Add Article (#705)

* Fix Typo (#704)

* Update Dynamic Tests (#706)

* KON-537 Update `update Snippets Script` To Make Sure PR Is Opened From The Newest Version Of Docs (#695)

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: Igor Wojda <igor.wojda@gmail.com>
Co-authored-by: NataliaPeterwas <111683562+nataliapeterwas@users.noreply.github.com>
Co-authored-by: Jony Sarco <jfe.sarco@gmail.com>

* Add Article "Konsist and Conquer: Embracing the World of Dynamic Testing" (#708)

* Update plugin testLogger to v4 (#710)

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>

* Update tj-actions/changed-files action to v39.2.2

* Add "ArchUnit vs Konsist in Android (Kotlin-oriented) codebase. A comparison of hidden implementation checks" Article3 (#713)

* KON-538 Add `testName` To `assertArchitecture` (#712)

* Update Sample Projects Docs (#716)

* Update plugin dokka to v1.9.10

* Update README.md

* Upd Snippets (#723)

* Update tj-actions/changed-files action to v39.2.3

* Update spring boot to v3.1.5

* KON-553: Allow `null` values in representsType() (#719)

* KON-553 Followup (#732)

* KON-369 Add Parent Declaration References (#709)

Co-authored-by: Igor Wojda <igor.wojda@gmail.com>

* Upd docs (#733)

* KON-563: Run only 1 CI pipeline in parallel for each PR (#725)

* Upd docs (#734)

* Update tj-actions/changed-files action to v39.2.4

* KON-205 Add Konsist Test Which Check That All Core Declarations Override `toString` (#735)

* Add Snippet (#740)

* Update dependency androidx.navigation:navigation-fragment-ktx to v2.7.5 (#741)

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>

* KON-541 Add KoVariableDeclaration (#717)

* Update dependency androidx.navigation:navigation-ui-ktx to v2.7.5

* Update plugin detekt to v1.23.3

* Update kotlin monorepo to v1.9.20

* Update dependency io.kotest:kotest-runner-junit5 to v5.8.0

* Update dependency io.kotest:kotest-runner-junit5-jvm to v5.8.0

* Update plugin io.kotest.multiplatform to v5.8.0

* Improve Gradle build performance (#749)

* KON-564 Extract if statements to variable (#730)

* Update plugin de.mannodermaus.android-junit5 to v1.10.0.0

* KON-569 Update Kmp Projects (#751)

* KON-562: Improve snippet CI verification (#724)

* KON-571 Fix `isKotlinType` Property Where Generic Types Where Treated as kotlin Collections (#754)

* KON-570 Add `KoSourceAndAliasTypeProviderCore.baseSourceType` (#753)

* KON-572 Fix for `sourcetype` stripping `?` (#756)

* KON-574 Add `isKotlinBasicType` And `isKotlinCollectionType` (#757)

* KON-570 Rename `baseSourceType` To `bareSourcetype` (#758)

* KON-570 Remove Package From `bareType` (#759)

* Add Project Icon (#761)

* Update Gitignore (#762)

* Update junit5 monorepo to v5.10.1

* Update `check_kttxt_snippets` (#764)

* KON-365 Add `indirectParents=false` Parameter (#726)

Co-authored-by: Igor Wojda <igor.wojda@gmail.com>

* Update tj-actions/changed-files action to v40 (#745)

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>

* Update plugin com.android.application to v8.1.3

* Update plugin com.android.library to v8.1.3

* Update tj-actions/changed-files action to v40.1.1

* KON-366 Change Return Type Of `containingDeclaration` (#715)

* change type of `containingDeclaration`

* remove nullability from `containingDeclaration` type

* sfix spotless and detekt

* upd tests

* use safe cast operator instead of unsafe cast operator

* fix spotless and detekt

* fix after merge

* Update plugin io.spring.dependency-management to v1.1.4

* Add Spring Snippet (#766)

* Update plugin com.android.application to v8.1.4

* Update plugin com.android.library to v8.1.4

* Fix git dir resolver uses the wrong paths (#780)

Co-authored-by: Emil Kollstrøm <e.kollstrom@sportradar.com>

* Update kotlin monorepo to v1.9.21

* Update spring boot to v3.2.0

* Update dependency org.codehaus.mojo:build-helper-maven-plugin to v3.5.0

* Update plugin detekt to v1.23.4

* Update tj-actions/changed-files action to v40.2.0

* Update dependency gradle to v8.5

* Update plugin com.android.application to v8.2.0

* Update plugin com.android.library to v8.2.0

* Update tj-actions/changed-files action to v40.2.1

* Update tj-actions/changed-files action to v40.2.2

* Update dependency androidx.navigation:navigation-fragment-ktx to v2.7.6

* Update dependency androidx.navigation:navigation-ui-ktx to v2.7.6

* Update dependency com.google.android.material:material to v1.11.0

* Update tj-actions/changed-files action to v40.2.3

* Update spring boot to v3.2.1

* Update kotlin monorepo to v1.9.22

* Update plugin com.android.application to v8.2.1

* Update plugin com.android.library to v8.2.1

* Update dependency io.mockk:mockk to v1.13.9

* Update spring boot to v3.2.2

* Update plugin com.android.application to v8.2.2

* Update plugin com.android.library to v8.2.2

* Update plugin detekt to v1.23.5

* Update dependency gradle to v8.6

* Update junit5 monorepo to v5.10.2

* Merge `main` to `develop` (#834)

* Upgrade version to 0.13.0

* Update check kttx snippets

* Update check kttx snippets

* Update check kttx snippets

* Update version

* Update scripts

* Update scripts

* Update dev readme

* Release `v0.13.0` (#688)

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: Igor Wojda <igor.wojda@gmail.com>
Co-authored-by: NataliaPeterwas <111683562+nataliapeterwas@users.noreply.github.com>
Co-authored-by: Jony Sarco <jfe.sarco@gmail.com>

* Revert "Release `v0.13.0`" (#689)

* Update Konsist in starter projects to Konsist `v0.13.0` (#697)

* Update Kotest Snippets (#701)

* Replace REGEX to allow using .. as wildcard again (#720)

* Update README.md (#771)

* Fixed broken link to the getting started guide. (#827)

* Fix wrong detection of Git root project dir (#831)

Detection never worked before because Git creates directory
called '.git', while code was checking 'git'.

* Fix test

* Disable KMP starter projects

---------

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: NataliaPeterwas <111683562+nataliapeterwas@users.noreply.github.com>
Co-authored-by: Jony Sarco <jfe.sarco@gmail.com>
Co-authored-by: Guillermo Guerrero González <3263397+guiguegon@users.noreply.github.com>
Co-authored-by: Atiq Ur Rehman <6600985@gmail.com>
Co-authored-by: Piotr Kubowicz <piotr.kubowicz@gmail.com>

* Update dependency io.ktor:ktor-server-html-builder-jvm to v2.3.8

* Rename `koTest` to `Kotest` (#837)

* Update actions/upload-artifact action to v4 (#808)

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>

* Update actions/setup-python action to v5 (#801)

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>

* Update actions/setup-java action to v4 (#797)

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>

* Update tj-actions/changed-files action to v42 (#819)

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>

* Remove "konsist-starter-" prefix from dir names (#838)

* Rename starter projects dirs

* Upd build scripts

* Fix detekt exclusion

* KON-367 Add Child Declaration References (#736)

* Add contex receivers for parent

* add integration tests

* remove parents from KoInterfaceDeclaration

* remove files

* fix spotless

* add KDocs and tests for KoParentInterfaceProvider

* add methods for KoParentClassProvider

* add tests for KoParentClassProvider

* add extensions for KoParentClassProvider and KoParentInterfaceProvider with tests

* add extensions for KoParentInterfaceProvider lists with tests

* add extensions for KoParentClassProvider lists with tests

* add simply KoUnknownParentProvider

* add KoParentProvider to KoInterfaceDeclaration

* add some additional tests fo KoParentProvider

* add additional tests for KoLocationProvider to KoParentProvider

* fix spotless and detekt

* change unknow to external

* change unknown to external in IntegrationTest

* add additional tests for KoNameProvider to KoParentDeclaration (without external)

* add additional tests KoNameProvider  for external parent to KoParentDeclaration

* fix spotless and detekt

* fix tests

* add KoExternalParentDeclaration

* add initializing classes and interfaces once

* optimalize `parents`

* remove duplication

* fix spotless and detekt

* add extensions for external parents

* add tests for KoClassDeclaration, KoInterfaceDeclaration and KoObjectDeclaration for all kind of parents

* add tests for KoExternalParentDeclaration and remove unnecessary tests for KoParentDeclaration

* fix spotless

* remove old tests from `konsist-path-tester`

* upd `ApiKonsistTest`

* restore `withParentClassOf` to AndroidSnippets

* fix test in CleanArchitectureSnippets

* remove duplication

* add package declaration to KoParentDeclaration

* add extension and tests for external parents

* fix spotless

* fix spotless

* Add sample-external-library.jar

* Add sample-external-library project

* Check sample-external-library projects

* Upd GHA scripts

* Upd docs

* upd packages

* add external classes and interfaces

* upd snippets with real external parents

* remove `external parent check`

* fix tests and remove external project

* fix tests

* fix spotless and detekt

* upd `check.yml`

* remove empty line

* remove helper project

* fix tests

* add zip project

* change kttxt script

* upd searching parents (we check also num parameters)

* add new tests

* upd class and interface

* add info about external parents

* upd tests

* move `helper-project` to `projects`

* add tests

* fix tests

* add external parent cache and `indirectParents` parameter to KoExternalParentProvider

* add tests for external parents with indirect parents

* add tests for parent interfaces with indirect parents

* fix spotless and detekt

* upd snippets and konsistTests

* upd tests for KoParentProvider

* add KoChildDeclaration, KoChildProvider and extensions for this

* upd hasChildOf and hasAllChildrenOf

* upd code in KoChildProviderCore

* add indirect children

* add example test in konsist-path-tester

* fix tests after merge

* fix spotless and detekt

* clean code

* add tests

* fix tests

* change logic of scopeFromFile and scopeFromDirectory

* fix spotless

* add missing tests

* add tests

* fix tests

* fix spotless and detekt

---------

Co-authored-by: Igor Wojda <igor.wojda@gmail.com>

* KON-578 Fix fully qualified name (#830)

It returned another name if an import wich contains the expected fully qualified
name is declared early in the same file.

* Add Tests (#842)

* Revert "Remove "konsist-starter-" prefix from dir names" (#844)

This reverts commit 2fd0592706604d8e6b0154f671c9e0220b516bc8.

* Update dependency org.jetbrains.kotlin-wrappers:kotlin-react-dom to v18.2.0-pre.693 (#840)

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>

* Update dependency io.ktor:ktor-server-netty to v2.3.8

* Update dependency io.kotest:kotest-runner-junit5 to v5.8.0 (#846)

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>

* Update dependency org.jetbrains.kotlin-wrappers:kotlin-react to v18.2.0-pre.693

* Update plugin org.jetbrains.kotlin.multiplatform to v1.9.22 (#845)

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>

* Update dependency org.jetbrains.kotlinx:kotlinx-html-jvm to v0.11.0 (#849)

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>

* Update dependency org.jetbrains.kotlin-wrappers:kotlin-emotion to v11.11.1-pre.693 (#848)

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>

* Update dependency org.jetbrains.kotlin-wrappers:kotlin-emotion to v11.11.1-pre.694

* Update dependency org.jetbrains.kotlin-wrappers:kotlin-react to v18.2.0-pre.694

* Update dependency org.jetbrains.kotlin-wrappers:kotlin-react-dom to v18.2.0-pre.694

* Remove Scope Violation Suppress (#855)

* Upgrade CI Java Version (#854)

* Upgrade CI Java version to 21

* Upgrade Java version to 21

* Upgrade Java version to 21

* Upgrade Java version to 21

* Add test snippet

* zulu -> corretto

* Update plugin io.kotest.multiplatform to v5.8.0 (#850)

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>

* Update Kotlin Compiler Version (#857)

* KON-432 Add Konsist Tests Which Check That All Declarations And Providers Implement Correct Parents (#772)

* Add contex receivers for parent

* add integration tests

* remove parents from KoInterfaceDeclaration

* remove files

* fix spotless

* add KDocs and tests for KoParentInterfaceProvider

* add methods for KoParentClassProvider

* add tests for KoParentClassProvider

* add extensions for KoParentClassProvider and KoParentInterfaceProvider with tests

* add extensions for KoParentInterfaceProvider lists with tests

* add extensions for KoParentClassProvider lists with tests

* add simply KoUnknownParentProvider

* add KoParentProvider to KoInterfaceDeclaration

* add some additional tests fo KoParentProvider

* add additional tests for KoLocationProvider to KoParentProvider

* fix spotless and detekt

* change unknow to external

* change unknown to external in IntegrationTest

* add additional tests for KoNameProvider to KoParentDeclaration (without external)

* add additional tests KoNameProvider  for external parent to KoParentDeclaration

* fix spotless and detekt

* fix tests

* add KoExternalParentDeclaration

* add initializing classes and interfaces once

* optimalize `parents`

* remove duplication

* fix spotless and detekt

* add extensions for external parents

* add tests for KoClassDeclaration, KoInterfaceDeclaration and KoObjectDeclaration for all kind of parents

* add tests for KoExternalParentDeclaration and remove unnecessary tests for KoParentDeclaration

* fix spotless

* remove old tests from `konsist-path-tester`

* upd `ApiKonsistTest`

* restore `withParentClassOf` to AndroidSnippets

* fix test in CleanArchitectureSnippets

* remove duplication

* add package declaration to KoParentDeclaration

* add extension and tests for external parents

* fix spotless

* fix spotless

* Add sample-external-library.jar

* Add sample-external-library project

* Check sample-external-library projects

* Upd GHA scripts

* Upd docs

* upd packages

* add external classes and interfaces

* upd snippets with real external parents

* remove `external parent check`

* fix tests and remove external project

* fix tests

* fix spotless and detekt

* upd `check.yml`

* remove empty line

* remove helper project

* fix tests

* add zip project

* change kttxt script

* upd searching parents (we check also num parameters)

* add new tests

* upd class and interface

* add info about external parents

* upd tests

* move `helper-project` to `projects`

* add tests

* fix tests

* add external parent cache and `indirectParents` parameter to KoExternalParentProvider

* add tests for external parents with indirect parents

* add tests for parent interfaces with indirect parents

* fix spotless and detekt

* upd snippets and konsistTests

* upd tests for KoParentProvider

* fix after merge

* add all methods to KoParentClassProvider and tests for them

* upd extensions for KoParentClassProvider and tests for them

* fix api konsist tests

* upd kdocs

* fix tests

* fix spotless and detekt

* fix spotless

* fix parents

* add tests

* fix spotless and detekt

---------

Co-authored-by: Igor Wojda <igor.wojda@gmail.com>

* KON-560 Methods With KClass Parameter Fails When Name Of The Class Defined In The File Is The Same As Imported Class (#775)

* add varaibles

* rename localVariables to variables

* add extensions and tests for them

* add test for KoVariableDeclaration (on functions)

* add tests for declarations which implements KoVariableProvider

* KoVariableModifier - remove KoModifierProvider and fix fqn

* add tests in konsist-path-tester and fix detekt

* remove `includeLocal` from properties

* renames providers

* add some parametrized tests

* fix spotless and detekt

* add next tests

* add rest (in Konsist) tests for KoVariableDeclaration

* add tests for KoVariableDeclaration in `konsist-path-tester`

* fix spotless and detekt

* rename old anames to new one

* fix snippets

* fix spotless

* fix after rebase

* remove simple name from `of` methods

* fix tests

* fix spotless and detekt

* comment test

* upd hasTypeOf on the build-in kotlin types

* fix spotless

* fix after merge

* fix spotless

* KON-368 Add Tests Declaration References (#784)

* add varaibles

* rename localVariables to variables

* add extensions and tests for them

* add test for KoVariableDeclaration (on functions)

* add tests for declarations which implements KoVariableProvider

* KoVariableModifier - remove KoModifierProvider and fix fqn

* add tests in konsist-path-tester and fix detekt

* remove `includeLocal` from properties

* renames providers

* add some parametrized tests

* fix spotless and detekt

* add next tests

* add rest (in Konsist) tests for KoVariableDeclaration

* add tests for KoVariableDeclaration in `konsist-path-tester`

* fix spotless and detekt

* rename old anames to new one

* fix snippets

* fix spotless

* fix after rebase

* add KoTacitTypeProvider and tests

* add provider ext

* add missing tests

* add kdocs

* fix spotless and detekt

* add KoTestClassProvider

* add tests

* add KoTestClassProvider

* fix spotless and detekt

* add extensions and tests for them

* fix spotless

* remove overload extensions

* fix tests

* remove Tacit type from api and extract this as extensions in core

* upd logic

* upd tests

* upd code

* upd tests

* upd tests

* fix spotless and detekt

* upd kotlin version in konsist-path-tester and konsist-root-path-tester

* fix tests

* KON-264 add lists scope from directory (#778)

* add scope from directory, scopre from directories

* add tests for scopes from directories

* rollback imports

---------

Co-authored-by: Igor Wojda <igor.wojda@gmail.com>

* KON-579 Create `konsist-declaration-tester` (#858)

* add varaibles

* rename localVariables to variables

* add extensions and tests for them

* add test for KoVariableDeclaration (on functions)

* add tests for declarations which implements KoVariableProvider

* KoVariableModifier - remove KoModifierProvider and fix fqn

* add tests in konsist-path-tester and fix detekt

* remove `includeLocal` from properties

* renames providers

* add some parametrized tests

* fix spotless and detekt

* add next tests

* add rest (in Konsist) tests for KoVariableDeclaration

* add tests for KoVariableDeclaration in `konsist-path-tester`

* fix spotless and detekt

* rename old anames to new one

* fix snippets

* fix spotless

* fix after rebase

* add KoTacitTypeProvider and tests

* add provider ext

* add missing tests

* add kdocs

* fix spotless and detekt

* add KoTestClassProvider

* add tests

* add KoTestClassProvider

* fix spotless and detekt

* add extensions and tests for them

* fix spotless

* remove overload extensions

* fix tests

* remove Tacit type from api and extract this as extensions in core

* upd logic

* upd tests

* upd code

* upd tests

* upd tests

* fix spotless and detekt

* upd kotlin version in konsist-path-tester and konsist-root-path-tester

* fix tests

* add `konsist-declaration-tester` and move to this new project all tests which has no connection with path

* change comments

* add new github checks

* fix after merge

* KON-583 Add possibility to create scope passing sets of items (#861)

* fix spotless and detekt

* dix scopeFromFiles method

* remove test from architecture

* upd tests for `scopeFromFiles`

* add tests for `scopeFromDirectories`

* add tests for `scopeFromModules`

* add tests for `scopeFromSourceSets`

* upd kdocs

* KON-525 Add isReadOnly property to the KoPropertyDeclaration (#867)

* Add Slack Badge (#877)

* KON-543 Add `hasTacitType` (#773)

* add varaibles

* rename localVariables to variables

* add extensions and tests for them

* add test for KoVariableDeclaration (on functions)

* add tests for declarations which implements KoVariableProvider

* KoVariableModifier - remove KoModifierProvider and fix fqn

* add tests in konsist-path-tester and fix detekt

* remove `includeLocal` from properties

* renames providers

* add some parametrized tests

* fix spotless and detekt

* add next tests

* add rest (in Konsist) tests for KoVariableDeclaration

* add tests for KoVariableDeclaration in `konsist-path-tester`

* fix spotless and detekt

* rename old anames to new one

* fix snippets

* fix spotless

* fix after rebase

* add KoTacitTypeProvider and tests

* add provider ext

* add missing tests

* add kdocs

* fix spotless and detekt

* Clean up

---------

Co-authored-by: Igor Wojda <igor.wojda@gmail.com>

* KON-371 Initialize All `KoFiles` At Start (#878)

* Parse Declarations

* Parse Declarations

* Use declarations from KoFileDeclarationProvider

* Add Kdoc

* Restore name

* Clean up

* Clean up

* KON-547 Add Type Declarations (#868)

* add type declarations

* add first version

* upd version

* add KoFunctionTypeDeclaration

* upd code

* fix tests

* upd code

* upd code

* moving directories in tests

* add tests to KoFunctionTypeDeclaration

* add ImportAliasDeclaration

* add ImportAliasDeclaration

* fix spotless

* create one external declaration

* add import directive property to import alias declaration

* change typealias to type

* add providers for declarations

* fix tests and logic

* clean code

* add tests

* add tests for KoNullableProvider

* add KoTypeDeclarationForKoKotlinTypeProviderTest

* add KoTypeDeclarationForKoTextProviderTest

* add KoTypeDeclarationForKoNameProviderTest

* add some tests for KoKotlinTypeDeclaration

* upd structure and tests

* upd KoTypeDeclarationTest

* upd KoTypeDeclarationForKoContainingDeclarationProviderTest and KoTypeDeclarationForKoContainingFileProviderTest

* upd KoTypeDeclarationForKoLocationProviderTest

* upd KoTypeDeclarationForKoPathProviderTest

* upd KoTypeDeclarationForKoPackageProviderTest

* upd KoTypeDeclarationForKoResideInPackageProviderTest

* upd tests for KoFunctionTypeDeclaration

* add tests fo KoKotlinTypeDeclaration

* add some tests fo KoImportAliasDeclaration

* add tests fo KoImportAliasDeclaration

* add tests fo KoFunctionTypeDeclaration

* add tests fo KoFunctionTypeDeclaration

* clean code

* move directories

* upd code

* add tests for module and source set

* fix methods with KClass, like hasTypeOf

* upd code

* upd KoImportAliasDeclaration

* add alias as concrete type and fix tests

* remove unused snippets

* upd KoGenericTypeProvider in KoTypeDeclaration

* upd konsist tests

* rename `declaration` to `sourceDeclar`

* rename `declaration` to `sourceDeclaration`

* upd KoAliasProvider

* clean code

* added extensions for KoImportAliasProvider

* clean code

* fix konsist test

* add kdocs

* fix detekt

* KON-589 Upload Check results as artifacts (#880)

* Upload Test Reports

* Upload Test Reports

* Update names

* Upd artifact name

* Update name

* Use html artifacts

* KON-591 Run path test projects on MacOs (#881)

* Run on MacOs

* Run on MacOs

* KON-590 Root Path Testers Are Failin On Ubuntu (#882)

* Extract Path Checks to separate file

* Create Ubuntu path testers

* Disable checks

* Restore checks

* Restore checks

* KON-577 Layer doesn't allow string that uses a package wildcard twice (#892)

* add new tests

* upd regex

* comment test

* clean code

* add todo

* clean code

* remove unused test and upd kdoc

* upd kdoc

* KON-601 Update KDoc for `isInitialized` property (#895)

* KON-593 `KoPackageMatchingPathProviderCore.hasMatchingPath` fails on windows (#893)

* replace "\" with file separator

* add aditional tests in konsist-declaration-tester

* upd name

* fix detekt

* upd suppress annotation

* Empty-Commit

* Empty-Commit

* rename sep to separator

* fix path-tester

* KON-602 Improve layer verification (#897)

* add new tests

* upd regex

* comment test

* clean code

* add todo

* clean code

* remove unused test and upd kdoc

* upd kdoc

* upd regex and kdocs

* clean code

* Restore Kotlin Version (#899)

* Update Dev Readme (#898)

* Update kotlin monorepo (#894)

* Update kotlin monorepo

* Upd toolchain to Java 21

* Upd toolchain to Java 21

* Upd toolchain to Java 21

* Restore Kotlin

---------

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: Igor Wojda <igor.wojda@gmail.com>

* Update plugin com.android.application to v8.3.0 (#886)

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>

* Update tj-actions/changed-files action to v42.0.7 (#891)

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>

* Update plugin dokka to v1.9.20 (#885)

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>

* Update dependency org.jetbrains.kotlin-wrappers:kotlin-react-dom to v18.2.0-pre.710 (#889)

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>

* Update dependency io.ktor:ktor-server-netty to v2.3.9 (#884)

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>

* Update plugin com.android.library to v8.3.0 (#890)

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>

* Update dependency org.jetbrains.kotlin-wrappers:kotlin-react to v18.2.0-pre.710 (#888)

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>

* Update dependency org.jetbrains.kotlin-wrappers:kotlin-emotion to v11.11.1-pre.710 (#887)

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>

* Update dependency io.ktor:ktor-server-html-builder-jvm to v2.3.9 (#883)

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>

* KON-604 Update Artifact Verification (#901)

* Rename script and fail when no files

* Simplify script

* Upd name

* KON-603 Update Deprecated Version (#902)

* KON-606 Refactor Starter Projects Scripts (#906)

* Clean up run

* Update checks

* Test

* Update order

* KON-596 Add extensions to retrieve properties of the source type (#900)

* extract new provider for `sourceDeclaration`

* add properties and tests

* clean code

* add some extensions and tests for them

* add hasSourceX methods and tests for them

* add hasSourceDeclaration and hasSourceDeclarationOf

* add hasSourceXOf methods and tests for them

* clean code

* KON-586 Add KDocs for DeclarationReference (#904)

* extract new provider for `sourceDeclaration`

* add properties and tests

* clean code

* add some extensions and tests for them

* add hasSourceX methods and tests for them

* add hasSourceDeclaration and hasSourceDeclarationOf

* add hasSourceXOf methods and tests for them

* clean code

* upd kdoc

* upd kdoc

* Upd docs

---------

Co-authored-by: Igor Wojda <igor.wojda@gmail.com>

* KON-565 Upgrade Spotless (#907)

* Fix spotless issues

* Extract spotless version to libs.version.toml

* Upd snippets

* SpotlessApply

* Clean up

* Create getTomlVersion extension

* Fix detekt

* Fix snippet tests

* Fix snippet tests

* Simplify Snippet Usgae Verification Regex (#908)

* Simplify regex

* Fix spotless

* Rename CI Jobs (#909)

* Update tj-actions/changed-files action to v42.1.0

* Update dependency org.jetbrains.kotlin-wrappers:kotlin-emotion to v11.11.4-pre.711

* Update dependency org.jetbrains.kotlin-wrappers:kotlin-react to v18.2.0-pre.711 (#912)

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>

* Update dependency org.jetbrains.kotlin-wrappers:kotlin-react-dom to v18.2.0-pre.711 (#913)

Co-author…
igorwojda added a commit that referenced this pull request Apr 1, 2024
* Release/v0.14.0 (#917)

* Merge `main` to `develop` (#691)

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: Igor Wojda <igor.wojda@gmail.com>
Co-authored-by: NataliaPeterwas <111683562+nataliapeterwas@users.noreply.github.com>
Co-authored-by: Jony Sarco <jfe.sarco@gmail.com>

* Add Article (#696)

* Merge main to develop (#699)

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: Igor Wojda <igor.wojda@gmail.com>
Co-authored-by: NataliaPeterwas <111683562+nataliapeterwas@users.noreply.github.com>
Co-authored-by: Jony Sarco <jfe.sarco@gmail.com>

* Fix Artifact Upload (#698)

* Update Kotest Snippets (#700)

* KON-531 Add Dynamic Test Samples (#702)

* Upd Konsist Artifact Description (#703)

* Add Article (#705)

* Fix Typo (#704)

* Update Dynamic Tests (#706)

* KON-537 Update `update Snippets Script` To Make Sure PR Is Opened From The Newest Version Of Docs (#695)

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: Igor Wojda <igor.wojda@gmail.com>
Co-authored-by: NataliaPeterwas <111683562+nataliapeterwas@users.noreply.github.com>
Co-authored-by: Jony Sarco <jfe.sarco@gmail.com>

* Add Article "Konsist and Conquer: Embracing the World of Dynamic Testing" (#708)

* Update plugin testLogger to v4 (#710)

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>

* Update tj-actions/changed-files action to v39.2.2

* Add "ArchUnit vs Konsist in Android (Kotlin-oriented) codebase. A comparison of hidden implementation checks" Article3 (#713)

* KON-538 Add `testName` To `assertArchitecture` (#712)

* Update Sample Projects Docs (#716)

* Update plugin dokka to v1.9.10

* Update README.md

* Upd Snippets (#723)

* Update tj-actions/changed-files action to v39.2.3

* Update spring boot to v3.1.5

* KON-553: Allow `null` values in representsType() (#719)

* KON-553 Followup (#732)

* KON-369 Add Parent Declaration References (#709)

Co-authored-by: Igor Wojda <igor.wojda@gmail.com>

* Upd docs (#733)

* KON-563: Run only 1 CI pipeline in parallel for each PR (#725)

* Upd docs (#734)

* Update tj-actions/changed-files action to v39.2.4

* KON-205 Add Konsist Test Which Check That All Core Declarations Override `toString` (#735)

* Add Snippet (#740)

* Update dependency androidx.navigation:navigation-fragment-ktx to v2.7.5 (#741)

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>

* KON-541 Add KoVariableDeclaration (#717)

* Update dependency androidx.navigation:navigation-ui-ktx to v2.7.5

* Update plugin detekt to v1.23.3

* Update kotlin monorepo to v1.9.20

* Update dependency io.kotest:kotest-runner-junit5 to v5.8.0

* Update dependency io.kotest:kotest-runner-junit5-jvm to v5.8.0

* Update plugin io.kotest.multiplatform to v5.8.0

* Improve Gradle build performance (#749)

* KON-564 Extract if statements to variable (#730)

* Update plugin de.mannodermaus.android-junit5 to v1.10.0.0

* KON-569 Update Kmp Projects (#751)

* KON-562: Improve snippet CI verification (#724)

* KON-571 Fix `isKotlinType` Property Where Generic Types Where Treated as kotlin Collections (#754)

* KON-570 Add `KoSourceAndAliasTypeProviderCore.baseSourceType` (#753)

* KON-572 Fix for `sourcetype` stripping `?` (#756)

* KON-574 Add `isKotlinBasicType` And `isKotlinCollectionType` (#757)

* KON-570 Rename `baseSourceType` To `bareSourcetype` (#758)

* KON-570 Remove Package From `bareType` (#759)

* Add Project Icon (#761)

* Update Gitignore (#762)

* Update junit5 monorepo to v5.10.1

* Update `check_kttxt_snippets` (#764)

* KON-365 Add `indirectParents=false` Parameter (#726)

Co-authored-by: Igor Wojda <igor.wojda@gmail.com>

* Update tj-actions/changed-files action to v40 (#745)

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>

* Update plugin com.android.application to v8.1.3

* Update plugin com.android.library to v8.1.3

* Update tj-actions/changed-files action to v40.1.1

* KON-366 Change Return Type Of `containingDeclaration` (#715)

* change type of `containingDeclaration`

* remove nullability from `containingDeclaration` type

* sfix spotless and detekt

* upd tests

* use safe cast operator instead of unsafe cast operator

* fix spotless and detekt

* fix after merge

* Update plugin io.spring.dependency-management to v1.1.4

* Add Spring Snippet (#766)

* Update plugin com.android.application to v8.1.4

* Update plugin com.android.library to v8.1.4

* Fix git dir resolver uses the wrong paths (#780)

Co-authored-by: Emil Kollstrøm <e.kollstrom@sportradar.com>

* Update kotlin monorepo to v1.9.21

* Update spring boot to v3.2.0

* Update dependency org.codehaus.mojo:build-helper-maven-plugin to v3.5.0

* Update plugin detekt to v1.23.4

* Update tj-actions/changed-files action to v40.2.0

* Update dependency gradle to v8.5

* Update plugin com.android.application to v8.2.0

* Update plugin com.android.library to v8.2.0

* Update tj-actions/changed-files action to v40.2.1

* Update tj-actions/changed-files action to v40.2.2

* Update dependency androidx.navigation:navigation-fragment-ktx to v2.7.6

* Update dependency androidx.navigation:navigation-ui-ktx to v2.7.6

* Update dependency com.google.android.material:material to v1.11.0

* Update tj-actions/changed-files action to v40.2.3

* Update spring boot to v3.2.1

* Update kotlin monorepo to v1.9.22

* Update plugin com.android.application to v8.2.1

* Update plugin com.android.library to v8.2.1

* Update dependency io.mockk:mockk to v1.13.9

* Update spring boot to v3.2.2

* Update plugin com.android.application to v8.2.2

* Update plugin com.android.library to v8.2.2

* Update plugin detekt to v1.23.5

* Update dependency gradle to v8.6

* Update junit5 monorepo to v5.10.2

* Merge `main` to `develop` (#834)

* Upgrade version to 0.13.0

* Update check kttx snippets

* Update check kttx snippets

* Update check kttx snippets

* Update version

* Update scripts

* Update scripts

* Update dev readme

* Release `v0.13.0` (#688)

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: Igor Wojda <igor.wojda@gmail.com>
Co-authored-by: NataliaPeterwas <111683562+nataliapeterwas@users.noreply.github.com>
Co-authored-by: Jony Sarco <jfe.sarco@gmail.com>

* Revert "Release `v0.13.0`" (#689)

* Update Konsist in starter projects to Konsist `v0.13.0` (#697)

* Update Kotest Snippets (#701)

* Replace REGEX to allow using .. as wildcard again (#720)

* Update README.md (#771)

* Fixed broken link to the getting started guide. (#827)

* Fix wrong detection of Git root project dir (#831)

Detection never worked before because Git creates directory
called '.git', while code was checking 'git'.

* Fix test

* Disable KMP starter projects

---------

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: NataliaPeterwas <111683562+nataliapeterwas@users.noreply.github.com>
Co-authored-by: Jony Sarco <jfe.sarco@gmail.com>
Co-authored-by: Guillermo Guerrero González <3263397+guiguegon@users.noreply.github.com>
Co-authored-by: Atiq Ur Rehman <6600985@gmail.com>
Co-authored-by: Piotr Kubowicz <piotr.kubowicz@gmail.com>

* Update dependency io.ktor:ktor-server-html-builder-jvm to v2.3.8

* Rename `koTest` to `Kotest` (#837)

* Update actions/upload-artifact action to v4 (#808)

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>

* Update actions/setup-python action to v5 (#801)

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>

* Update actions/setup-java action to v4 (#797)

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>

* Update tj-actions/changed-files action to v42 (#819)

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>

* Remove "konsist-starter-" prefix from dir names (#838)

* Rename starter projects dirs

* Upd build scripts

* Fix detekt exclusion

* KON-367 Add Child Declaration References (#736)

* Add contex receivers for parent

* add integration tests

* remove parents from KoInterfaceDeclaration

* remove files

* fix spotless

* add KDocs and tests for KoParentInterfaceProvider

* add methods for KoParentClassProvider

* add tests for KoParentClassProvider

* add extensions for KoParentClassProvider and KoParentInterfaceProvider with tests

* add extensions for KoParentInterfaceProvider lists with tests

* add extensions for KoParentClassProvider lists with tests

* add simply KoUnknownParentProvider

* add KoParentProvider to KoInterfaceDeclaration

* add some additional tests fo KoParentProvider

* add additional tests for KoLocationProvider to KoParentProvider

* fix spotless and detekt

* change unknow to external

* change unknown to external in IntegrationTest

* add additional tests for KoNameProvider to KoParentDeclaration (without external)

* add additional tests KoNameProvider  for external parent to KoParentDeclaration

* fix spotless and detekt

* fix tests

* add KoExternalParentDeclaration

* add initializing classes and interfaces once

* optimalize `parents`

* remove duplication

* fix spotless and detekt

* add extensions for external parents

* add tests for KoClassDeclaration, KoInterfaceDeclaration and KoObjectDeclaration for all kind of parents

* add tests for KoExternalParentDeclaration and remove unnecessary tests for KoParentDeclaration

* fix spotless

* remove old tests from `konsist-path-tester`

* upd `ApiKonsistTest`

* restore `withParentClassOf` to AndroidSnippets

* fix test in CleanArchitectureSnippets

* remove duplication

* add package declaration to KoParentDeclaration

* add extension and tests for external parents

* fix spotless

* fix spotless

* Add sample-external-library.jar

* Add sample-external-library project

* Check sample-external-library projects

* Upd GHA scripts

* Upd docs

* upd packages

* add external classes and interfaces

* upd snippets with real external parents

* remove `external parent check`

* fix tests and remove external project

* fix tests

* fix spotless and detekt

* upd `check.yml`

* remove empty line

* remove helper project

* fix tests

* add zip project

* change kttxt script

* upd searching parents (we check also num parameters)

* add new tests

* upd class and interface

* add info about external parents

* upd tests

* move `helper-project` to `projects`

* add tests

* fix tests

* add external parent cache and `indirectParents` parameter to KoExternalParentProvider

* add tests for external parents with indirect parents

* add tests for parent interfaces with indirect parents

* fix spotless and detekt

* upd snippets and konsistTests

* upd tests for KoParentProvider

* add KoChildDeclaration, KoChildProvider and extensions for this

* upd hasChildOf and hasAllChildrenOf

* upd code in KoChildProviderCore

* add indirect children

* add example test in konsist-path-tester

* fix tests after merge

* fix spotless and detekt

* clean code

* add tests

* fix tests

* change logic of scopeFromFile and scopeFromDirectory

* fix spotless

* add missing tests

* add tests

* fix tests

* fix spotless and detekt

---------

Co-authored-by: Igor Wojda <igor.wojda@gmail.com>

* KON-578 Fix fully qualified name (#830)

It returned another name if an import wich contains the expected fully qualified
name is declared early in the same file.

* Add Tests (#842)

* Revert "Remove "konsist-starter-" prefix from dir names" (#844)

This reverts commit 2fd0592706604d8e6b0154f671c9e0220b516bc8.

* Update dependency org.jetbrains.kotlin-wrappers:kotlin-react-dom to v18.2.0-pre.693 (#840)

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>

* Update dependency io.ktor:ktor-server-netty to v2.3.8

* Update dependency io.kotest:kotest-runner-junit5 to v5.8.0 (#846)

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>

* Update dependency org.jetbrains.kotlin-wrappers:kotlin-react to v18.2.0-pre.693

* Update plugin org.jetbrains.kotlin.multiplatform to v1.9.22 (#845)

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>

* Update dependency org.jetbrains.kotlinx:kotlinx-html-jvm to v0.11.0 (#849)

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>

* Update dependency org.jetbrains.kotlin-wrappers:kotlin-emotion to v11.11.1-pre.693 (#848)

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>

* Update dependency org.jetbrains.kotlin-wrappers:kotlin-emotion to v11.11.1-pre.694

* Update dependency org.jetbrains.kotlin-wrappers:kotlin-react to v18.2.0-pre.694

* Update dependency org.jetbrains.kotlin-wrappers:kotlin-react-dom to v18.2.0-pre.694

* Remove Scope Violation Suppress (#855)

* Upgrade CI Java Version (#854)

* Upgrade CI Java version to 21

* Upgrade Java version to 21

* Upgrade Java version to 21

* Upgrade Java version to 21

* Add test snippet

* zulu -> corretto

* Update plugin io.kotest.multiplatform to v5.8.0 (#850)

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>

* Update Kotlin Compiler Version (#857)

* KON-432 Add Konsist Tests Which Check That All Declarations And Providers Implement Correct Parents (#772)

* Add contex receivers for parent

* add integration tests

* remove parents from KoInterfaceDeclaration

* remove files

* fix spotless

* add KDocs and tests for KoParentInterfaceProvider

* add methods for KoParentClassProvider

* add tests for KoParentClassProvider

* add extensions for KoParentClassProvider and KoParentInterfaceProvider with tests

* add extensions for KoParentInterfaceProvider lists with tests

* add extensions for KoParentClassProvider lists with tests

* add simply KoUnknownParentProvider

* add KoParentProvider to KoInterfaceDeclaration

* add some additional tests fo KoParentProvider

* add additional tests for KoLocationProvider to KoParentProvider

* fix spotless and detekt

* change unknow to external

* change unknown to external in IntegrationTest

* add additional tests for KoNameProvider to KoParentDeclaration (without external)

* add additional tests KoNameProvider  for external parent to KoParentDeclaration

* fix spotless and detekt

* fix tests

* add KoExternalParentDeclaration

* add initializing classes and interfaces once

* optimalize `parents`

* remove duplication

* fix spotless and detekt

* add extensions for external parents

* add tests for KoClassDeclaration, KoInterfaceDeclaration and KoObjectDeclaration for all kind of parents

* add tests for KoExternalParentDeclaration and remove unnecessary tests for KoParentDeclaration

* fix spotless

* remove old tests from `konsist-path-tester`

* upd `ApiKonsistTest`

* restore `withParentClassOf` to AndroidSnippets

* fix test in CleanArchitectureSnippets

* remove duplication

* add package declaration to KoParentDeclaration

* add extension and tests for external parents

* fix spotless

* fix spotless

* Add sample-external-library.jar

* Add sample-external-library project

* Check sample-external-library projects

* Upd GHA scripts

* Upd docs

* upd packages

* add external classes and interfaces

* upd snippets with real external parents

* remove `external parent check`

* fix tests and remove external project

* fix tests

* fix spotless and detekt

* upd `check.yml`

* remove empty line

* remove helper project

* fix tests

* add zip project

* change kttxt script

* upd searching parents (we check also num parameters)

* add new tests

* upd class and interface

* add info about external parents

* upd tests

* move `helper-project` to `projects`

* add tests

* fix tests

* add external parent cache and `indirectParents` parameter to KoExternalParentProvider

* add tests for external parents with indirect parents

* add tests for parent interfaces with indirect parents

* fix spotless and detekt

* upd snippets and konsistTests

* upd tests for KoParentProvider

* fix after merge

* add all methods to KoParentClassProvider and tests for them

* upd extensions for KoParentClassProvider and tests for them

* fix api konsist tests

* upd kdocs

* fix tests

* fix spotless and detekt

* fix spotless

* fix parents

* add tests

* fix spotless and detekt

---------

Co-authored-by: Igor Wojda <igor.wojda@gmail.com>

* KON-560 Methods With KClass Parameter Fails When Name Of The Class Defined In The File Is The Same As Imported Class (#775)

* add varaibles

* rename localVariables to variables

* add extensions and tests for them

* add test for KoVariableDeclaration (on functions)

* add tests for declarations which implements KoVariableProvider

* KoVariableModifier - remove KoModifierProvider and fix fqn

* add tests in konsist-path-tester and fix detekt

* remove `includeLocal` from properties

* renames providers

* add some parametrized tests

* fix spotless and detekt

* add next tests

* add rest (in Konsist) tests for KoVariableDeclaration

* add tests for KoVariableDeclaration in `konsist-path-tester`

* fix spotless and detekt

* rename old anames to new one

* fix snippets

* fix spotless

* fix after rebase

* remove simple name from `of` methods

* fix tests

* fix spotless and detekt

* comment test

* upd hasTypeOf on the build-in kotlin types

* fix spotless

* fix after merge

* fix spotless

* KON-368 Add Tests Declaration References (#784)

* add varaibles

* rename localVariables to variables

* add extensions and tests for them

* add test for KoVariableDeclaration (on functions)

* add tests for declarations which implements KoVariableProvider

* KoVariableModifier - remove KoModifierProvider and fix fqn

* add tests in konsist-path-tester and fix detekt

* remove `includeLocal` from properties

* renames providers

* add some parametrized tests

* fix spotless and detekt

* add next tests

* add rest (in Konsist) tests for KoVariableDeclaration

* add tests for KoVariableDeclaration in `konsist-path-tester`

* fix spotless and detekt

* rename old anames to new one

* fix snippets

* fix spotless

* fix after rebase

* add KoTacitTypeProvider and tests

* add provider ext

* add missing tests

* add kdocs

* fix spotless and detekt

* add KoTestClassProvider

* add tests

* add KoTestClassProvider

* fix spotless and detekt

* add extensions and tests for them

* fix spotless

* remove overload extensions

* fix tests

* remove Tacit type from api and extract this as extensions in core

* upd logic

* upd tests

* upd code

* upd tests

* upd tests

* fix spotless and detekt

* upd kotlin version in konsist-path-tester and konsist-root-path-tester

* fix tests

* KON-264 add lists scope from directory (#778)

* add scope from directory, scopre from directories

* add tests for scopes from directories

* rollback imports

---------

Co-authored-by: Igor Wojda <igor.wojda@gmail.com>

* KON-579 Create `konsist-declaration-tester` (#858)

* add varaibles

* rename localVariables to variables

* add extensions and tests for them

* add test for KoVariableDeclaration (on functions)

* add tests for declarations which implements KoVariableProvider

* KoVariableModifier - remove KoModifierProvider and fix fqn

* add tests in konsist-path-tester and fix detekt

* remove `includeLocal` from properties

* renames providers

* add some parametrized tests

* fix spotless and detekt

* add next tests

* add rest (in Konsist) tests for KoVariableDeclaration

* add tests for KoVariableDeclaration in `konsist-path-tester`

* fix spotless and detekt

* rename old anames to new one

* fix snippets

* fix spotless

* fix after rebase

* add KoTacitTypeProvider and tests

* add provider ext

* add missing tests

* add kdocs

* fix spotless and detekt

* add KoTestClassProvider

* add tests

* add KoTestClassProvider

* fix spotless and detekt

* add extensions and tests for them

* fix spotless

* remove overload extensions

* fix tests

* remove Tacit type from api and extract this as extensions in core

* upd logic

* upd tests

* upd code

* upd tests

* upd tests

* fix spotless and detekt

* upd kotlin version in konsist-path-tester and konsist-root-path-tester

* fix tests

* add `konsist-declaration-tester` and move to this new project all tests which has no connection with path

* change comments

* add new github checks

* fix after merge

* KON-583 Add possibility to create scope passing sets of items (#861)

* fix spotless and detekt

* dix scopeFromFiles method

* remove test from architecture

* upd tests for `scopeFromFiles`

* add tests for `scopeFromDirectories`

* add tests for `scopeFromModules`

* add tests for `scopeFromSourceSets`

* upd kdocs

* KON-525 Add isReadOnly property to the KoPropertyDeclaration (#867)

* Add Slack Badge (#877)

* KON-543 Add `hasTacitType` (#773)

* add varaibles

* rename localVariables to variables

* add extensions and tests for them

* add test for KoVariableDeclaration (on functions)

* add tests for declarations which implements KoVariableProvider

* KoVariableModifier - remove KoModifierProvider and fix fqn

* add tests in konsist-path-tester and fix detekt

* remove `includeLocal` from properties

* renames providers

* add some parametrized tests

* fix spotless and detekt

* add next tests

* add rest (in Konsist) tests for KoVariableDeclaration

* add tests for KoVariableDeclaration in `konsist-path-tester`

* fix spotless and detekt

* rename old anames to new one

* fix snippets

* fix spotless

* fix after rebase

* add KoTacitTypeProvider and tests

* add provider ext

* add missing tests

* add kdocs

* fix spotless and detekt

* Clean up

---------

Co-authored-by: Igor Wojda <igor.wojda@gmail.com>

* KON-371 Initialize All `KoFiles` At Start (#878)

* Parse Declarations

* Parse Declarations

* Use declarations from KoFileDeclarationProvider

* Add Kdoc

* Restore name

* Clean up

* Clean up

* KON-547 Add Type Declarations (#868)

* add type declarations

* add first version

* upd version

* add KoFunctionTypeDeclaration

* upd code

* fix tests

* upd code

* upd code

* moving directories in tests

* add tests to KoFunctionTypeDeclaration

* add ImportAliasDeclaration

* add ImportAliasDeclaration

* fix spotless

* create one external declaration

* add import directive property to import alias declaration

* change typealias to type

* add providers for declarations

* fix tests and logic

* clean code

* add tests

* add tests for KoNullableProvider

* add KoTypeDeclarationForKoKotlinTypeProviderTest

* add KoTypeDeclarationForKoTextProviderTest

* add KoTypeDeclarationForKoNameProviderTest

* add some tests for KoKotlinTypeDeclaration

* upd structure and tests

* upd KoTypeDeclarationTest

* upd KoTypeDeclarationForKoContainingDeclarationProviderTest and KoTypeDeclarationForKoContainingFileProviderTest

* upd KoTypeDeclarationForKoLocationProviderTest

* upd KoTypeDeclarationForKoPathProviderTest

* upd KoTypeDeclarationForKoPackageProviderTest

* upd KoTypeDeclarationForKoResideInPackageProviderTest

* upd tests for KoFunctionTypeDeclaration

* add tests fo KoKotlinTypeDeclaration

* add some tests fo KoImportAliasDeclaration

* add tests fo KoImportAliasDeclaration

* add tests fo KoFunctionTypeDeclaration

* add tests fo KoFunctionTypeDeclaration

* clean code

* move directories

* upd code

* add tests for module and source set

* fix methods with KClass, like hasTypeOf

* upd code

* upd KoImportAliasDeclaration

* add alias as concrete type and fix tests

* remove unused snippets

* upd KoGenericTypeProvider in KoTypeDeclaration

* upd konsist tests

* rename `declaration` to `sourceDeclar`

* rename `declaration` to `sourceDeclaration`

* upd KoAliasProvider

* clean code

* added extensions for KoImportAliasProvider

* clean code

* fix konsist test

* add kdocs

* fix detekt

* KON-589 Upload Check results as artifacts (#880)

* Upload Test Reports

* Upload Test Reports

* Update names

* Upd artifact name

* Update name

* Use html artifacts

* KON-591 Run path test projects on MacOs (#881)

* Run on MacOs

* Run on MacOs

* KON-590 Root Path Testers Are Failin On Ubuntu (#882)

* Extract Path Checks to separate file

* Create Ubuntu path testers

* Disable checks

* Restore checks

* Restore checks

* KON-577 Layer doesn't allow string that uses a package wildcard twice (#892)

* add new tests

* upd regex

* comment test

* clean code

* add todo

* clean code

* remove unused test and upd kdoc

* upd kdoc

* KON-601 Update KDoc for `isInitialized` property (#895)

* KON-593 `KoPackageMatchingPathProviderCore.hasMatchingPath` fails on windows (#893)

* replace "\" with file separator

* add aditional tests in konsist-declaration-tester

* upd name

* fix detekt

* upd suppress annotation

* Empty-Commit

* Empty-Commit

* rename sep to separator

* fix path-tester

* KON-602 Improve layer verification (#897)

* add new tests

* upd regex

* comment test

* clean code

* add todo

* clean code

* remove unused test and upd kdoc

* upd kdoc

* upd regex and kdocs

* clean code

* Restore Kotlin Version (#899)

* Update Dev Readme (#898)

* Update kotlin monorepo (#894)

* Update kotlin monorepo

* Upd toolchain to Java 21

* Upd toolchain to Java 21

* Upd toolchain to Java 21

* Restore Kotlin

---------

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: Igor Wojda <igor.wojda@gmail.com>

* Update plugin com.android.application to v8.3.0 (#886)

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>

* Update tj-actions/changed-files action to v42.0.7 (#891)

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>

* Update plugin dokka to v1.9.20 (#885)

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>

* Update dependency org.jetbrains.kotlin-wrappers:kotlin-react-dom to v18.2.0-pre.710 (#889)

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>

* Update dependency io.ktor:ktor-server-netty to v2.3.9 (#884)

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>

* Update plugin com.android.library to v8.3.0 (#890)

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>

* Update dependency org.jetbrains.kotlin-wrappers:kotlin-react to v18.2.0-pre.710 (#888)

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>

* Update dependency org.jetbrains.kotlin-wrappers:kotlin-emotion to v11.11.1-pre.710 (#887)

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>

* Update dependency io.ktor:ktor-server-html-builder-jvm to v2.3.9 (#883)

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>

* KON-604 Update Artifact Verification (#901)

* Rename script and fail when no files

* Simplify script

* Upd name

* KON-603 Update Deprecated Version (#902)

* KON-606 Refactor Starter Projects Scripts (#906)

* Clean up run

* Update checks

* Test

* Update order

* KON-596 Add extensions to retrieve properties of the source type (#900)

* extract new provider for `sourceDeclaration`

* add properties and tests

* clean code

* add some extensions and tests for them

* add hasSourceX methods and tests for them

* add hasSourceDeclaration and hasSourceDeclarationOf

* add hasSourceXOf methods and tests for them

* clean code

* KON-586 Add KDocs for DeclarationReference (#904)

* extract new provider for `sourceDeclaration`

* add properties and tests

* clean code

* add some extensions and tests for them

* add hasSourceX methods and tests for them

* add hasSourceDeclaration and hasSourceDeclarationOf

* add hasSourceXOf methods and tests for them

* clean code

* upd kdoc

* upd kdoc

* Upd docs

---------

Co-authored-by: Igor Wojda <igor.wojda@gmail.com>

* KON-565 Upgrade Spotless (#907)

* Fix spotless issues

* Extract spotless version to libs.version.toml

* Upd snippets

* SpotlessApply

* Clean up

* Create getTomlVersion extension

* Fix detekt

* Fix snippet tests

* Fix snippet tests

* Simplify Snippet Usgae Verification Regex (#908)

* Simplify regex

* Fix spotless

* Rename CI Jobs (#909)

* Update tj-actions/changed-files action to v42.1.0

* Update dependency org.jetbrains.kotlin-wrappers:kotlin-emotion to v11.11.4-pre.711

* Update dependency org.jetbrains.kotlin-wrappers:kotlin-react to v18.2.0-pre.711 (#912)

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>

* Update dependency org.jetbrains.kotlin-wrappers:kotlin-react-dom to v18.2.0-pre.711 (#913)

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>

* KON-609 Add Type Extensions (#914)

* Update Kdoc (#915)

* Main To Develop (#916)

* Upgrade version to 0.13.0

* Update check kttx snippets

* Update check kttx snippets

* Update check kttx snippets

* Update version

* Update scripts

* Update scripts

* Update dev readme

* Release `v0.13.0` (#688)

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: Igor Wojda <igor.wojda@gmail.com>
Co-authored-by: NataliaPeterwas <111683562+nataliapeterwas@users.noreply.github.com>
Co-authored-by: Jony Sarco <jfe.sarco@gmail.com>

* Revert "Release `v0.13.0`" (#689)

* Update Konsist in starter projects to Konsist `v0.13.0` (#697)

* Update Kotest Snippets (#701)

* Replace REGEX to allow using .. as wildcard again (#720)

* Update README.md (#771)

* Fixed broken link to the getting started guide. (#827)

* Fix wrong detection of Git root project dir (#831)

Detection never worked before because Git creates directory
called '.git', while code was checking 'git'.

* Upd linters

* Upd readme

---------

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: NataliaPeterwas <111683562+nataliapeterwas@users.noreply.github.com>
Co-authored-by: Jony Sarco <jfe.sarco@gmail.com>
Co-authored-by: Guillermo Guerrero González <3263397+guiguegon@users.noreply.github.com>
Co-authored-by: Atiq Ur Rehman <6600985@gmail.com>
Co-authored-by: Piotr Kubowicz <piotr.kubowicz@gmail.com>

* Revert "Main To Develop" (#918)

This reverts commit 77ea591e3492e133a44df48a7b7768dfac47b526.

* Revert "Revert "Main To Develop"" (#919)

This reverts commit 20a0bf90f29819482205bc04c84409a31a2c65e4.

* Update dependency io.kotest:kotest-runner-junit5-jvm to v5.8.1 (#922)

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>

* Update dependency io.kotest:kotest-runner-junit5 to v5.8.1 (#921)

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>

* Main=to Develop (#923)

* Upgrade version to 0.13.0

* Update check kttx snippets

* Update check kttx snippets

* Update check kttx snippets

* Update version

* Update scripts

* Update scripts

* Update dev readme

* Release `v0.13.0` (#688)

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: Igor Wojda <igor.wojda@gmail.com>
Co-authored-by: NataliaPeterwas <111683562+nataliapeterwas@users.noreply.github.com>
Co-authored-by: Jony Sarco <jfe.sarco@gmail.com>

* Revert "Release `v0.13.0`" (#689)

* Update Konsist in starter projects to Konsist `v0.13.0` (#697)

* Update Kotest Snippets (#701)

* Replace REGEX to allow using .. as wildcard again (#720)

* Update README.md (#771)

* Fixed broken link to the getting started guide. (#827)

* Fix wrong detection of Git root project dir (#831)

Detection never worked before because Git creates directory
called '.git', while code was checking 'git'.

* Fix spotless

---------

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: NataliaPeterwas <111683562+nataliapeterwas@users.noreply.github.com>
Co-authored-by: Jony Sarco <jfe.sarco@gmail.com>
Co-authored-by: Guillermo Guerrero González <3263397+guiguegon@users.noreply.github.com>
Co-authored-by: Atiq Ur Rehman <6600985@gmail.com>
Co-authored-by: Piotr Kubowicz <piotr.kubowicz@gmail.com>

* Update dependency org.jetbrains.kotlin-wrappers:kotlin-emotion to v11.11.4-pre.712 (#924)

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>

* Update dependency org.jetbrains.kotlin-wrappers:kotlin-react to v18.2.0-pre.712 (#925)

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>

* Add Missing Kotlin Basic Types - `Unit`, `Any` and `Nothing` (#926)

* Use `sourceX` Properties (#927)

* use dedicated properties instead of writing sth like: `?.sourceDeclaration as? KoImportAliasDeclaration`

* upd tests in konsist-declaration-tester

* Update dependency org.jetbrains.kotlin-wrappers:kotlin-react-dom to v18.2.0-pre.712 (#928)

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>

* Update plugin io.kotest.multiplatform to v5.8.1 (#929)

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>

* Rename `sourceX` to `asXDeclaration()` (#930)

* use dedicated properties instead of writing sth like: `?.sourceDeclaration as? KoImportAliasDeclaration`

* upd tests in konsist-declaration-tester

* rename `sourceX` properties to `asXDeclaration`

* clean code

* Update version

* Print conditions

* Add needs

* Add if

* Add concurrency

* Fix ktlint

* Upd snippets

* Exclude documentation snippets

* Fix spotless

---------

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: NataliaPeterwas <111683562+nataliapeterwas@users.noreply.github.com>
Co-authored-by: Jony Sarco <jfe.sarco@gmail.com>
Co-authored-by: Yonatan Karp-Rudin <yonvata@gmail.com>
Co-authored-by: Mirco Franzek <ablx@users.noreply.github.com>
Co-authored-by: Emil Orvik Kollstrøm <emilok@hey.com>
Co-authored-by: Emil Kollstrøm <e.kollstrom@sportradar.com>
Co-authored-by: Guillermo Guerrero González <3263397+guiguegon@users.noreply.github.com>
Co-authored-by: Atiq Ur Rehman <6600985@gmail.com>
Co-authored-by: Piotr Kubowicz <piotr.kubowicz@gmail.com>
Co-authored-by: Jean-Baptiste Mille <jean-baptiste@sogilis.com>

* Revert "Release/v0.14.0" (#932)

This reverts commit b3a6e22bbd9228eee675affeee98ad065302fa96.

* Add Article (#696)

* Fix Artifact Upload (#698)

* KON-531 Add Dynamic Test Samples (#702)

* Upd Konsist Artifact Description (#703)

* Add Article (#705)

* Fix Typo (#704)

* Update Dynamic Tests (#706)

* KON-537 Update `update Snippets Script` To Make Sure PR Is Opened From The Newest Version Of Docs (#695)

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: Igor Wojda <igor.wojda@gmail.com>
Co-authored-by: NataliaPeterwas <111683562+nataliapeterwas@users.noreply.github.com>
Co-authored-by: Jony Sarco <jfe.sarco@gmail.com>

* Add Article "Konsist and Conquer: Embracing the World of Dynamic Testing" (#708)

* Update plugin testLogger to v4 (#710)

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>

* Update tj-actions/changed-files action to v39.2.2

* Add "ArchUnit vs Konsist in Android (Kotlin-oriented) codebase. A comparison of hidden implementation checks" Article3 (#713)

* KON-538 Add `testName` To `assertArchitecture` (#712)

* Update Sample Projects Docs (#716)

* Update plugin dokka to v1.9.10

* Update README.md

* Upd Snippets (#723)

* Update tj-actions/changed-files action to v39.2.3

* Update spring boot to v3.1.5

* KON-553: Allow `null` values in representsType() (#719)

* KON-553 Followup (#732)

* KON-369 Add Parent Declaration References (#709)

Co-authored-by: Igor Wojda <igor.wojda@gmail.com>

* Upd docs (#733)

* KON-563: Run only 1 CI pipeline in parallel for each PR (#725)

* Upd docs (#734)

* Update tj-actions/changed-files action to v39.2.4

* KON-205 Add Konsist Test Which Check That All Core Declarations Override `toString` (#735)

* Add Snippet (#740)

* Update dependency androidx.navigation:navigation-fragment-ktx to v2.7.5 (#741)

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>

* KON-541 Add KoVariableDeclaration (#717)

* Update dependency androidx.navigation:navigation-ui-ktx to v2.7.5

* Update plugin detekt to v1.23.3

* Update kotlin monorepo to v1.9.20

* Update dependency io.kotest:kotest-runner-junit5 to v5.8.0

* Update dependency io.kotest:kotest-runner-junit5-jvm to v5.8.0

* Update plugin io.kotest.multiplatform to v5.8.0

* Improve Gradle build performance (#749)

* KON-564 Extract if statements to variable (#730)

* Update plugin de.mannodermaus.android-junit5 to v1.10.0.0

* KON-569 Update Kmp Projects (#751)

* KON-562: Improve snippet CI verification (#724)

* KON-571 Fix `isKotlinType` Property Where Generic Types Where Treated as kotlin Collections (#754)

* KON-570 Add `KoSourceAndAliasTypeProviderCore.baseSourceType` (#753)

* KON-572 Fix for `sourcetype` stripping `?` (#756)

* KON-574 Add `isKotlinBasicType` And `isKotlinCollectionType` (#757)

* KON-570 Rename `baseSourceType` To `bareSourcetype` (#758)

* KON-570 Remove Package From `bareType` (#759)

* Add Project Icon (#761)

* Update Gitignore (#762)

* Update junit5 monorepo to v5.10.1

* Update `check_kttxt_snippets` (#764)

* KON-365 Add `indirectParents=false` Parameter (#726)

Co-authored-by: Igor Wojda <igor.wojda@gmail.com>

* Update tj-actions/changed-files action to v40 (#745)

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>

* Update plugin com.android.application to v8.1.3

* Update plugin com.android.library to v8.1.3

* Update tj-actions/changed-files action to v40.1.1

* KON-366 Change Return Type Of `containingDeclaration` (#715)

* change type of `containingDeclaration`

* remove nullability from `containingDeclaration` type

* sfix spotless and detekt

* upd tests

* use safe cast operator instead of unsafe cast operator

* fix spotless and detekt

* fix after merge

* Update plugin io.spring.dependency-management to v1.1.4

* Add Spring Snippet (#766)

* Update plugin com.android.application to v8.1.4

* Update plugin com.android.library to v8.1.4

* Fix git dir resolver uses the wrong paths (#780)

Co-authored-by: Emil Kollstrøm <e.kollstrom@sportradar.com>

* Update kotlin monorepo to v1.9.21

* Update spring boot to v3.2.0

* Update dependency org.codehaus.mojo:build-helper-maven-plugin to v3.5.0

* Update plugin detekt to v1.23.4

* Update tj-actions/changed-files action to v40.2.0

* Update dependency gradle to v8.5

* Update plugin com.android.application to v8.2.0

* Update plugin com.android.library to v8.2.0

* Update tj-actions/changed-files action to v40.2.1

* Update tj-actions/changed-files action to v40.2.2

* Update dependency androidx.navigation:navigation-fragment-ktx to v2.7.6

* Update dependency androidx.navigation:navigation-ui-ktx to v2.7.6

* Update dependency com.google.android.material:material to v1.11.0

* Update tj-actions/changed-files action to v40.2.3

* Update spring boot to v3.2.1

* Update kotlin monorepo to v1.9.22

* Update plugin com.android.application to v8.2.1

* Update plugin com.android.library to v8.2.1

* Update dependency io.mockk:mockk to v1.13.9

* Update spring boot to v3.2.2

* Update plugin com.android.application to v8.2.2

* Update plugin com.android.library to v8.2.2

* Update plugin detekt to v1.23.5

* Update dependency gradle to v8.6

* Update junit5 monorepo to v5.10.2

* Merge `main` to `develop` (#834)

* Upgrade version to 0.13.0

* Update check kttx snippets

* Update check kttx snippets

* Update check kttx snippets

* Update version

* Update scripts

* Update scripts

* Update dev readme

* Release `v0.13.0` (#688)

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: Igor Wojda <igor.wojda@gmail.com>
Co-authored-by: NataliaPeterwas <111683562+nataliapeterwas@users.noreply.github.com>
Co-authored-by: Jony Sarco <jfe.sarco@gmail.com>

* Revert "Release `v0.13.0`" (#689)

* Update Konsist in starter projects to Konsist `v0.13.0` (#697)

* Update Kotest Snippets (#701)

* Replace REGEX to allow using .. as wildcard again (#720)

* Update README.md (#771)

* Fixed broken link to the getting started guide. (#827)

* Fix wrong detection of Git root project dir (#831)

Detection never worked before because Git creates directory
called '.git', while code was checking 'git'.

* Fix test

* Disable KMP starter projects

---------

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: NataliaPeterwas <111683562+nataliapeterwas@users.noreply.github.com>
Co-authored-by: Jony Sarco <jfe.sarco@gmail.com>
Co-authored-by: Guillermo Guerrero González <3263397+guiguegon@users.noreply.github.com>
Co-authored-by: Atiq Ur Rehman <6600985@gmail.com>
Co-authored-by: Piotr Kubowicz <piotr.kubowicz@gmail.com>

* Update dependency io.ktor:ktor-server-html-builder-jvm to v2.3.8

* Rename `koTest` to `Kotest` (#837)

* Update actions/upload-artifact action to v4 (#808)

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>

* Update actions/setup-python action to v5 (#801)

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>

* Update actions/setup-java action to v4 (#797)

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>

* Update tj-actions/changed-files action to v42 (#819)

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>

* Remove "konsist-starter-" prefix from dir names (#838)

* Rename starter projects dirs

* Upd build scripts

* Fix detekt exclusion

* KON-367 Add Child Declaration References (#736)

* Add contex receivers for parent

* add integration tests

* remove parents from KoInterfaceDeclaration

* remove files

* fix spotless

* add KDocs and tests for KoParentInterfaceProvider

* add methods for KoParentClassProvider

* add tests for KoParentClassProvider

* add extensions for KoParentClassProvider and KoParentInterfaceProvider with tests

* add extensions for KoParentInterfaceProvider lists with tests

* add extensions for KoParentClassProvider lists with tests

* add simply KoUnknownParentProvider

* add KoParentProvider to KoInterfaceDeclaration

* add some additional tests fo KoParentProvider

* add additional tests for KoLocationProvider to KoParentProvider

* fix spotless and detekt

* change unknow to external

* change unknown to external in IntegrationTest

* add additional tests for KoNameProvider to KoParentDeclaration (without external)

* add additional tests KoNameProvider  for external parent to KoParentDeclaration

* fix spotless and detekt

* fix tests

* add KoExternalParentDeclaration

* add initializing classes and interfaces once

* optimalize `parents`

* remove duplication

* fix spotless and detekt

* add extensions for external parents

* add tests for KoClassDeclaration, KoInterfaceDeclaration and KoObjectDeclaration for all kind of parents

* add tests for KoExternalParentDeclaration and remove unnecessary tests for KoParentDeclaration

* fix spotless

* remove old tests from `konsist-path-tester`

* upd `ApiKonsistTest`

* restore `withParentClassOf` to AndroidSnippets

* fix test in CleanArchitectureSnippets

* remove duplication

* add package declaration to KoParentDeclaration

* add extension and tests for external parents

* fix spotless

* fix spotless

* Add sample-external-library.jar

* Add sample-external-library project

* Check sample-external-library projects

* Upd GHA scripts

* Upd docs

* upd packages

* add external classes and interfaces

* upd snippets with real external parents

* remove `external parent check`

* fix tests and remove external project

* fix tests

* fix spotless and detekt

* upd `check.yml`

* remove empty line

* remove helper project

* fix tests

* add zip project

* change kttxt script

* upd searching parents (we check also num parameters)

* add new tests

* upd class and interface

* add info about external parents

* upd tests

* move `helper-project` to `projects`

* add tests

* fix tests

* add external parent cache and `indirectParents` parameter to KoExternalParentProvider

* add tests for external parents with indirect parents

* add tests for parent interfaces with indirect parents

* fix spotless and detekt

* upd snippets and konsistTests

* upd tests for KoParentProvider

* add KoChildDeclaration, KoChildProvider and extensions for this

* upd hasChildOf and hasAllChildrenOf

* upd code in KoChildProviderCore

* add indirect children

* add example test in konsist-path-tester

* fix tests after merge

* fix spotless and detekt

* clean code

* add tests

* fix tests

* change logic of scopeFromFile and scopeFromDirectory

* fix spotless

* add missing tests

* add tests

* fix tests

* fix spotless and detekt

---------

Co-authored-by: Igor Wojda <igor.wojda@gmail.com>

* KON-578 Fix fully qualified name (#830)

It returned another name if an import wich contains the expected fully qualified
name is declared early in the same file.

* Add Tests (#842)

* Revert "Remove "konsist-starter-" prefix from dir names" (#844)

This reverts commit 2fd0592706604d8e6b0154f671c9e0220b516bc8.

* Update dependency org.jetbrains.kotlin-wrappers:kotlin-react-dom to v18.2.0-pre.693 (#840)

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>

* Update dependency io.ktor:ktor-server-netty to v2.3.8

* Update dependency io.kotest:kotest-runner-junit5 to v5.8.0 (#846)

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>

* Update dependency org.jetbrains.kotlin-wrappers:kotlin-react to v18.2.0-pre.693

* Update plugin org.jetbrains.kotlin.multiplatform to v1.9.22 (#845)

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>

* Update dependency org.jetbrains.kotlinx:kotlinx-html-jvm to v0.11.0 (#849)

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>

* Update dependency org.jetbrains.kotlin-wrappers:kotlin-emotion to v11.11.1-pre.693 (#848)

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>

* Update dependency org.jetbrains.kotlin-wrappers:kotlin-emotion to v11.11.1-pre.694

* Update dependency org.jetbrains.kotlin-wrappers:kotlin-react to v18.2.0-pre.694

* Update dependency org.jetbrains.kotlin-wrappers:kotlin-react-dom to v18.2.0-pre.694

* Remove Scope Violation Suppress (#855)

* Upgrade CI Java Version (#854)

* Upgrade CI Java version to 21

* Upgrade Java version to 21

* Upgrade Java version to 21

* Upgrade Java version to 21

* Add test snippet

* zulu -> corretto

* Update plugin io.kotest.multiplatform to v5.8.0 (#850)

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>

* Update Kotlin Compiler Version (#857)

* KON-432 Add Konsist Tests Which Check That All Declarations And Providers Implement Correct Parents (#772)

* Add contex receivers for parent

* add integration tests

* remove parents from KoInterfaceDeclaration

* remove files

* fix spotless

* add KDocs and tests for KoParentInterfaceProvider

* add methods for KoParentClassProvider

* add tests for KoParentClassProvider

* add extensions for KoParentClassProvider and KoParentInterfaceProvider with tests

* add extensions for KoParentInterfaceProvider lists with tests

* add extensions for KoParentClassProvider lists with tests

* add simply KoUnknownParentProvider

* add KoParentProvider to KoInterfaceDeclaration

* add some additional tests fo KoParentProvider

* add additional tests for KoLocationProvider to KoParentProvider

* fix spotless and detekt

* change unknow to external

* change unknown to external in IntegrationTest

* add additional tests for KoNameProvider to KoParentDeclaration (without external)

* add additional tests KoNameProvider  for external parent to KoParentDeclaration

* fix spotless and detekt

* fix tests

* add KoExternalParentDeclaration

* add initializing classes and interfaces once

* optimalize `parents`

* remove duplication

* fix spotless and detekt

* add extensions for external parents

* add tests for KoClassDeclaration, KoInterfaceDeclaration and KoObjectDeclaration for all kind of parents

* add tests for KoExternalParentDeclaration and remove unnecessary tests for KoParentDeclaration

* fix spotless

* remove old tests from `konsist-path-tester`

* upd `ApiKonsistTest`

* restore `withParentClassOf` to AndroidSnippets

* fix test in CleanArchitectureSnippets

* remove duplication

* add package declaration to KoParentDeclaration

* add extension and tests for external parents

* fix spotless

* fix spotless

* Add sample-external-library.jar

* Add sample-external-library project

* Check sample-external-library projects

* Upd GHA scripts

* Upd docs

* upd packages

* add external classes and interfaces

* upd snippets with real external parents

* remove `external parent check`

* fix tests and remove external project

* fix tests

* fix spotless and detekt

* upd `check.yml`

* remove empty line

* remove helper project

* fix tests

* add zip project

* change kttxt script

* upd searching parents (we check also num parameters)

* add new tests

* upd class and interface

* add info about external parents

* upd tests

* move `helper-project` to `projects`

* add tests

* fix tests

* add external parent cache and `indirectParents` parameter to KoExternalParentProvider

* add tests for external parents with indirect parents

* add tests for parent interfaces with indirect parents

* fix spotless and detekt

* upd snippets and konsistTests

* upd tests for KoParentProvider

* fix after merge

* add all methods to KoParentClassProvider and tests for them

* upd extensions for KoParentClassProvider and tests for them

* fix api konsist tests

* upd kdocs

* fix tests

* fix spotless and detekt

* fix spotless

* fix parents

* add tests

* fix spotless and detekt

---------

Co-authored-by: Igor Wojda <igor.wojda@gmail.com>

* KON-560 Methods With KClass Parameter Fails When Name Of The Class Defined In The File Is The Same As Imported Class (#775)

* add varaibles

* rename localVariables to variables

* add extensions and tests for them

* add test for KoVariableDeclaration (on functions)

* add tests for declarations which implements KoVariableProvider

* KoVariableModifier - remove KoModifierProvider and fix fqn

* add tests in konsist-path-tester and fix detekt

* remove `includeLocal` from properties

* renames providers

* add some parametrized tests

* fix spotless and detekt

* add next tests

* add rest (in Konsist) tests for KoVariableDeclaration

* add tests for KoVariableDeclaration in `konsist-path-tester`

* fix spotless and detekt

* rename old anames to new one

* fix snippets

* fix spotless

* fix after rebase

* remove simple name from `of` methods

* fix tests

* fix spotless and detekt

* comment test

* upd hasTypeOf on the build-in kotlin types

* fix spotless

* fix after merge

* fix spotless

* KON-368 Add Tests Declaration References (#784)

* add varaibles

* rename localVariables to variables

* add extensions and tests for them

* add test for KoVariableDeclaration (on functions)

* add tests for declarations which implements KoVariableProvider

* KoVariableModifier - remove KoModifierProvider and fix fqn

* add tests in konsist-path-tester and fix detekt

* remove `includeLocal` from properties

* renames providers

* add some parametrized tests

* fix spotless and detekt

* add next tests

* add rest (in Konsist) tests for KoVariableDeclaration

* add tests for KoVariableDeclaration in `konsist-path-tester`

* fix spotless and detekt

* rename old anames to new one

* fix snippets

* fix spotless

* fix after rebase

* add KoTacitTypeProvider and tests

* add provider ext

* add missing tests

* add kdocs

* fix spotless and detekt

* add KoTestClassProvider

* add tests

* add KoTestClassProvider

* fix spotless and detekt

* add extensions and tests for them

* fix spotless

* remove overload extensions

* fix tests

* remove Tacit type from api and extract this as extensions in core

* upd logic

* upd tests

* upd code

* upd tests

* upd tests

* fix spotless and detekt

* upd kotlin version in konsist-path-tester and konsist-root-path-tester

* fix tests

* KON-264 add lists scope from directory (#778)

* add scope from directory, scopre from directories

* add tests for scopes from directories

* rollback imports

---------

Co-authored-by: Igor Wojda <igor.wojda@gmail.com>

* KON-579 Create `konsist-declaration-tester` (#858)

* add varaibles

* rename localVariables to variables

* add extensions and tests for them

* add test for KoVariableDeclaration (on functions)

* add tests for declarations which implements KoVariableProvider

* KoVariableModifier - remove KoModifierProvider and fix fqn

* add tests in konsist-path-tester and fix detekt

* remove `includeLocal` from properties

* renames providers

* add some parametrized tests

* fix spotless and detekt

* add next tests

* add rest (in Konsist) tests for KoVariableDeclaration

* add tests for KoVariableDeclaration in `konsist-path-tester`

* fix spotless and detekt

* rename old anames to new one

* fix snippets

* fix spotless

* fix after rebase

* add KoTacitTypeProvider and tests

* add provider ext

* add missing tests

* add kdocs

* fix spotless and detekt

* add KoTestClassProvider

* add tests

* add KoTestClassProvider

* fix spotless and detekt

* add extensions and tests for them

* fix spotless

* remove overload extensions

* fix tests

* remove Tacit type from api and extract this as extensions in core

* upd logic

* upd tests

* upd code

* upd tests

* upd tests

* fix spotless and detekt

* upd kotlin version in konsist-path-tester and konsist-root-path-tester

* fix tests

* add `konsist-declaration-tester` and move to this new project all tests which has no connection with path

* change comments

* add new github checks

* fix after merge

* KON-583 Add possibility to create scope passing sets of items (#861)

* fix spotless and detekt

* dix scopeFromFiles method

* remove test from architecture

* upd tests for `scopeFromFiles`

* add tests for `scopeFromDirectories`

* add tests for `scopeFromModules`

* add tests for `scopeFromSourceSets`

* upd kdocs

* KON-525 Add isReadOnly property to the KoPropertyDeclaration (#867)

* Add Slack Badge (#877)

* KON-543 Add `hasTacitType` (#773)

* add varaibles

* rename localVariables to variables

* add extensions and tests for them

* add test for KoVariableDeclaration (on functions)

* add tests for declarations which implements KoVariableProvider

* KoVariableModifier - remove KoModifierProvider and fix fqn

* add tests in konsist-path-tester and fix detekt

* remove `includeLocal` from properties

* renames providers

* add some parametrized tests

* fix spotless and detekt

* add next tests

* add rest (in Konsist) tests for KoVariableDeclaration

* add tests for KoVariableDeclaration in `konsist-path-tester`

* fix spotless and detekt

* rename old anames to new one

* fix snippets

* fix spotless

* fix after rebase

* add KoTacitTypeProvider and tests

* add provider ext

* add missing tests

* add kdocs

* fix spotless and detekt

* Clean up

---------

Co-authored-by: Igor Wojda <igor.wojda@gmail.com>

* KON-371 Initialize All `KoFiles` At Start (#878)

* Parse Declarations

* Parse Declarations

* Use declarations from KoFileDeclarationProvider

* Add Kdoc

* Restore name

* Clean up

* Clean up

* KON-547 Add Type Declarations (#868)

* add type declarations

* add first version

* upd version

* add KoFunctionTypeDeclaration

* upd code

* fix tests

* upd code

* upd code

* moving directories in tests

* add tests to KoFunctionTypeDeclaration

* add ImportAliasDeclaration

* add ImportAliasDeclaration

* fix spotless

* create one external declaration

* add import directive property to import alias declaration

* change typealias to type

* add providers for declarations

* fix tests and logic

* clean code

* add tests

* add tests for KoNullableProvider

* add KoTypeDeclarationForKoKotlinTypeProviderTest

* add KoTypeDeclarationForKoTextProviderTest

* add KoTypeDeclarationForKoNameProviderTest

* add some tests for KoKotlinTypeDeclaration

* upd structure and tests

* upd KoTypeDeclarationTest

* upd KoTypeDeclarationForKoContainingDeclarationProviderTest and KoTypeDeclarationForKoContainingFileProviderTest

* upd KoTypeDeclarationForKoLocationProviderTest

* upd KoTypeDeclarationForKoPathProviderTest

* upd KoTypeDeclarationForKoPackageProviderTest

* upd KoTypeDeclarationForKoResideInPackageProviderTest

* upd tests for KoFunctionTypeDeclaration

* add tests fo KoKotlinTypeDeclaration

* add some tests fo KoImportAliasDeclaration

* add tests fo KoImportAliasDeclaration

* add tests fo KoFunctionTypeDeclaration

* add tests fo KoFunctionTypeDeclaration

* clean code

* move directories

* upd code

* add tests for module and source set

* fix methods with KClass, like hasTypeOf

* upd code

* upd KoImportAliasDeclaration

* add alias as concrete type and fix tests

* remove unused snippets

* upd KoGenericTypeProvider in KoTypeDeclaration

* upd konsist tests

* rename `declaration` to `sourceDeclar`

* rename `declaration` to `sourceDeclaration`

* upd KoAliasProvider

* clean code

* added extensions for KoImportAliasProvider

* clean code

* fix konsist test

* add kdocs

* fix detekt

* KON-589 Upload Check results as artifacts (#880)

* Upload Test Reports

* Upload Test Reports

* Update names

* Upd artifact name

* Update name

* Use html artifacts

* KON-591 Run path test projects on MacOs (#881)

* Run on MacOs

* Run on MacOs

* KON-590 Root Path Testers Are Failin On Ubuntu (#882)

* Extract Path Checks to separate file

* Create Ubuntu path testers

* Disable checks

* Restore checks

* Restore checks

* KON-577 Layer doesn't allow string that uses a package wildcard twice (#892)

* add new tests

* upd regex

* comment test

* clean code

* add todo

* clean code

* remove unused test and upd kdoc

* upd kdoc

* KON-601 Update KDoc for `isInitialized` property (#895)

* KON-593 `KoPackageMatchingPathProviderCore.hasMatchingPath` fails on windows (#893)

* replace "\" with file separator

* add aditional tests in konsist-declaration-tester

* upd name

* fix detekt

* upd suppress annotation

* Empty-Commit

* Empty-Commit

* rename sep to separator

* fix path-tester

* KON-602 Improve layer verification (#897)

* add new tests

* upd regex

* comment test

* clean code

* add todo

* clean code

* remove unused test and upd kdoc

* upd kdoc

* upd regex and kdocs

* clean code

* Restore Kotlin Version (#899)

* Update Dev Readme (#898)

* Update kotlin monorepo (#894)

* Update kotlin monorepo

* Upd toolchain to Java 21

* Upd toolchain to Java 21

* Upd toolchain to Java 21

* Restore Kotlin

---------

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: Igor Wojda <igor.wojda@gmail.com>

* Update plugin com.android.application to v8.3.0 (#886)

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>

* Update tj-actions/changed-files action to v42.0.7 (#891)

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>

* Update plugin dokka to v1.9.20 (#885)

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>

* Update dependency org.jetbrains.kotlin-wrappers:kotlin-react-dom to v18.2.0-pre.710 (#889)

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>

* Update dependency io.ktor:ktor-server-netty to v2.3.9 (#884)

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>

* Update plugin com.android.library to v8.3.0 (#890)

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>

* Update dependency org.jetbrains.kotlin-wrappers:kotlin-react to v18.2.0-pre.710 (#888)

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>

* Update dependency org.jetbrains.kotlin-wrappers:kotlin-emotion to v11.11.1-pre.710 (#887)

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>

* Update dependency io.ktor:ktor-server-html-builder-jvm to v2.3.9 (#883)

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>

* KON-604 Update Artifact Verification (#901)

* Rename script and fail when no files

* Simplify script

* Upd name

* KON-603 Update Deprecated Version (#902)

* KON-606 Refactor Starter Projects Scripts (#906)

* Clean up run

* Update checks

* Test

* Update order

* KON-596 Add extensions to retrieve properties of the source type (#900)

* extract new provider for `sourceDeclaration`

* add properties and tests

* clean code

* add some extensions and tests for them

* add hasSourceX methods and tests for them

* add hasSourceDeclaration and hasSourceDeclarationOf

* add hasSourceXOf methods and tests for them

* clean code

* KON-586 Add KDocs for DeclarationReference (#904)

* extract new provider for `sourceDeclaration`

* add properties and tests

* clean code

* add some extensions and tests for them

* add hasSourceX methods and tests for them

* add hasSourceDeclaration and hasSourceDeclarationOf

* add hasSourceXOf methods and tests for them

* clean code

* upd kdoc

* upd kdoc

* Upd docs

---------

Co-authored-by: Igor Wojda <igor.wojda@gmail.com>

* KON-565 Upgrade Spotless (#907)

* Fix spotless issues

* Extract spotless version to libs.version.toml

* Upd snippets

* SpotlessApply

* Clean up

* Create getTomlVersion extension

* Fix detekt

* Fix snippet tests

* Fix snippet tests

* Simplify Snippet Usgae Verification Regex (#908)

* Simplify regex

* Fix spotless

* Rename CI Jobs (#909)

* Update tj-actions/changed-files action to v42.1.0

* Update dependency org.jetbrains.kotlin-wrappers:kotlin-emotion to v11.11.4-pre.711

* Update dependency org.jetbrains.kotlin-wrappers:kotlin-react to v18.2.0-pre.711 (#912)

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>

* Update dependency org.jetbrains.kotlin-wrappers:kotlin-react-dom to v18.2.0-pre.711 (#913)

Co-author…
igorwojda added a commit that referenced this pull request Apr 1, 2024
* Merge `main` to `develop` (#691)

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: Igor Wojda <igor.wojda@gmail.com>
Co-authored-by: NataliaPeterwas <111683562+nataliapeterwas@users.noreply.github.com>
Co-authored-by: Jony Sarco <jfe.sarco@gmail.com>

* Merge main to develop (#699)

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: Igor Wojda <igor.wojda@gmail.com>
Co-authored-by: NataliaPeterwas <111683562+nataliapeterwas@users.noreply.github.com>
Co-authored-by: Jony Sarco <jfe.sarco@gmail.com>

* Update Kotest Snippets (#700)

* Fix git dir resolver uses the wrong paths (#780)

Co-authored-by: Emil Kollstrøm <e.kollstrom@sportradar.com>

* Merge `main` to `develop` (#834)

* Upgrade version to 0.13.0

* Update check kttx snippets

* Update check kttx snippets

* Update check kttx snippets

* Update version

* Update scripts

* Update scripts

* Update dev readme

* Release `v0.13.0` (#688)

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: Igor Wojda <igor.wojda@gmail.com>
Co-authored-by: NataliaPeterwas <111683562+nataliapeterwas@users.noreply.github.com>
Co-authored-by: Jony Sarco <jfe.sarco@gmail.com>

* Revert "Release `v0.13.0`" (#689)

* Update Konsist in starter projects to Konsist `v0.13.0` (#697)

* Update Kotest Snippets (#701)

* Replace REGEX to allow using .. as wildcard again (#720)

* Update README.md (#771)

* Fixed broken link to the getting started guide. (#827)

* Fix wrong detection of Git root project dir (#831)

Detection never worked before because Git creates directory
called '.git', while code was checking 'git'.

* Fix test

* Disable KMP starter projects

---------

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: NataliaPeterwas <111683562+nataliapeterwas@users.noreply.github.com>
Co-authored-by: Jony Sarco <jfe.sarco@gmail.com>
Co-authored-by: Guillermo Guerrero González <3263397+guiguegon@users.noreply.github.com>
Co-authored-by: Atiq Ur Rehman <6600985@gmail.com>
Co-authored-by: Piotr Kubowicz <piotr.kubowicz@gmail.com>

* Main=to Develop (#923)

* Upgrade version to 0.13.0

* Update check kttx snippets

* Update check kttx snippets

* Update check kttx snippets

* Update version

* Update scripts

* Update scripts

* Update dev readme

* Release `v0.13.0` (#688)

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: Igor Wojda <igor.wojda@gmail.com>
Co-authored-by: NataliaPeterwas <111683562+nataliapeterwas@users.noreply.github.com>
Co-authored-by: Jony Sarco <jfe.sarco@gmail.com>

* Revert "Release `v0.13.0`" (#689)

* Update Konsist in starter projects to Konsist `v0.13.0` (#697)

* Update Kotest Snippets (#701)

* Replace REGEX to allow using .. as wildcard again (#720)

* Update README.md (#771)

* Fixed broken link to the getting started guide. (#827)

* Fix wrong detection of Git root project dir (#831)

Detection never worked before because Git creates directory
called '.git', while code was checking 'git'.

* Fix spotless

---------

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: NataliaPeterwas <111683562+nataliapeterwas@users.noreply.github.com>
Co-authored-by: Jony Sarco <jfe.sarco@gmail.com>
Co-authored-by: Guillermo Guerrero González <3263397+guiguegon@users.noreply.github.com>
Co-authored-by: Atiq Ur Rehman <6600985@gmail.com>
Co-authored-by: Piotr Kubowicz <piotr.kubowicz@gmail.com>

* Update dependency com.lemonappdev:konsist to v0.14.0 (#934)

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>

* Update tj-actions/branch-names action to v8 (#931)

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>

* Main To Develop (#935)

* Release/v0.14.0 (#917)

* Merge `main` to `develop` (#691)

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: Igor Wojda <igor.wojda@gmail.com>
Co-authored-by: NataliaPeterwas <111683562+nataliapeterwas@users.noreply.github.com>
Co-authored-by: Jony Sarco <jfe.sarco@gmail.com>

* Add Article (#696)

* Merge main to develop (#699)

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: Igor Wojda <igor.wojda@gmail.com>
Co-authored-by: NataliaPeterwas <111683562+nataliapeterwas@users.noreply.github.com>
Co-authored-by: Jony Sarco <jfe.sarco@gmail.com>

* Fix Artifact Upload (#698)

* Update Kotest Snippets (#700)

* KON-531 Add Dynamic Test Samples (#702)

* Upd Konsist Artifact Description (#703)

* Add Article (#705)

* Fix Typo (#704)

* Update Dynamic Tests (#706)

* KON-537 Update `update Snippets Script` To Make Sure PR Is Opened From The Newest Version Of Docs (#695)

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: Igor Wojda <igor.wojda@gmail.com>
Co-authored-by: NataliaPeterwas <111683562+nataliapeterwas@users.noreply.github.com>
Co-authored-by: Jony Sarco <jfe.sarco@gmail.com>

* Add Article "Konsist and Conquer: Embracing the World of Dynamic Testing" (#708)

* Update plugin testLogger to v4 (#710)

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>

* Update tj-actions/changed-files action to v39.2.2

* Add "ArchUnit vs Konsist in Android (Kotlin-oriented) codebase. A comparison of hidden implementation checks" Article3 (#713)

* KON-538 Add `testName` To `assertArchitecture` (#712)

* Update Sample Projects Docs (#716)

* Update plugin dokka to v1.9.10

* Update README.md

* Upd Snippets (#723)

* Update tj-actions/changed-files action to v39.2.3

* Update spring boot to v3.1.5

* KON-553: Allow `null` values in representsType() (#719)

* KON-553 Followup (#732)

* KON-369 Add Parent Declaration References (#709)

Co-authored-by: Igor Wojda <igor.wojda@gmail.com>

* Upd docs (#733)

* KON-563: Run only 1 CI pipeline in parallel for each PR (#725)

* Upd docs (#734)

* Update tj-actions/changed-files action to v39.2.4

* KON-205 Add Konsist Test Which Check That All Core Declarations Override `toString` (#735)

* Add Snippet (#740)

* Update dependency androidx.navigation:navigation-fragment-ktx to v2.7.5 (#741)

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>

* KON-541 Add KoVariableDeclaration (#717)

* Update dependency androidx.navigation:navigation-ui-ktx to v2.7.5

* Update plugin detekt to v1.23.3

* Update kotlin monorepo to v1.9.20

* Update dependency io.kotest:kotest-runner-junit5 to v5.8.0

* Update dependency io.kotest:kotest-runner-junit5-jvm to v5.8.0

* Update plugin io.kotest.multiplatform to v5.8.0

* Improve Gradle build performance (#749)

* KON-564 Extract if statements to variable (#730)

* Update plugin de.mannodermaus.android-junit5 to v1.10.0.0

* KON-569 Update Kmp Projects (#751)

* KON-562: Improve snippet CI verification (#724)

* KON-571 Fix `isKotlinType` Property Where Generic Types Where Treated as kotlin Collections (#754)

* KON-570 Add `KoSourceAndAliasTypeProviderCore.baseSourceType` (#753)

* KON-572 Fix for `sourcetype` stripping `?` (#756)

* KON-574 Add `isKotlinBasicType` And `isKotlinCollectionType` (#757)

* KON-570 Rename `baseSourceType` To `bareSourcetype` (#758)

* KON-570 Remove Package From `bareType` (#759)

* Add Project Icon (#761)

* Update Gitignore (#762)

* Update junit5 monorepo to v5.10.1

* Update `check_kttxt_snippets` (#764)

* KON-365 Add `indirectParents=false` Parameter (#726)

Co-authored-by: Igor Wojda <igor.wojda@gmail.com>

* Update tj-actions/changed-files action to v40 (#745)

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>

* Update plugin com.android.application to v8.1.3

* Update plugin com.android.library to v8.1.3

* Update tj-actions/changed-files action to v40.1.1

* KON-366 Change Return Type Of `containingDeclaration` (#715)

* change type of `containingDeclaration`

* remove nullability from `containingDeclaration` type

* sfix spotless and detekt

* upd tests

* use safe cast operator instead of unsafe cast operator

* fix spotless and detekt

* fix after merge

* Update plugin io.spring.dependency-management to v1.1.4

* Add Spring Snippet (#766)

* Update plugin com.android.application to v8.1.4

* Update plugin com.android.library to v8.1.4

* Fix git dir resolver uses the wrong paths (#780)

Co-authored-by: Emil Kollstrøm <e.kollstrom@sportradar.com>

* Update kotlin monorepo to v1.9.21

* Update spring boot to v3.2.0

* Update dependency org.codehaus.mojo:build-helper-maven-plugin to v3.5.0

* Update plugin detekt to v1.23.4

* Update tj-actions/changed-files action to v40.2.0

* Update dependency gradle to v8.5

* Update plugin com.android.application to v8.2.0

* Update plugin com.android.library to v8.2.0

* Update tj-actions/changed-files action to v40.2.1

* Update tj-actions/changed-files action to v40.2.2

* Update dependency androidx.navigation:navigation-fragment-ktx to v2.7.6

* Update dependency androidx.navigation:navigation-ui-ktx to v2.7.6

* Update dependency com.google.android.material:material to v1.11.0

* Update tj-actions/changed-files action to v40.2.3

* Update spring boot to v3.2.1

* Update kotlin monorepo to v1.9.22

* Update plugin com.android.application to v8.2.1

* Update plugin com.android.library to v8.2.1

* Update dependency io.mockk:mockk to v1.13.9

* Update spring boot to v3.2.2

* Update plugin com.android.application to v8.2.2

* Update plugin com.android.library to v8.2.2

* Update plugin detekt to v1.23.5

* Update dependency gradle to v8.6

* Update junit5 monorepo to v5.10.2

* Merge `main` to `develop` (#834)

* Upgrade version to 0.13.0

* Update check kttx snippets

* Update check kttx snippets

* Update check kttx snippets

* Update version

* Update scripts

* Update scripts

* Update dev readme

* Release `v0.13.0` (#688)

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: Igor Wojda <igor.wojda@gmail.com>
Co-authored-by: NataliaPeterwas <111683562+nataliapeterwas@users.noreply.github.com>
Co-authored-by: Jony Sarco <jfe.sarco@gmail.com>

* Revert "Release `v0.13.0`" (#689)

* Update Konsist in starter projects to Konsist `v0.13.0` (#697)

* Update Kotest Snippets (#701)

* Replace REGEX to allow using .. as wildcard again (#720)

* Update README.md (#771)

* Fixed broken link to the getting started guide. (#827)

* Fix wrong detection of Git root project dir (#831)

Detection never worked before because Git creates directory
called '.git', while code was checking 'git'.

* Fix test

* Disable KMP starter projects

---------

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: NataliaPeterwas <111683562+nataliapeterwas@users.noreply.github.com>
Co-authored-by: Jony Sarco <jfe.sarco@gmail.com>
Co-authored-by: Guillermo Guerrero González <3263397+guiguegon@users.noreply.github.com>
Co-authored-by: Atiq Ur Rehman <6600985@gmail.com>
Co-authored-by: Piotr Kubowicz <piotr.kubowicz@gmail.com>

* Update dependency io.ktor:ktor-server-html-builder-jvm to v2.3.8

* Rename `koTest` to `Kotest` (#837)

* Update actions/upload-artifact action to v4 (#808)

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>

* Update actions/setup-python action to v5 (#801)

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>

* Update actions/setup-java action to v4 (#797)

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>

* Update tj-actions/changed-files action to v42 (#819)

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>

* Remove "konsist-starter-" prefix from dir names (#838)

* Rename starter projects dirs

* Upd build scripts

* Fix detekt exclusion

* KON-367 Add Child Declaration References (#736)

* Add contex receivers for parent

* add integration tests

* remove parents from KoInterfaceDeclaration

* remove files

* fix spotless

* add KDocs and tests for KoParentInterfaceProvider

* add methods for KoParentClassProvider

* add tests for KoParentClassProvider

* add extensions for KoParentClassProvider and KoParentInterfaceProvider with tests

* add extensions for KoParentInterfaceProvider lists with tests

* add extensions for KoParentClassProvider lists with tests

* add simply KoUnknownParentProvider

* add KoParentProvider to KoInterfaceDeclaration

* add some additional tests fo KoParentProvider

* add additional tests for KoLocationProvider to KoParentProvider

* fix spotless and detekt

* change unknow to external

* change unknown to external in IntegrationTest

* add additional tests for KoNameProvider to KoParentDeclaration (without external)

* add additional tests KoNameProvider  for external parent to KoParentDeclaration

* fix spotless and detekt

* fix tests

* add KoExternalParentDeclaration

* add initializing classes and interfaces once

* optimalize `parents`

* remove duplication

* fix spotless and detekt

* add extensions for external parents

* add tests for KoClassDeclaration, KoInterfaceDeclaration and KoObjectDeclaration for all kind of parents

* add tests for KoExternalParentDeclaration and remove unnecessary tests for KoParentDeclaration

* fix spotless

* remove old tests from `konsist-path-tester`

* upd `ApiKonsistTest`

* restore `withParentClassOf` to AndroidSnippets

* fix test in CleanArchitectureSnippets

* remove duplication

* add package declaration to KoParentDeclaration

* add extension and tests for external parents

* fix spotless

* fix spotless

* Add sample-external-library.jar

* Add sample-external-library project

* Check sample-external-library projects

* Upd GHA scripts

* Upd docs

* upd packages

* add external classes and interfaces

* upd snippets with real external parents

* remove `external parent check`

* fix tests and remove external project

* fix tests

* fix spotless and detekt

* upd `check.yml`

* remove empty line

* remove helper project

* fix tests

* add zip project

* change kttxt script

* upd searching parents (we check also num parameters)

* add new tests

* upd class and interface

* add info about external parents

* upd tests

* move `helper-project` to `projects`

* add tests

* fix tests

* add external parent cache and `indirectParents` parameter to KoExternalParentProvider

* add tests for external parents with indirect parents

* add tests for parent interfaces with indirect parents

* fix spotless and detekt

* upd snippets and konsistTests

* upd tests for KoParentProvider

* add KoChildDeclaration, KoChildProvider and extensions for this

* upd hasChildOf and hasAllChildrenOf

* upd code in KoChildProviderCore

* add indirect children

* add example test in konsist-path-tester

* fix tests after merge

* fix spotless and detekt

* clean code

* add tests

* fix tests

* change logic of scopeFromFile and scopeFromDirectory

* fix spotless

* add missing tests

* add tests

* fix tests

* fix spotless and detekt

---------

Co-authored-by: Igor Wojda <igor.wojda@gmail.com>

* KON-578 Fix fully qualified name (#830)

It returned another name if an import wich contains the expected fully qualified
name is declared early in the same file.

* Add Tests (#842)

* Revert "Remove "konsist-starter-" prefix from dir names" (#844)

This reverts commit 2fd0592706604d8e6b0154f671c9e0220b516bc8.

* Update dependency org.jetbrains.kotlin-wrappers:kotlin-react-dom to v18.2.0-pre.693 (#840)

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>

* Update dependency io.ktor:ktor-server-netty to v2.3.8

* Update dependency io.kotest:kotest-runner-junit5 to v5.8.0 (#846)

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>

* Update dependency org.jetbrains.kotlin-wrappers:kotlin-react to v18.2.0-pre.693

* Update plugin org.jetbrains.kotlin.multiplatform to v1.9.22 (#845)

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>

* Update dependency org.jetbrains.kotlinx:kotlinx-html-jvm to v0.11.0 (#849)

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>

* Update dependency org.jetbrains.kotlin-wrappers:kotlin-emotion to v11.11.1-pre.693 (#848)

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>

* Update dependency org.jetbrains.kotlin-wrappers:kotlin-emotion to v11.11.1-pre.694

* Update dependency org.jetbrains.kotlin-wrappers:kotlin-react to v18.2.0-pre.694

* Update dependency org.jetbrains.kotlin-wrappers:kotlin-react-dom to v18.2.0-pre.694

* Remove Scope Violation Suppress (#855)

* Upgrade CI Java Version (#854)

* Upgrade CI Java version to 21

* Upgrade Java version to 21

* Upgrade Java version to 21

* Upgrade Java version to 21

* Add test snippet

* zulu -> corretto

* Update plugin io.kotest.multiplatform to v5.8.0 (#850)

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>

* Update Kotlin Compiler Version (#857)

* KON-432 Add Konsist Tests Which Check That All Declarations And Providers Implement Correct Parents (#772)

* Add contex receivers for parent

* add integration tests

* remove parents from KoInterfaceDeclaration

* remove files

* fix spotless

* add KDocs and tests for KoParentInterfaceProvider

* add methods for KoParentClassProvider

* add tests for KoParentClassProvider

* add extensions for KoParentClassProvider and KoParentInterfaceProvider with tests

* add extensions for KoParentInterfaceProvider lists with tests

* add extensions for KoParentClassProvider lists with tests

* add simply KoUnknownParentProvider

* add KoParentProvider to KoInterfaceDeclaration

* add some additional tests fo KoParentProvider

* add additional tests for KoLocationProvider to KoParentProvider

* fix spotless and detekt

* change unknow to external

* change unknown to external in IntegrationTest

* add additional tests for KoNameProvider to KoParentDeclaration (without external)

* add additional tests KoNameProvider  for external parent to KoParentDeclaration

* fix spotless and detekt

* fix tests

* add KoExternalParentDeclaration

* add initializing classes and interfaces once

* optimalize `parents`

* remove duplication

* fix spotless and detekt

* add extensions for external parents

* add tests for KoClassDeclaration, KoInterfaceDeclaration and KoObjectDeclaration for all kind of parents

* add tests for KoExternalParentDeclaration and remove unnecessary tests for KoParentDeclaration

* fix spotless

* remove old tests from `konsist-path-tester`

* upd `ApiKonsistTest`

* restore `withParentClassOf` to AndroidSnippets

* fix test in CleanArchitectureSnippets

* remove duplication

* add package declaration to KoParentDeclaration

* add extension and tests for external parents

* fix spotless

* fix spotless

* Add sample-external-library.jar

* Add sample-external-library project

* Check sample-external-library projects

* Upd GHA scripts

* Upd docs

* upd packages

* add external classes and interfaces

* upd snippets with real external parents

* remove `external parent check`

* fix tests and remove external project

* fix tests

* fix spotless and detekt

* upd `check.yml`

* remove empty line

* remove helper project

* fix tests

* add zip project

* change kttxt script

* upd searching parents (we check also num parameters)

* add new tests

* upd class and interface

* add info about external parents

* upd tests

* move `helper-project` to `projects`

* add tests

* fix tests

* add external parent cache and `indirectParents` parameter to KoExternalParentProvider

* add tests for external parents with indirect parents

* add tests for parent interfaces with indirect parents

* fix spotless and detekt

* upd snippets and konsistTests

* upd tests for KoParentProvider

* fix after merge

* add all methods to KoParentClassProvider and tests for them

* upd extensions for KoParentClassProvider and tests for them

* fix api konsist tests

* upd kdocs

* fix tests

* fix spotless and detekt

* fix spotless

* fix parents

* add tests

* fix spotless and detekt

---------

Co-authored-by: Igor Wojda <igor.wojda@gmail.com>

* KON-560 Methods With KClass Parameter Fails When Name Of The Class Defined In The File Is The Same As Imported Class (#775)

* add varaibles

* rename localVariables to variables

* add extensions and tests for them

* add test for KoVariableDeclaration (on functions)

* add tests for declarations which implements KoVariableProvider

* KoVariableModifier - remove KoModifierProvider and fix fqn

* add tests in konsist-path-tester and fix detekt

* remove `includeLocal` from properties

* renames providers

* add some parametrized tests

* fix spotless and detekt

* add next tests

* add rest (in Konsist) tests for KoVariableDeclaration

* add tests for KoVariableDeclaration in `konsist-path-tester`

* fix spotless and detekt

* rename old anames to new one

* fix snippets

* fix spotless

* fix after rebase

* remove simple name from `of` methods

* fix tests

* fix spotless and detekt

* comment test

* upd hasTypeOf on the build-in kotlin types

* fix spotless

* fix after merge

* fix spotless

* KON-368 Add Tests Declaration References (#784)

* add varaibles

* rename localVariables to variables

* add extensions and tests for them

* add test for KoVariableDeclaration (on functions)

* add tests for declarations which implements KoVariableProvider

* KoVariableModifier - remove KoModifierProvider and fix fqn

* add tests in konsist-path-tester and fix detekt

* remove `includeLocal` from properties

* renames providers

* add some parametrized tests

* fix spotless and detekt

* add next tests

* add rest (in Konsist) tests for KoVariableDeclaration

* add tests for KoVariableDeclaration in `konsist-path-tester`

* fix spotless and detekt

* rename old anames to new one

* fix snippets

* fix spotless

* fix after rebase

* add KoTacitTypeProvider and tests

* add provider ext

* add missing tests

* add kdocs

* fix spotless and detekt

* add KoTestClassProvider

* add tests

* add KoTestClassProvider

* fix spotless and detekt

* add extensions and tests for them

* fix spotless

* remove overload extensions

* fix tests

* remove Tacit type from api and extract this as extensions in core

* upd logic

* upd tests

* upd code

* upd tests

* upd tests

* fix spotless and detekt

* upd kotlin version in konsist-path-tester and konsist-root-path-tester

* fix tests

* KON-264 add lists scope from directory (#778)

* add scope from directory, scopre from directories

* add tests for scopes from directories

* rollback imports

---------

Co-authored-by: Igor Wojda <igor.wojda@gmail.com>

* KON-579 Create `konsist-declaration-tester` (#858)

* add varaibles

* rename localVariables to variables

* add extensions and tests for them

* add test for KoVariableDeclaration (on functions)

* add tests for declarations which implements KoVariableProvider

* KoVariableModifier - remove KoModifierProvider and fix fqn

* add tests in konsist-path-tester and fix detekt

* remove `includeLocal` from properties

* renames providers

* add some parametrized tests

* fix spotless and detekt

* add next tests

* add rest (in Konsist) tests for KoVariableDeclaration

* add tests for KoVariableDeclaration in `konsist-path-tester`

* fix spotless and detekt

* rename old anames to new one

* fix snippets

* fix spotless

* fix after rebase

* add KoTacitTypeProvider and tests

* add provider ext

* add missing tests

* add kdocs

* fix spotless and detekt

* add KoTestClassProvider

* add tests

* add KoTestClassProvider

* fix spotless and detekt

* add extensions and tests for them

* fix spotless

* remove overload extensions

* fix tests

* remove Tacit type from api and extract this as extensions in core

* upd logic

* upd tests

* upd code

* upd tests

* upd tests

* fix spotless and detekt

* upd kotlin version in konsist-path-tester and konsist-root-path-tester

* fix tests

* add `konsist-declaration-tester` and move to this new project all tests which has no connection with path

* change comments

* add new github checks

* fix after merge

* KON-583 Add possibility to create scope passing sets of items (#861)

* fix spotless and detekt

* dix scopeFromFiles method

* remove test from architecture

* upd tests for `scopeFromFiles`

* add tests for `scopeFromDirectories`

* add tests for `scopeFromModules`

* add tests for `scopeFromSourceSets`

* upd kdocs

* KON-525 Add isReadOnly property to the KoPropertyDeclaration (#867)

* Add Slack Badge (#877)

* KON-543 Add `hasTacitType` (#773)

* add varaibles

* rename localVariables to variables

* add extensions and tests for them

* add test for KoVariableDeclaration (on functions)

* add tests for declarations which implements KoVariableProvider

* KoVariableModifier - remove KoModifierProvider and fix fqn

* add tests in konsist-path-tester and fix detekt

* remove `includeLocal` from properties

* renames providers

* add some parametrized tests

* fix spotless and detekt

* add next tests

* add rest (in Konsist) tests for KoVariableDeclaration

* add tests for KoVariableDeclaration in `konsist-path-tester`

* fix spotless and detekt

* rename old anames to new one

* fix snippets

* fix spotless

* fix after rebase

* add KoTacitTypeProvider and tests

* add provider ext

* add missing tests

* add kdocs

* fix spotless and detekt

* Clean up

---------

Co-authored-by: Igor Wojda <igor.wojda@gmail.com>

* KON-371 Initialize All `KoFiles` At Start (#878)

* Parse Declarations

* Parse Declarations

* Use declarations from KoFileDeclarationProvider

* Add Kdoc

* Restore name

* Clean up

* Clean up

* KON-547 Add Type Declarations (#868)

* add type declarations

* add first version

* upd version

* add KoFunctionTypeDeclaration

* upd code

* fix tests

* upd code

* upd code

* moving directories in tests

* add tests to KoFunctionTypeDeclaration

* add ImportAliasDeclaration

* add ImportAliasDeclaration

* fix spotless

* create one external declaration

* add import directive property to import alias declaration

* change typealias to type

* add providers for declarations

* fix tests and logic

* clean code

* add tests

* add tests for KoNullableProvider

* add KoTypeDeclarationForKoKotlinTypeProviderTest

* add KoTypeDeclarationForKoTextProviderTest

* add KoTypeDeclarationForKoNameProviderTest

* add some tests for KoKotlinTypeDeclaration

* upd structure and tests

* upd KoTypeDeclarationTest

* upd KoTypeDeclarationForKoContainingDeclarationProviderTest and KoTypeDeclarationForKoContainingFileProviderTest

* upd KoTypeDeclarationForKoLocationProviderTest

* upd KoTypeDeclarationForKoPathProviderTest

* upd KoTypeDeclarationForKoPackageProviderTest

* upd KoTypeDeclarationForKoResideInPackageProviderTest

* upd tests for KoFunctionTypeDeclaration

* add tests fo KoKotlinTypeDeclaration

* add some tests fo KoImportAliasDeclaration

* add tests fo KoImportAliasDeclaration

* add tests fo KoFunctionTypeDeclaration

* add tests fo KoFunctionTypeDeclaration

* clean code

* move directories

* upd code

* add tests for module and source set

* fix methods with KClass, like hasTypeOf

* upd code

* upd KoImportAliasDeclaration

* add alias as concrete type and fix tests

* remove unused snippets

* upd KoGenericTypeProvider in KoTypeDeclaration

* upd konsist tests

* rename `declaration` to `sourceDeclar`

* rename `declaration` to `sourceDeclaration`

* upd KoAliasProvider

* clean code

* added extensions for KoImportAliasProvider

* clean code

* fix konsist test

* add kdocs

* fix detekt

* KON-589 Upload Check results as artifacts (#880)

* Upload Test Reports

* Upload Test Reports

* Update names

* Upd artifact name

* Update name

* Use html artifacts

* KON-591 Run path test projects on MacOs (#881)

* Run on MacOs

* Run on MacOs

* KON-590 Root Path Testers Are Failin On Ubuntu (#882)

* Extract Path Checks to separate file

* Create Ubuntu path testers

* Disable checks

* Restore checks

* Restore checks

* KON-577 Layer doesn't allow string that uses a package wildcard twice (#892)

* add new tests

* upd regex

* comment test

* clean code

* add todo

* clean code

* remove unused test and upd kdoc

* upd kdoc

* KON-601 Update KDoc for `isInitialized` property (#895)

* KON-593 `KoPackageMatchingPathProviderCore.hasMatchingPath` fails on windows (#893)

* replace "\" with file separator

* add aditional tests in konsist-declaration-tester

* upd name

* fix detekt

* upd suppress annotation

* Empty-Commit

* Empty-Commit

* rename sep to separator

* fix path-tester

* KON-602 Improve layer verification (#897)

* add new tests

* upd regex

* comment test

* clean code

* add todo

* clean code

* remove unused test and upd kdoc

* upd kdoc

* upd regex and kdocs

* clean code

* Restore Kotlin Version (#899)

* Update Dev Readme (#898)

* Update kotlin monorepo (#894)

* Update kotlin monorepo

* Upd toolchain to Java 21

* Upd toolchain to Java 21

* Upd toolchain to Java 21

* Restore Kotlin

---------

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: Igor Wojda <igor.wojda@gmail.com>

* Update plugin com.android.application to v8.3.0 (#886)

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>

* Update tj-actions/changed-files action to v42.0.7 (#891)

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>

* Update plugin dokka to v1.9.20 (#885)

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>

* Update dependency org.jetbrains.kotlin-wrappers:kotlin-react-dom to v18.2.0-pre.710 (#889)

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>

* Update dependency io.ktor:ktor-server-netty to v2.3.9 (#884)

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>

* Update plugin com.android.library to v8.3.0 (#890)

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>

* Update dependency org.jetbrains.kotlin-wrappers:kotlin-react to v18.2.0-pre.710 (#888)

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>

* Update dependency org.jetbrains.kotlin-wrappers:kotlin-emotion to v11.11.1-pre.710 (#887)

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>

* Update dependency io.ktor:ktor-server-html-builder-jvm to v2.3.9 (#883)

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>

* KON-604 Update Artifact Verification (#901)

* Rename script and fail when no files

* Simplify script

* Upd name

* KON-603 Update Deprecated Version (#902)

* KON-606 Refactor Starter Projects Scripts (#906)

* Clean up run

* Update checks

* Test

* Update order

* KON-596 Add extensions to retrieve properties of the source type (#900)

* extract new provider for `sourceDeclaration`

* add properties and tests

* clean code

* add some extensions and tests for them

* add hasSourceX methods and tests for them

* add hasSourceDeclaration and hasSourceDeclarationOf

* add hasSourceXOf methods and tests for them

* clean code

* KON-586 Add KDocs for DeclarationReference (#904)

* extract new provider for `sourceDeclaration`

* add properties and tests

* clean code

* add some extensions and tests for them

* add hasSourceX methods and tests for them

* add hasSourceDeclaration and hasSourceDeclarationOf

* add hasSourceXOf methods and tests for them

* clean code

* upd kdoc

* upd kdoc

* Upd docs

---------

Co-authored-by: Igor Wojda <igor.wojda@gmail.com>

* KON-565 Upgrade Spotless (#907)

* Fix spotless issues

* Extract spotless version to libs.version.toml

* Upd snippets

* SpotlessApply

* Clean up

* Create getTomlVersion extension

* Fix detekt

* Fix snippet tests

* Fix snippet tests

* Simplify Snippet Usgae Verification Regex (#908)

* Simplify regex

* Fix spotless

* Rename CI Jobs (#909)

* Update tj-actions/changed-files action to v42.1.0

* Update dependency org.jetbrains.kotlin-wrappers:kotlin-emotion to v11.11.4-pre.711

* Update dependency org.jetbrains.kotlin-wrappers:kotlin-react to v18.2.0-pre.711 (#912)

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>

* Update dependency org.jetbrains.kotlin-wrappers:kotlin-react-dom to v18.2.0-pre.711 (#913)

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>

* KON-609 Add Type Extensions (#914)

* Update Kdoc (#915)

* Main To Develop (#916)

* Upgrade version to 0.13.0

* Update check kttx snippets

* Update check kttx snippets

* Update check kttx snippets

* Update version

* Update scripts

* Update scripts

* Update dev readme

* Release `v0.13.0` (#688)

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: Igor Wojda <igor.wojda@gmail.com>
Co-authored-by: NataliaPeterwas <111683562+nataliapeterwas@users.noreply.github.com>
Co-authored-by: Jony Sarco <jfe.sarco@gmail.com>

* Revert "Release `v0.13.0`" (#689)

* Update Konsist in starter projects to Konsist `v0.13.0` (#697)

* Update Kotest Snippets (#701)

* Replace REGEX to allow using .. as wildcard again (#720)

* Update README.md (#771)

* Fixed broken link to the getting started guide. (#827)

* Fix wrong detection of Git root project dir (#831)

Detection never worked before because Git creates directory
called '.git', while code was checking 'git'.

* Upd linters

* Upd readme

---------

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: NataliaPeterwas <111683562+nataliapeterwas@users.noreply.github.com>
Co-authored-by: Jony Sarco <jfe.sarco@gmail.com>
Co-authored-by: Guillermo Guerrero González <3263397+guiguegon@users.noreply.github.com>
Co-authored-by: Atiq Ur Rehman <6600985@gmail.com>
Co-authored-by: Piotr Kubowicz <piotr.kubowicz@gmail.com>

* Revert "Main To Develop" (#918)

This reverts commit 77ea591e3492e133a44df48a7b7768dfac47b526.

* Revert "Revert "Main To Develop"" (#919)

This reverts commit 20a0bf90f29819482205bc04c84409a31a2c65e4.

* Update dependency io.kotest:kotest-runner-junit5-jvm to v5.8.1 (#922)

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>

* Update dependency io.kotest:kotest-runner-junit5 to v5.8.1 (#921)

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>

* Main=to Develop (#923)

* Upgrade version to 0.13.0

* Update check kttx snippets

* Update check kttx snippets

* Update check kttx snippets

* Update version

* Update scripts

* Update scripts

* Update dev readme

* Release `v0.13.0` (#688)

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: Igor Wojda <igor.wojda@gmail.com>
Co-authored-by: NataliaPeterwas <111683562+nataliapeterwas@users.noreply.github.com>
Co-authored-by: Jony Sarco <jfe.sarco@gmail.com>

* Revert "Release `v0.13.0`" (#689)

* Update Konsist in starter projects to Konsist `v0.13.0` (#697)

* Update Kotest Snippets (#701)

* Replace REGEX to allow using .. as wildcard again (#720)

* Update README.md (#771)

* Fixed broken link to the getting started guide. (#827)

* Fix wrong detection of Git root project dir (#831)

Detection never worked before because Git creates directory
called '.git', while code was checking 'git'.

* Fix spotless

---------

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: NataliaPeterwas <111683562+nataliapeterwas@users.noreply.github.com>
Co-authored-by: Jony Sarco <jfe.sarco@gmail.com>
Co-authored-by: Guillermo Guerrero González <3263397+guiguegon@users.noreply.github.com>
Co-authored-by: Atiq Ur Rehman <6600985@gmail.com>
Co-authored-by: Piotr Kubowicz <piotr.kubowicz@gmail.com>

* Update dependency org.jetbrains.kotlin-wrappers:kotlin-emotion to v11.11.4-pre.712 (#924)

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>

* Update dependency org.jetbrains.kotlin-wrappers:kotlin-react to v18.2.0-pre.712 (#925)

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>

* Add Missing Kotlin Basic Types - `Unit`, `Any` and `Nothing` (#926)

* Use `sourceX` Properties (#927)

* use dedicated properties instead of writing sth like: `?.sourceDeclaration as? KoImportAliasDeclaration`

* upd tests in konsist-declaration-tester

* Update dependency org.jetbrains.kotlin-wrappers:kotlin-react-dom to v18.2.0-pre.712 (#928)

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>

* Update plugin io.kotest.multiplatform to v5.8.1 (#929)

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>

* Rename `sourceX` to `asXDeclaration()` (#930)

* use dedicated properties instead of writing sth like: `?.sourceDeclaration as? KoImportAliasDeclaration`

* upd tests in konsist-declaration-tester

* rename `sourceX` properties to `asXDeclaration`

* clean code

* Update version

* Print conditions

* Add needs

* Add if

* Add concurrency

* Fix ktlint

* Upd snippets

* Exclude documentation snippets

* Fix spotless

---------

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: NataliaPeterwas <111683562+nataliapeterwas@users.noreply.github.com>
Co-authored-by: Jony Sarco <jfe.sarco@gmail.com>
Co-authored-by: Yonatan Karp-Rudin <yonvata@gmail.com>
Co-authored-by: Mirco Franzek <ablx@users.noreply.github.com>
Co-authored-by: Emil Orvik Kollstrøm <emilok@hey.com>
Co-authored-by: Emil Kollstrøm <e.kollstrom@sportradar.com>
Co-authored-by: Guillermo Guerrero González <3263397+guiguegon@users.noreply.github.com>
Co-authored-by: Atiq Ur Rehman <6600985@gmail.com>
Co-authored-by: Piotr Kubowicz <piotr.kubowicz@gmail.com>
Co-authored-by: Jean-Baptiste Mille <jean-baptiste@sogilis.com>

* Revert "Release/v0.14.0" (#932)

This reverts commit b3a6e22bbd9228eee675affeee98ad065302fa96.

* Add Article (#696)

* Fix Artifact Upload (#698)

* KON-531 Add Dynamic Test Samples (#702)

* Upd Konsist Artifact Description (#703)

* Add Article (#705)

* Fix Typo (#704)

* Update Dynamic Tests (#706)

* KON-537 Update `update Snippets Script` To Make Sure PR Is Opened From The Newest Version Of Docs (#695)

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: Igor Wojda <igor.wojda@gmail.com>
Co-authored-by: NataliaPeterwas <111683562+nataliapeterwas@users.noreply.github.com>
Co-authored-by: Jony Sarco <jfe.sarco@gmail.com>

* Add Article "Konsist and Conquer: Embracing the World of Dynamic Testing" (#708)

* Update plugin testLogger to v4 (#710)

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>

* Update tj-actions/changed-files action to v39.2.2

* Add "ArchUnit vs Konsist in Android (Kotlin-oriented) codebase. A comparison of hidden implementation checks" Article3 (#713)

* KON-538 Add `testName` To `assertArchitecture` (#712)

* Update Sample Projects Docs (#716)

* Update plugin dokka to v1.9.10

* Update README.md

* Upd Snippets (#723)

* Update tj-actions/changed-files action to v39.2.3

* Update spring boot to v3.1.5

* KON-553: Allow `null` values in representsType() (#719)

* KON-553 Followup (#732)

* KON-369 Add Parent Declaration References (#709)

Co-authored-by: Igor Wojda <igor.wojda@gmail.com>

* Upd docs (#733)

* KON-563: Run only 1 CI pipeline in parallel for each PR (#725)

* Upd docs (#734)

* Update tj-actions/changed-files action to v39.2.4

* KON-205 Add Konsist Test Which Check That All Core Declarations Override `toString` (#735)

* Add Snippet (#740)

* Update dependency androidx.navigation:navigation-fragment-ktx to v2.7.5 (#741)

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>

* KON-541 Add KoVariableDeclaration (#717)

* Update dependency androidx.navigation:navigation-ui-ktx to v2.7.5

* Update plugin detekt to v1.23.3

* Update kotlin monorepo to v1.9.20

* Update dependency io.kotest:kotest-runner-junit5 to v5.8.0

* Update dependency io.kotest:kotest-runner-junit5-jvm to v5.8.0

* Update plugin io.kotest.multiplatform to v5.8.0

* Improve Gradle build performance (#749)

* KON-564 Extract if statements to variable (#730)

* Update plugin de.mannodermaus.android-junit5 to v1.10.0.0

* KON-569 Update Kmp Projects (#751)

* KON-562: Improve snippet CI verification (#724)

* KON-571 Fix `isKotlinType` Property Where Generic Types Where Treated as kotlin Collections (#754)

* KON-570 Add `KoSourceAndAliasTypeProviderCore.baseSourceType` (#753)

* KON-572 Fix for `sourcetype` stripping `?` (#756)

* KON-574 Add `isKotlinBasicType` And `isKotlinCollectionType` (#757)

* KON-570 Rename `baseSourceType` To `bareSourcetype` (#758)

* KON-570 Remove Package From `bareType` (#759)

* Add Project Icon (#761)

* Update Gitignore (#762)

* Update junit5 monorepo to v5.10.1

* Update `check_kttxt_snippets` (#764)

* KON-365 Add `indirectParents=false` Parameter (#726)

Co-authored-by: Igor Wojda <igor.wojda@gmail.com>

* Update tj-actions/changed-files action to v40 (#745)

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>

* Update plugin com.android.application to v8.1.3

* Update plugin com.android.library to v8.1.3

* Update tj-actions/changed-files action to v40.1.1

* KON-366 Change Return Type Of `containingDeclaration` (#715)

* change type of `containingDeclaration`

* remove nullability from `containingDeclaration` type

* sfix spotless and detekt

* upd tests

* use safe cast operator instead of unsafe cast operator

* fix spotless and detekt

* fix after merge

* Update plugin io.spring.dependency-management to v1.1.4

* Add Spring Snippet (#766)

* Update plugin com.android.application to v8.1.4

* Update plugin com.android.library to v8.1.4

* Fix git dir resolver uses the wrong paths (#780)

Co-authored-by: Emil Kollstrøm <e.kollstrom@sportradar.com>

* Update kotlin monorepo to v1.9.21

* Update spring boot to v3.2.0

* Update dependency org.codehaus.mojo:build-helper-maven-plugin to v3.5.0

* Update plugin detekt to v1.23.4

* Update tj-actions/changed-files action to v40.2.0

* Update dependency gradle to v8.5

* Update plugin com.android.application to v8.2.0

* Update plugin com.android.library to v8.2.0

* Update tj-actions/changed-files action to v40.2.1

* Update tj-actions/changed-files action to v40.2.2

* Update dependency androidx.navigation:navigation-fragment-ktx to v2.7.6

* Update dependency androidx.navigation:navigation-ui-ktx to v2.7.6

* Update dependency com.google.android.material:material to v1.11.0

* Update tj-actions/changed-files action to v40.2.3

* Update spring boot to v3.2.1

* Update kotlin monorepo to v1.9.22

* Update plugin com.android.application to v8.2.1

* Update plugin com.android.library to v8.2.1

* Update dependency io.mockk:mockk to v1.13.9

* Update spring boot to v3.2.2

* Update plugin com.android.application to v8.2.2

* Update plugin com.android.library to v8.2.2

* Update plugin detekt to v1.23.5

* Update dependency gradle to v8.6

* Update junit5 monorepo to v5.10.2

* Merge `main` to `develop` (#834)

* Upgrade version to 0.13.0

* Update check kttx snippets

* Update check kttx snippets

* Update check kttx snippets

* Update version

* Update scripts

* Update scripts

* Update dev readme

* Release `v0.13.0` (#688)

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: Igor Wojda <igor.wojda@gmail.com>
Co-authored-by: NataliaPeterwas <111683562+nataliapeterwas@users.noreply.github.com>
Co-authored-by: Jony Sarco <jfe.sarco@gmail.com>

* Revert "Release `v0.13.0`" (#689)

* Update Konsist in starter projects to Konsist `v0.13.0` (#697)

* Update Kotest Snippets (#701)

* Replace REGEX to allow using .. as wildcard again (#720)

* Update README.md (#771)

* Fixed broken link to the getting started guide. (#827)

* Fix wrong detection of Git root project dir (#831)

Detection never worked before because Git creates directory
called '.git', while code was checking 'git'.

* Fix test

* Disable KMP starter projects

---------

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: NataliaPeterwas <111683562+nataliapeterwas@users.noreply.github.com>
Co-authored-by: Jony Sarco <jfe.sarco@gmail.com>
Co-authored-by: Guillermo Guerrero González <3263397+guiguegon@users.noreply.github.com>
Co-authored-by: Atiq Ur Rehman <6600985@gmail.com>
Co-authored-by: Piotr Kubowicz <piotr.kubowicz@gmail.com>

* Update dependency io.ktor:ktor-server-html-builder-jvm to v2.3.8

* Rename `koTest` to `Kotest` (#837)

* Update actions/upload-artifact action to v4 (#808)

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>

* Update actions/setup-python action to v5 (#801)

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>

* Update actions/setup-java action to v4 (#797)

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>

* Update tj-actions/changed-files action to v42 (#819)

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>

* Remove "konsist-starter-" prefix from dir names (#838)

* Rename starter projects dirs

* Upd build scripts

* Fix detekt exclusion

* KON-367 Add Child Declaration References (#736)

* Add contex receivers for parent

* add integration tests

* remove parents from KoInterfaceDeclaration

* remove files

* fix spotless

* add KDocs and tests for KoParentInterfaceProvider

* add methods for KoParentClassProvider

* add tests for KoParentClassProvider

* add extensions for KoParentClassProvider and KoParentInterfaceProvider with tests

* add extensions for KoParentInterfaceProvider lists with tests

* add extensions for KoParentClassProvider lists with tests

* add simply KoUnknownParentProvider

* add KoParentProvider to KoInterfaceDeclaration

* add some additional tests fo KoParentProvider

* add additional tests for KoLocationProvider to KoParentProvider

* fix spotless and detekt

* change unknow to external

* change unknown to external in IntegrationTest

* add additional tests for KoNameProvider to KoParentDeclaration (without external)

* add additional tests KoNameProvider  for external parent to KoParentDeclaration

* fix spotless and detekt

* fix tests

* add KoExternalParentDeclaration

* add initializing classes and interfaces once

* optimalize `parents`

* remove duplication

* fix spotless and detekt

* add extensions for external parents

* add tests for KoClassDeclaration, KoInterfaceDeclaration and KoObjectDeclaration for all kind of parents

* add tests for KoExternalParentDeclaration and remove unnecessary tests for KoParentDeclaration

* fix spotless

* remove old tests from `konsist-path-tester`

* upd `ApiKonsistTest`

* restore `withParentClassOf` to AndroidSnippets

* fix test in CleanArchitectureSnippets

* remove duplication

* add package declaration to KoParentDeclaration

* add extension and tests for external parents

* fix spotless

* fix spotless

* Add sample-external-library.jar

* Add sample-external-library project

* Check sample-external-library projects

* Upd GHA scripts

* Upd docs

* upd packages

* add external classes and interfaces

* upd snippets with real external parents

* remove `external parent check`

* fix tests and remove external project

* fix tests

* fix spotless and detekt

* upd `check.yml`

* remove empty line

* remove helper project

* fix tests

* add zip project

* change kttxt script

* upd searching parents (we check also num parameters)

* add new tests

* upd class and interface

* add info about external parents

* upd tests

* move `helper-project` to `projects`

* add tests

* fix tests

* add external parent cache and `indirectParents` parameter to KoExternalParentProvider

* add tests for external parents with indirect parents

* add tests for parent interfaces with indirect parents

* fix spotless and detekt

* upd snippets and konsistTests

* upd tests for KoParentProvider

* add KoChildDeclaration, KoChildProvider and extensions for this

* upd hasChildOf and hasAllChildrenOf

* upd code in KoChildProviderCore

* add indirect children

* add example test in konsist-path-tester

* fix tests after merge

* fix spotless and detekt

* clean code

* add tests

* fix tests

* change logic of scopeFromFile and scopeFromDirectory

* fix spotless

* add missing tests

* add tests

* fix tests

* fix spotless and detekt

---------

Co-authored-by: Igor Wojda <igor.wojda@gmail.com>

* KON-578 Fix fully qualified name (#830)

It returned another name if an import wich contains the expected fully qualified
name is declared early in the same file.

* Add Tests (#842)

* Revert "Remove "konsist-starter-" prefix from dir names" (#844)

This reverts commit 2fd0592706604d8e6b0154f671c9e0220b516bc8.

* Update dependency org.jetbrains.kotlin-wrappers:kotlin-react-dom to v18.2.0-pre.693 (#840)

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>

* Update dependency io.ktor:ktor-server-netty to v2.3.8

* Update dependency io.kotest:kotest-runner-junit5 to v5.8.0 (#846)

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>

* Update dependency org.jetbrains.kotlin-wrappers:kotlin-react to v18.2.0-pre.693

* Update plugin org.jetbrains.kotlin.multiplatform to v1.9.22 (#845)

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>

* Update dependency org.jetbrains.kotlinx:kotlinx-html-jvm to v0.11.0 (#849)

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>

* Update dependency org.jetbrains.kotlin-wrappers:kotlin-emotion to v11.11.1-pre.693 (#848)

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>

* Update dependency org.jetbrains.kotlin-wrappers:kotlin-emotion to v11.11.1-pre.694

* Update dependency org.jetbrains.kotlin-wrappers:kotlin-react to v18.2.0-pre.694

* Update dependency org.jetbrains.kotlin-wrappers:kotlin-react-dom to v18.2.0-pre.694

* Remove Scope Violation Suppress (#855)

* Upgrade CI Java Version (#854)

* Upgrade CI Java version to 21

* Upgrade Java version to 21

* Upgrade Java version to 21

* Upgrade Java version to 21

* Add test snippet

* zulu -> corretto

* Update plugin io.kotest.multiplatform to v5.8.0 (#850)

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>

* Update Kotlin Compiler Version (#857)

* KON-432 Add Konsist Tests Which Check That All Declarations And Providers Implement Correct Parents (#772)

* Add contex receivers for parent

* add integration tests

* remove parents from KoInterfaceDeclaration

* remove files

* fix spotless

* add KDocs and tests for KoParentInterfaceProvider

* add methods for KoParentClassProvider

* add tests for KoParentClassProvider

* add extensions for KoParentClassProvider and KoParentInterfaceProvider with tests

* add extensions for KoParentInterfaceProvider lists with tests

* add extensions for KoParentClassProvider lists with tests

* add simply KoUnknownParentProvider

* add KoParentProvider to KoInterfaceDeclaration

* add some additional tests fo KoParentProvider

* add additional tests for KoLocationProvider to KoParentProvider

* fix spotless and detekt

* change unknow to external

* change unknown to external in IntegrationTest

* add additional tests for KoNameProvider to KoParentDeclaration (without external)

* add additional tests KoNameProvider  for external parent to KoParentDeclaration

* fix spotless and detekt

* fix tests

* add KoExternalParentDeclaration

* add initializing classes and interfaces once

* optimalize `parents`

* remove duplication

* fix spotless and detekt

* add extensions for external parents

* add tests for KoClassDeclaration, KoInterfaceDeclaration and KoObjectDeclaration for all kind of parents

* add tests for KoExternalParentDeclaration and remove unnecessary tests for KoParentDeclaration

* fix spotless

* remove old tests from `konsist-path-tester`

* upd `ApiKonsistTest`

* restore `withParentClassOf` to AndroidSnippets

* fix test in CleanArchitectureSnippets

* remove duplication

* add package declaration to KoParentDeclaration

* add extension and tests for external parents

* fix spotless

* fix spotless

* Add sample-external-library.jar

* Add sample-external-library project

* Check sample-external-library projects

* Upd GHA scripts

* Upd docs

* upd packages

* add external classes and interfaces

* upd snippets with real external parents

* remove `external parent check`

* fix tests and remove external project

* fix tests

* fix spotless and detekt

* upd `check.yml`

* remove empty line

* remove helper project

* fix tests

* add zip project

* change kttxt script

* upd searching parents (we check also num parameters)

* add new tests

* upd class and interface

* add info about external parents

* upd tests

* move `helper-project` to `projects`

* add tests

* fix tests

* add external parent cache and `indirectParents` parameter to KoExternalParentProvider

* add tests for external parents with indirect parents

* add tests for parent interfaces with indirect parents

* fix spotless and detekt

* upd snippets and konsistTests

* upd tests for KoParentProvider

* fix after merge

* add all methods to KoParentClassProvider and tests for them

* upd extensions for KoParentClassProvider and tests for them

* fix api konsist tests

* upd kdocs

* fix tests

* fix spotless and detekt

* fix spotless

* fix parents

* add tests

* fix spotless and detekt

---------

Co-authored-by: Igor Wojda <igor.wojda@gmail.com>

* KON-560 Methods With KClass Parameter Fails When Name Of The Class Defined In The File Is The Same As Imported Class (#775)

* add varaibles

* rename localVariables to variables

* add extensions and tests for them

* add test for KoVariableDeclaration (on functions)

* add tests for declarations which implements KoVariableProvider

* KoVariableModifier - remove KoModifierProvider and fix fqn

* add tests in konsist-path-tester and fix detekt

* remove `includeLocal` from properties

* renames providers

* add some parametrized tests

* fix spotless and detekt

* add next tests

* add rest (in Konsist) tests for KoVariableDeclaration

* add tests for KoVariableDeclaration in `konsist-path-tester`

* fix spotless and detekt

* rename old anames to new one

* fix snippets

* fix spotless

* fix after rebase

* remove simple name from `of` methods

* fix tests

* fix spotless and detekt

* comment test

* upd hasTypeOf on the build-in kotlin types

* fix spotless

* fix after merge

* fix spotless

* KON-368 Add Tests Declaration References (#784)

* add varaibles

* rename localVariables to variables

* add extensions and tests for them

* add test for KoVariableDeclaration (on functions)

* add tests for declarations which implements KoVariableProvider

* KoVariableModifier - remove KoModifierProvider and fix fqn

* add tests in konsist-path-tester and fix detekt

* remove `includeLocal` from properties

* renames providers

* add some parametrized tests

* fix spotless and detekt

* add next tests

* add rest (in Konsist) tests for KoVariableDeclaration

* add tests for KoVariableDeclaration in `konsist-path-tester`

* fix spotless and detekt

* rename old anames to new one

* fix snippets

* fix spotless

* fix after rebase

* add KoTacitTypeProvider and tests

* add provider ext

* add missing tests

* add kdocs

* fix spotless and detekt

* add KoTestClassProvider

* add tests

* add KoTestClassProvider

* fix spotless and detekt

* add extensions and tests for them

* fix spotless

* remove overload extensions

* fix tests

* remove Tacit type from api and extract this as extensions in core

* upd logic

* upd tests

* upd code

* upd tests

* upd tests

* fix spotless and detekt

* upd kotlin version in konsist-path-tester and konsist-root-path-tester

* fix tests

* KON-264 add lists scope from directory (#778)

* add scope from directory, scopre from directories

* add tests for scopes from directories

* rollback imports

---------

Co-authored-by: Igor Wojda <igor.wojda@gmail.com>

* KON-579 Create `konsist-declaration-tester` (#858)

* add varaibles

* rename localVariables to variables

* add extensions and tests for them

* add test for KoVariableDeclaration (on functions)

* add tests for declarations which implements KoVariableProvider

* KoVariableModifier - remove KoModifierProvider and fix fqn

* add tests in konsist-path-tester and fix detekt

* remove `includeLocal` from properties

* renames providers

* add some parametrized tests

* fix spotless and detekt

* add next tests

* add rest (in Konsist) tests for KoVariableDeclaration

* add tests for KoVariableDeclaration in `konsist-path-tester`

* fix spotless and detekt

* rename old anames to new one

* fix snippets

* fix spotless

* fix after rebase

* add KoTacitTypeProvider and tests

* add provider ext

* add missing tests

* add kdocs

* fix spotless and detekt

* add KoTestClassProvider

* add tests

* add KoTestClassProvider

* fix spotless and detekt

* add extensions and tests for them

* fix spotless

* remove overload extensions

* fix tests

* remove Tacit type from api and extract this as extensions in core

* upd logic

* upd tests

* upd code

* upd tests

* upd tests

* fix spotless and detekt

* upd kotlin version in konsist-path-tester and konsist-root-path-tester

* fix tests

* add `konsist-declaration-tester` and move to this new project all tests which has no connection with path

* change comments

* add new github checks

* fix after merge

* KON-583 Add possibility to create scope passing sets of items (#861)

* fix spotless and detekt

* dix scopeFromFiles method

* remove test from architecture

* upd tests for `scopeFromFiles`

* add tests for `scopeFromDirectories`

* add tests for `scopeFromModules`

* add tests for `scopeFromSourceSets`

* upd kdocs

* KON-525 Add isReadOnly property to the KoPropertyDeclaration (#867)

* Add Slack Badge (#877)

* KON-543 Add `hasTacitType` (#773)

* add varaibles

* rename localVariables to variables

* add extensions and tests for them

* add test for KoVariableDeclaration (on functions)

* add tests for declarations which implements KoVariableProvider

* KoVariableModifier - remove KoModifierProvider and fix fqn

* add tests in konsist-path-tester and fix detekt

* remove `includeLocal` from properties

* renames providers

* add some parametrized tests

* fix spotless and detekt

* add next tests

* add rest (in Konsist) tests for KoVariableDeclaration

* add tests for KoVariableDeclaration in `konsist-path-tester`

* fix spotless and detekt

* rename old anames to new one

* fix snippets

* fix spotless

* fix after rebase

* add KoTacitTypeProvider and tests

* add provider ext

* add missing tests

* add kdocs

* fix spotless and detekt

* Clean up

---------

Co-authored-by: Igor Wojda <igor.wojda@gmail.com>

* KON-371 Initialize All `KoFiles` At Start (#878)

* Parse Declarations

* Parse Declarations

* Use declarations from KoFileDeclarationProvider

* Add Kdoc

* Restore name

* Clean up

* Clean up

* KON-547 Add Type Declarations (#868)

* add type declarations

* add first version

* upd version

* add KoFunctionTypeDeclaration

* upd code

* fix tests

* upd code

* upd code

* moving directories in tests

* add tests to KoFunctionTypeDeclaration

* add ImportAliasDeclaration

* add ImportAliasDeclaration

* fix spotless

* create one external declaration

* add import directive property to import alias declaration

* change typealias to type

* add providers for declarations

* fix tests and logic

* clean code

* add tests

* add tests for KoNullableProvider

* add KoTypeDeclarationForKoKotlinTypeProviderTest

* add KoTypeDeclarationForKoTextProviderTest

* add KoTypeDeclarationForKoNameProviderTest

* add some tests for KoKotlinTypeDeclaration

* upd structure and tests

* upd KoTypeDeclarationTest

* upd KoTypeDeclarationForKoContainingDeclarationProviderTest and KoTypeDeclarationForKoContainingFileProviderTest

* upd KoTypeDeclarationForKoLocationProviderTest

* upd KoTypeDeclarationForKoPathProviderTest

* upd KoTypeDeclarationForKoPackageProviderTest

* upd KoTypeDeclarationForKoResideInPackageProviderTest

* upd tests for KoFunctionTypeDeclaration

* add tests fo KoKotlinTypeDeclaration

* add some tests fo KoImportAliasDeclaration

* add tests fo KoImportAliasDeclaration

* add tests fo KoFunctionTypeDeclaration

* add tests fo KoFunctionTypeDeclaration

* clean code

* move directories

* upd code

* add tests for module and source set

* fix methods with KClass, like hasTypeOf

* upd code

* upd KoImportAliasDeclaration

* add alias as concrete type and fix tests

* remove unused snippets

* upd KoGenericTypeProvider in KoTypeDeclaration

* upd konsist tests

* rename `declaration` to `sourceDeclar`

* rename `declaration` to `sourceDeclaration`

* upd KoAliasProvider

* clean code

* added extensions for KoImportAliasProvider

* clean code

* fix konsist test

* add kdocs

* fix detekt

* KON-589 Upload Check results as artifacts (#880)

* Upload Test Reports

* Upload Test Reports

* Update names

* Upd artifact name

* Update name

* Use html artifacts

* KON-591 Run path test projects on MacOs (#881)

* Run on MacOs

* Run on MacOs

* KON-590 Root Path Testers Are Failin On Ubuntu (#882)

* Extract Path Checks to separate file

* Create Ubuntu path testers

* Disable checks

* Restore checks

* Restore checks

* KON-577 Layer doesn't allow string that uses a package wildcard twice (#892)

* add new tests

* upd regex

* comment test

* clean code

* add todo

* clean code

* remove unused test and upd kdoc

* upd kdoc

* KON-601 Update KDoc for `isInitialized` property (#895)

* KON-593 `KoPackageMatchingPathProviderCore.hasMatchingPath` fails on windows (#893)

* replace "\" with file separator

* add aditional tests in konsist-declaration-tester

* upd name

* fix detekt

* upd suppress annotation

* Empty-Commit

* Empty-Commit

* ren…
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug-fix Malfunction or unexpected behavior
Projects
None yet
2 participants