Commit Graph

51 Commits

Author SHA1 Message Date
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
Sergei Zharinov ae49b7af38 chore(deps): switch to @renovatebot/good-enough-parser (#40623)
* chore(deps): switch to @jrnv/good-enough-parser

* chore(deps): switch to @renovatebot/good-enough-parser

* chore(deps): update @renovatebot/good-enough-parser to 1.2.0
2026-01-26 12:44:11 +00:00
Sebastian Poxhofer 14a76f4a05 feat(manager/gradle): add "const val" version resolution (#37837) 2025-09-04 14:14:14 +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
Johannes Feichtner 6ff935ef0b fix(gradle): remove redundant checks and parser statements (#33526) 2025-01-11 13:16:00 +00:00
Johannes Feichtner 0ff6e98493 feat(gradle): add support for java.toolchain.languageVersion detection in build.gradle(.kts) files (#32461) 2024-11-21 11:16:25 +00:00
Sergei Zharinov 84f5d2a053 fix(gradle): Increase tree parsing depth (#32516) 2024-11-13 14:50:18 +00:00
Sergei Zharinov b69416ce17 refactor(prettier): Force trailing commas (#25631) 2023-11-07 15:50:29 +00:00
Johannes Feichtner a57cdfdb85 feat(manager/gradle): add support for Kotlin import directives (#25486) 2023-10-28 21:53:31 +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
Johannes Feichtner 1fc7a05b08 refactor(manager/gradle): split extractAllPackageFiles into multiple sub-methods (#21429) 2023-04-12 06:12:55 +00:00
Johannes Feichtner f1e3803d96 refactor(manager/gradle): manage nesting depth separate from tokens (#20763) 2023-03-06 05:37:48 +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
Johannes Feichtner 6beeba6f02 refactor(manager/gradle): group parser directives in separate files (#19465) 2022-12-18 08:25:44 +01:00
Johannes Feichtner 786899eadf feat(manager/gradle): add support for implicit gradle plugins (#19111) 2022-12-09 12:11:09 +00:00
Johannes Feichtner cd9554969b feat(manager/gradle): support short dependency notation for named Kotlin modules (#19180)
Co-authored-by: Michael Kriese <michael.kriese@visualon.de>
2022-12-07 19:57:23 +00:00
Johannes Feichtner 094a3f447a feat(manager/gradle): support for Kotlin extra properties, dependencySet collections and versionCatalog aliases (#19200) 2022-12-01 11:04:08 +00:00
Johannes Feichtner 84c51dc3e3 feat(manager/gradle): add support for Groovy and Kotlin maps (#19127) 2022-11-29 07:08:41 +00:00
Johannes Feichtner dc0c02716d feat(manager/gradle): add support for alternative Gradle plugin syntax (#19113) 2022-11-26 07:27:39 +00:00
Johannes Feichtner 90ada813dc feat(manager/gradle): add support for property accessors (#18990) 2022-11-24 17:25:02 +01:00
Johannes Feichtner eef8e0a1de fix(manager/gradle): ignore "publishing" repositories (#18998) 2022-11-24 07:33:46 +01:00
Johannes Feichtner b14336b3af feat(manager/gradle): reimplement parser using tree-based approach (#18663) 2022-11-15 19:23:06 +00:00
Johannes Feichtner fb56b1fe85 fix(manager/gradle): prefix version catalog aliases with "libs." (#18830) 2022-11-09 00:51:02 +00:00
RahulGautamSingh 0151b6a4a9 refactor: reduce debug metadata (#18466)
Co-authored-by: Rhys Arkins <rhys@arkins.net>
2022-10-29 12:11:09 +00:00
Johannes Feichtner 0dfc98c2e7 fix(manager/gradle): ignore mapScalar() method from Apollo Kotlin plugin (#18625) 2022-10-28 11:47:25 +03:00
Johannes Feichtner 8279be47c8 fix(manager/gradle): preserve next token for parsing in case dependency interpolation fails (#18330) 2022-10-27 07:39:40 +02:00
Johannes Feichtner c02014a16e fix(manager/gradle): normalize aliases in versionCatalog (#18473) 2022-10-23 06:07:49 +00:00
Sergei Zharinov e4dbd4ad49 fix(ci): Restrict template expressions (#16834)
* fix(ci): Restrict template expressions

* Fix

* Fix

* Fix
2022-07-30 16:28:31 +02:00
Johannes Feichtner d6fa2fefda fix(gradle): silence warning for file not found via "apply from" (#16767) 2022-07-25 19:06:56 +02:00
Johannes Feichtner a3c3f11860 fix(gradle): adjust max. recursion depth and logger warning (#16734) 2022-07-24 13:28:04 +02:00
Johannes Feichtner a6b747444a feat(gradle): add support for further apply-from patterns (#16507) 2022-07-20 05:45:31 +00:00
Johannes Feichtner 21d5e6829d feat(gradle): add support for variable assignments with rootProject and project (#16505)
Co-authored-by: Michael Kriese <michael.kriese@visualon.de>
2022-07-10 14:06:50 +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 351fd363c1 fix(gradle): ignore stages() method from reckon plugin (#16401) 2022-07-03 16:25:36 +00: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 e5c6f38d75 refactor: enable strict checks (#16168)
* refactor:  enable strict checks

* chore: revert changes

* chore: fix tsconfig
2022-06-21 13:00:21 +02:00
Johannes Feichtner 8d9e3be6f3 feat(gradle): add support for library(...).version() (#15929) 2022-06-13 07:12:02 +02:00
Johannes Feichtner 0496610fe4 feat(gradle): add support for simple extra properties (#15983) 2022-06-10 03:56:32 +00: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
Sergei Zharinov 918ef59df0 fix(gradle): Refer correct file when resolving version from variable (#15581) 2022-05-14 15:59:02 +00:00
Sergei Zharinov c5a60d1c02 fix(gradle): Parse dependencies declared via library() (#15541) 2022-05-11 12:27:02 +02:00
Maron 27dd1c027a bug: Gradle-Unsupported dependency formats (#15355) 2022-04-29 08:13:19 +00:00
Michael Kriese f5f06c73be refactor(manager): more strict null checks (#15168) 2022-04-20 06:19:59 +02:00
Róbert Papp 5946790b66 fix(gradle): Ignore Kotlin collection methods as dependencies (#14925) 2022-04-04 06:05:07 +02:00
Sergei Zharinov 5aed625302 fix(gradle): Fix false detected dependencies (#14917) 2022-04-03 15:37:27 +02:00
Sergei Zharinov e0cbabe452 fix(gradle): Fix registry url parsing (#14783) 2022-03-24 10:02:10 +00:00
wada811 0598f1b9d2 feat(manager/gradle): support repository content filtering of predefined registry (#14592)
* Add test for repository content filtering

* Support repository content filtering

Co-authored-by: Michael Kriese <michael.kriese@visualon.de>
2022-03-10 13:28:07 +01:00