scanner: catalog: get catalog from parent dirs

When walking through the repo, there may be another settings.gradle in a
sub project with a different catalog. In the subdir the catalog of the
sub project shuold be used and in other subdir the catalog of the root
project should be used.
This commit is contained in:
linsui 2024-09-28 01:31:36 +08:00
parent 399ac608c7
commit 4c3dd9c76c
8 changed files with 71 additions and 3 deletions

View file

@ -742,7 +742,12 @@ include tests/signindex/testy.jar
include tests/signindex/unsigned.jar
include tests/source-files/at.bitfire.davdroid/build.gradle
include tests/source-files/catalog.test/app/build.gradle
include tests/source-files/catalog.test/buildSrc/build.gradle.kts
include tests/source-files/catalog.test/buildSrc/settings.gradle.kts
include tests/source-files/catalog.test/buildSrc2/build.gradle.kts
include tests/source-files/catalog.test/buildSrc2/settings.gradle.kts
include tests/source-files/catalog.test/build.gradle.kts
include tests/source-files/catalog.test/core/build.gradle
include tests/source-files/catalog.test/libs.versions.toml
include tests/source-files/catalog.test/gradle/libs.versions.toml
include tests/source-files/catalog.test/settings.gradle.kts