Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat(manager/gradle): support for Kotlin extra properties, dependencySet collections and versionCatalog aliases #19200

Merged
merged 4 commits into from Dec 1, 2022

Conversation

Churro
Copy link
Collaborator

@Churro Churro commented Nov 30, 2022

Changes

Adds support for several common Gradle patterns to declare dependencies.

  • Kotlin extra properties, e.g.:

    val foo by extra("1.2.3")
    val foo by extra { "1.2.3" }
    val foo: String by extra { "1.2.3" }
  • dependencySet collections (grouped into a single update using groupName), e.g.:

    dependencySet(group: 'org.apache.logging.log4j', version: '2.13.3') {
      entry 'log4j-api'
      entry 'log4j-core'
      entry 'log4j-slf4j-impl'
      entry 'log4j-jul'
    }
  • Alias definitions used in Gradle version catalogs, e.g.:

    version("antlr", "4.10.1")
    alias("antlr").to("org.antlr", "antlr4").versionRef("antlr")
    alias("jackson").to ("com.fasterxml.jackson.core", "jackson-databind").version("2.13.0")

Context

Documentation (please check one with an [x])

  • I have updated the documentation, or
  • No documentation update is required

How I've tested my work (please select one)

I have verified these changes via:

  • Code inspection only, or
  • Newly added/modified unit tests, or
  • No unit tests but ran on a real repository, or
  • Both unit tests + ran on a real repository

@Churro Churro changed the title Gradle depsetkotlin feat(manager/gradle): support for Kotlin extra properties, dependencySet collections and versionCatalog aliases Nov 30, 2022
@Churro Churro requested a review from zharinov November 30, 2022 22:55
@rarkins rarkins enabled auto-merge (squash) December 1, 2022 10:41
@rarkins rarkins merged commit 094a3f4 into renovatebot:main Dec 1, 2022
@renovate-release
Copy link
Collaborator

🎉 This PR is included in version 34.44.0 🎉

The release is available on:

Your semantic-release bot 📦🚀

@github-actions github-actions bot locked as resolved and limited conversation to collaborators Jan 1, 2023
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

4 participants