Commit Graph

49 Commits

Author SHA1 Message Date
Sebastian Poxhofer 05e1271376 test: use expect().resolves instead of awaiting inside expect (#45672)
Enables the vitest/prefer-expect-resolves oxlint rule and applies its
autofix across the spec suite.
2026-09-04 10:40:46 +00:00
Johannes Feichtner 4dbfc7a53c feat(manager/gradle): add support for implicit version catalog accessor syntax (#42746)
* feat(manager/gradle): add support for implicit version catalog accessor syntax

* fix coverage in else branches
2026-04-20 12:58:25 +00:00
Sergei Zharinov 9d857c1f68 refactor(lint): Organize imports with biome (#40966) 2026-02-06 13:40:01 +00:00
Sergei Zharinov 930cf6633c refactor: Rewrite imports with .ts extensions (#40700)
fix: Additional vi.mock path corrections and prettier formatting
2026-01-26 22:48:17 +00:00
Johannes Feichtner 47adb58433 test(manager/gradle): remove test duplicates, minor corrections (#40317) 2026-01-11 09:48:36 +00:00
renovate[bot] b4ed9e65d9 chore(deps): update dependency @vitest/eslint-plugin to v1.3.23 (main) (#38702)
* chore(deps): update dependency @vitest/eslint-plugin to v1.3.23

| datasource | package               | from   | to     |
| ---------- | --------------------- | ------ | ------ |
| npm        | @vitest/eslint-plugin | 1.3.16 | 1.3.23 |

* remove now unnecessary exceptions

---------

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: secustor <sebastian@poxhofer.at>
2025-10-31 07:50:48 +00:00
renovate[bot] 1280fe4dc7 chore(deps): update dependency @vitest/eslint-plugin to v1.3.16 (main) (#38502)
* chore(deps): update dependency @vitest/eslint-plugin to v1.3.16

| datasource | package               | from   | to     |
| ---------- | --------------------- | ------ | ------ |
| npm        | @vitest/eslint-plugin | 1.3.13 | 1.3.16 |

* fix linting errors

---------

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: secustor <sebastian@poxhofer.at>
2025-10-13 09:24:15 +00:00
Sebastian Poxhofer 14a76f4a05 feat(manager/gradle): add "const val" version resolution (#37837) 2025-09-04 14:14:14 +00:00
Johannes Feichtner 5d4ae538d8 fix(gradle): include registryType and content during registry deduplication (#36071) 2025-05-22 03:24:42 +00:00
Johannes Feichtner 4137244b4e feat(gradle): add support for exclusiveContent() repository definitions (#35421) 2025-04-17 13:44:30 +00:00
Michael Kriese 19c115c813 test: cleanup (#34785) 2025-03-13 17:52:09 +00:00
Trim21 6e5731b554 test: migrate from jest to vitest (#34499) 2025-02-26 14:18:38 +00:00
Michael Kriese 997c23502e test: migrate to vitest (#34475)
Co-authored-by: HonkingGoose <34918129+HonkingGoose@users.noreply.github.com>
2025-02-26 09:35:54 +00:00
Johannes Feichtner aae045edf5 feat(gradle): add support for gradle repository content descriptors (#33692)
Co-authored-by: Michael Kriese <michael.kriese@visualon.de>
2025-02-04 17:16:51 +00:00
Rhys Arkins 0c2eaaf8bb feat: sharedVariableName (#33111)
Co-authored-by: Michael Kriese <michael.kriese@visualon.de>
2025-01-16 15:05:07 +00:00
Johannes Feichtner c93ae91b41 test(gradle): refactor and add new tests (#33522) 2025-01-11 17:04:46 +00:00
Sergei Zharinov b69416ce17 refactor(prettier): Force trailing commas (#25631) 2023-11-07 15:50:29 +00:00
Johannes Feichtner 34f0ce39ba fix(manager/gradle): set groupName for version catalog deps only if version.ref is used (#21344)
Co-authored-by: Rhys Arkins <rhys@arkins.net>
2023-09-17 07:30:29 +00:00
Michael Kriese 84a97a62fa test(perf): improve test speed (#24323) 2023-09-08 11:40:04 +00:00
Rhys Arkins 36e2b328bb chore: update types reference 2023-08-15 11:31:15 +02:00
Johannes Feichtner da6f2ed7d5 fix(manager/gradle): normalize version aliases in version catalogs (#22470) 2023-05-29 04:02:24 +00:00
Michael Kriese 497d4c131f fix(manager): unify logging (#22398)
Co-authored-by: Sebastian Poxhofer <secustor@users.noreply.github.com>
2023-05-25 16:53:05 +00:00
Ryo Matsukawa 0417c111ac refactor: Merged multiple skipReasons into unspecified-version. (#22409) 2023-05-25 05:48:11 +00:00
Johannes Feichtner eec46d1880 feat(gradle/manager): add support for Kotlin objects in buildSrc files (#21892) 2023-05-10 19:36:05 +00:00
Jan Høydahl 65176e7260 fix(manager/gradle): Convert multiple globs into regex for consistent-versions plugin (#21909) 2023-05-02 07:32:56 +00:00
Jamie Magee b23700d749 test: jest isolation (#21406) 2023-04-10 04:32:04 +00:00
RahulGautamSingh 352c9db904 test: add new wrapper for partial (#20618) 2023-02-25 06:46:32 +00:00
RahulGautamSingh 7ff4b53439 test: replace as with partial (#20252)
Co-authored-by: Michael Kriese <michael.kriese@visualon.de>
2023-02-07 11:38:59 +00:00
Michael Kriese e78048dfc1 fix: no cycles (#19982) 2023-01-23 21:20:54 +00:00
Johannes Feichtner 0fc1731eed feat(manager/gradle): support separate registry URLs for plugins (#19606) 2022-12-29 18:41:43 +00:00
Johannes Feichtner d9349b21b9 refactor(manager/gradle): group extraction tests + code hygiene (#19586) 2022-12-27 14:45:30 +01:00
Jan Høydahl 0d9aaed601 feat(gradle): Support for gradle consistent versions plugin (#19182)
Co-authored-by: Johannes Feichtner <Churro@users.noreply.github.com>
Closes https://github.com/renovatebot/renovate/issues/8017
2022-12-08 12:21:14 +00:00
Johannes Feichtner b14336b3af feat(manager/gradle): reimplement parser using tree-based approach (#18663) 2022-11-15 19:23:06 +00:00
Johannes Feichtner b544d5ca80 test(manager/gradle): refactoring to map tests to Gradle functionality (#18481) 2022-10-23 13:24:20 +02:00
renovate[bot] 7935a7b8ed chore(deps): lock file maintenance (#18082)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: Rhys Arkins <rhys@arkins.net>
2022-10-10 21:47:23 -07:00
renovate[bot] 582f77371c chore(deps): update jest monorepo (#17737)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: Michael Kriese <michael.kriese@visualon.de>
2022-09-12 16:58:52 +02:00
Gabriel-Ladzaretti 871b069d83 fix(logs): remove variable from a template literal for a warn message for gradle (#16789)
logs: tidy up warn message for grade file not found
2022-07-26 15:03:05 +00:00
Johannes Feichtner 1b36708c64 feat(gradle): always add depType to extracted dependencies (#16725) 2022-07-24 06:14:29 +00:00
Johannes Feichtner a6b747444a feat(gradle): add support for further apply-from patterns (#16507) 2022-07-20 05:45:31 +00:00
Johannes Feichtner 19254ca0a4 fix(gradle): remove default maven central registry (#16430) 2022-07-06 20:33:56 +00:00
Johannes Feichtner db6de24756 fix(gradle): resolve escaped registry URLs in gradle.properties (#16403) 2022-07-03 15:53:43 -07:00
Johannes Feichtner d19d645b6c feat(manager/gradle): add support for apply from statements (#16030)
* add synchronous local file read

* add tests

* add support for apply from statements

* add safeguard to prevent breakout from localDir

* add safeguard to allow "apply from" only with official Gradle file types

* fix: use async io

* fix test coverage

* Update lib/modules/manager/gradle/extract.spec.ts

Co-authored-by: Sergei Zharinov <zharinov@users.noreply.github.com>

* Update lib/modules/manager/gradle/extract.spec.ts

Co-authored-by: Sergei Zharinov <zharinov@users.noreply.github.com>

* Update lib/modules/manager/gradle/extract.spec.ts

Co-authored-by: Sergei Zharinov <zharinov@users.noreply.github.com>

* re-add try/catch

* add istanbul ignore

* Update lib/modules/manager/gradle/parser.ts

Co-authored-by: HonkingGoose <34918129+HonkingGoose@users.noreply.github.com>

* fs tests: remove obsolete block

* remove istanbul ignore next

* Update lib/modules/manager/gradle/extract.ts

Co-authored-by: Michael Kriese <michael.kriese@visualon.de>

* tests: replace mockImplementationOnce() with mockRejectedValueOnce()

* scriptFile: explicitly set null for undefined values

Co-authored-by: Michael Kriese <michael.kriese@visualon.de>
Co-authored-by: Rhys Arkins <rhys@arkins.net>
Co-authored-by: Sergei Zharinov <zharinov@users.noreply.github.com>
Co-authored-by: HonkingGoose <34918129+HonkingGoose@users.noreply.github.com>
2022-07-03 15:58:58 +02:00
Johannes Feichtner b9a400aa9f feat(gradle): add interpolation for local name variable in registry URL (#16136) 2022-06-22 11:10:34 +00:00
Michael Kriese b4319928f1 refactor: strict manager tests (#16155)
* refactor: strict manager tests

* chore: revert changes

* Update lib/modules/manager/gradle/extract.spec.ts
2022-06-20 17:05:39 +02:00
Johannes Feichtner d40a8a9745 feat(manager/gradle): add support for registry URL interpolation and additional properties delimiters (#15903) 2022-06-07 07:47:50 +00:00
StinkyLord dad6a1f607 fix(gradle): gradle/libs.versions.toml should replace version not comment (#15330) 2022-05-11 05:44:44 +02:00
Hasan Awad e520129272 fix(manager/gradle): Add groupName for toml parser and plugins (#15190) 2022-05-05 07:41:06 +02:00
zml bb6bc35e4d fix(manager/gradle): Initial handling of rich versions in gradle version catalogs (#14533) 2022-03-08 04:54:45 +00:00
Rhys Arkins 8bd77f747b feat(gradle): remove deepExtract (#14497)
Removes Gradle `deepExtract` option

BREAKING CHANGE: Option `deepExtract` is now removed and will be ignored
2022-03-04 09:04:02 +01:00