-
Notifications
You must be signed in to change notification settings - Fork 34
Commit ff8bee6
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
* 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…1 parent a8bf6b8 commit ff8bee6Copy full SHA for ff8bee6
File tree
4 files changed
+12
-10
lines changed- .github/workflows
- lib/src/main/kotlin/com/lemonappdev/konsist/core/filesystem/rootprovider
4 files changed
+12
-10
lines changed.github/workflows/check-kttxt-snippets.yml
Copy file name to clipboardexpand all lines: .github/workflows/check-kttxt-snippets.yml+2-1
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
42 | 42 |
| |
43 | 43 |
| |
44 | 44 |
| |
| 45 | + | |
45 | 46 |
| |
46 | 47 |
| |
47 | 48 |
| |
48 |
| - | |
49 | 49 |
| |
| 50 | + | |
50 | 51 |
| |
51 | 52 |
| |
52 | 53 |
| |
|
+3-3
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
12 | 12 |
| |
13 | 13 |
| |
14 | 14 |
| |
15 |
| - | |
| 15 | + | |
16 | 16 |
| |
17 | 17 |
| |
18 |
| - | |
| 18 | + | |
19 | 19 |
| |
20 | 20 |
| |
21 | 21 |
| |
22 | 22 |
| |
23 | 23 |
| |
24 |
| - | |
| 24 | + | |
25 | 25 |
| |
26 | 26 |
| |
27 | 27 |
| |
|
+1-1
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
2 | 2 |
| |
3 | 3 |
| |
4 | 4 |
| |
5 |
| - | |
| 5 | + |
lib/src/main/kotlin/com/lemonappdev/konsist/core/filesystem/rootprovider/GitProjectRootDirResolver.kt
Copy file name to clipboardexpand all lines: lib/src/main/kotlin/com/lemonappdev/konsist/core/filesystem/rootprovider/GitProjectRootDirResolver.kt+6-5
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
12 | 12 |
| |
13 | 13 |
| |
14 | 14 |
| |
15 |
| - | |
16 |
| - | |
17 |
| - | |
18 |
| - | |
19 |
| - | |
| 15 | + | |
| 16 | + | |
| 17 | + | |
| 18 | + | |
| 19 | + | |
| 20 | + | |
20 | 21 |
|
0 commit comments