Commit Graph

91 Commits

Author SHA1 Message Date
Simon Marquis c77ac1f29c fix(gradle): collision with well-known Android APIs (#45350)
Discussion: https://github.com/renovatebot/renovate/discussions/45349
2026-08-19 13:46:51 +00:00
Sebastian Poxhofer 0793274b86 refactor: prefer templates rather than + in test files (#43441)
refactor: prefer templates rather than `+`
2026-05-19 09:52:28 +00:00
ldt-fweichert 624d95d1c0 feat(gradle): add !!-notation support for strictly and prefer constraints (#42135)
* gradle: add strictly / prefer support

* fix tests

* improve code coverage

* apply suggestions from @Churro

* Update lib/modules/versioning/gradle/compare.ts

Co-authored-by: RahulGautamSingh <rahultesnik@gmail.com>

* Update lib/modules/versioning/gradle/index.ts

Co-authored-by: RahulGautamSingh <rahultesnik@gmail.com>

* fixed pin strategy

* ignore pin strategy

---------

Co-authored-by: RahulGautamSingh <rahultesnik@gmail.com>
2026-04-07 09:34:35 +00:00
Johannes Feichtner c06b551b6c feat(gradle): add support for short dependency notation in version catalogs (#41797) 2026-03-11 13:12:51 +00:00
Johannes Feichtner 544fcfb120 fix(gradle): skip exclusiveContent registries if all filters are invalid or unsupported (#41742) 2026-03-09 10:14:06 +00:00
Johannes Feichtner 4312453b6a fix(gradle): prevent 'registryUrl' token not found error while parsing Gradle files (#41600) 2026-03-02 16:50:14 +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
renovate[bot] acacad57c6 chore(deps): update linters (main) (#40277)
* chore(deps): update linters

| datasource | package              | from   | to     |
| ---------- | -------------------- | ------ | ------ |
| npm        | eslint-plugin-oxlint | 1.36.0 | 1.38.0 |
| npm        | typescript-eslint    | 8.50.1 | 8.52.0 |

* chore: enable oxlint gha format

* chore: fix lint

* chore: fix lint

* chore: fix lint

---------

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: Michael Kriese <michael.kriese@visualon.de>
2026-01-14 15:32:48 +00:00
Johannes Feichtner 47adb58433 test(manager/gradle): remove test duplicates, minor corrections (#40317) 2026-01-11 09:48:36 +00:00
Johannes Feichtner 4392c1c758 fix(manager/gradle): ignore DependencySubstitution modules (#39965) 2025-12-28 09:39:02 +00:00
Johannes Feichtner 96a7d27350 feat(manager/gradle): add support for variables in plugin names (#39002) 2025-11-11 14:00:37 +00:00
RahulGautamSingh 76f911041a refactor: use named exports (#39196)
* use named exports

* fix test

* add missing imnport

* fix prettier
2025-11-10 12:00:35 +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
Trask Stalnaker bcbc7b5e7e feat(gradle): support useJUnitJupiter under suites.withType (#38326)
* Support useJUnitJupiter under suites.withType

* unify

* fix: change withType maxDepth from 2 to 1

Addresses review comment from @Churro about maxDepth: 2 being too permissive.
With maxDepth: 1, the withType tree will only match:
- withType(JvmTestSuite)
- withType(JvmTestSuite::class)

This prevents unintended matching of nested structures like withType([...])
which are not valid Gradle syntax for this use case and are not covered by tests.

* refactor: merge test suite queries using q.alt pattern
2025-10-08 15:31:13 +00:00
Johannes Feichtner 03b3aed33c feat(gradle): detect dependencies in 'group:name:version:classifier@extension' format (#36224) 2025-05-30 05:03:03 +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
Ivan Panaev 918df4c8b4 fix(manager/gradle): qGroovySingleMapOfVarAssignment and qGroovyMapOfExpr str format var name support (#34682) 2025-03-09 07:00:00 +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
ldt-fweichert d022b8307e feat(gradle): bump strategy (#33453)
Co-authored-by: Michael Kriese <michael.kriese@gmx.de>
Co-authored-by: Rhys Arkins <rhys@arkins.net>
2025-02-20 14:04:35 +00:00
renovate[bot] 55845508b6 chore(deps): update eslint monorepo to v9 (major) (#33573)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: Michael Kriese <michael.kriese@visualon.de>
2025-02-20 11:31:13 +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 abb00a702b feat(gradle): add support for implicit test suite dependencies (#33775) 2025-01-27 07:48:22 +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 6cf23f2bf1 refactor(gradle): extract redundant functions and remove snapshot (#33430) 2025-01-09 07:22:45 +00:00
Johannes Feichtner 6e8b70ed07 fix(gradle): correct handling of heuristically matched dependency triples (#33487) 2025-01-08 22:14:44 +00:00
Johannes Feichtner 80faed3ffe fix(gradle): avoid heuristic matching of gradle feature variant capabilities (#33438) 2025-01-07 06:53:48 +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
Johannes Feichtner b4189c8093 feat(manager/gradle): add support for dep matching in lists that are nested in Groovy maps (#28517) 2024-04-19 04:20:46 +00:00
Johannes Feichtner d59316e1d1 fix(manager/gradle): fix potential parsing error for plugins in inlined version catalogs (#26737) 2024-01-19 03:14:19 +00:00
Johannes Feichtner da8396e384 feat(manager/gradle): add support for micronaut plugin (#26519) 2024-01-06 08:01:31 +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 b8e1826868 feat(manager/gradle): add support for listOf directives in Kotlin objects (#24367) 2023-09-12 01:00:43 +00:00
Rhys Arkins 36e2b328bb chore: update types reference 2023-08-15 11:31:15 +02:00
Johannes Feichtner edb9518bf8 fix(manager/gradle): extend allowed nesting depth for Kotlin objects from 3 to 4 (#22959) 2023-06-24 16:51:04 +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
guicamest 2112ea2646 feat(manager/gradle): Support properties map in gradle kts (#21792) 2023-05-07 15:47:06 +00:00
RahulGautamSingh 938a36801e refactor: replace test.each with it.each (#21859) 2023-04-28 04:33:15 +00:00
Sergei Zharinov 6bd1277c89 fix(manager/gradle): Filter false positives out of extracted deps (#21753) 2023-04-23 08:33:49 +02:00
Johannes Feichtner b088733066 fix(manager/gradle): resolve values when assigning symbols to variables (#21411) 2023-04-10 16:37:46 +00:00
Jamie Magee b23700d749 test: jest isolation (#21406) 2023-04-10 04:32:04 +00:00
Johannes Feichtner f0b74b8f75 fix(manager/gradle): handle dot as optional when parsing plugins in Kotlin DSL (#21362) 2023-04-05 20:05:34 +00:00
Johannes Feichtner 85834b2519 feat(manager/gradle): add support for plugins in inlined version catalogs (#20969) 2023-03-16 05:21:50 +00:00
Johannes Feichtner 8512072d41 feat(manager/gradle): add support for AndroidX Compose plugin (#20796) 2023-03-08 06:31:56 +00:00
Johannes Feichtner 98231804c3 feat(manager/gradle): add support for map notation deps in Groovy maps (#20798) 2023-03-08 06:31:28 +00:00
Johannes Feichtner f31d62810c feat(manager/gradle): add support for jmh plugin (#20784) 2023-03-07 04:59:12 +00:00