Skip to content

Disable gradle module file publishing#368

Merged
skjolber merged 2 commits into
mainfrom
dependencyGraph
May 12, 2026
Merged

Disable gradle module file publishing#368
skjolber merged 2 commits into
mainfrom
dependencyGraph

Conversation

@skjolber
Copy link
Copy Markdown
Contributor

Users report dependabot unexpectedly triggers on artifacts from Spring dependency management.

We are importing

api(platform("org.springframework.boot:spring-boot-dependencies:${springBootVersion}"))

While the pom.xml files look good (from appender)

<dependencies>
  <dependency>
    <groupId>org.slf4j</groupId>
    <artifactId>slf4j-api</artifactId>
    <scope>compile</scope>
    <version>2.0.17</version>
  </dependency>
  <dependency>
    <groupId>ch.qos.logback</groupId>
    <artifactId>logback-classic</artifactId>
    <scope>compile</scope>
    <version>1.5.32</version>
  </dependency>
  <dependency>
    <groupId>ch.qos.logback</groupId>
    <artifactId>logback-core</artifactId>
    <scope>compile</scope>
    <version>1.5.32</version>
  </dependency>
</dependencies>

the gradle module files contains spring-boot-dependencies:

      "dependencies": [
        {
          "group": "org.springframework.boot",
          "module": "spring-boot-dependencies",
          "version": {
            "requires": "4.0.6"
          },
          "attributes": {
            "org.gradle.category": "platform"
          },
          "endorseStrictVersions": true
        },
        {
          "group": "org.slf4j",
          "module": "slf4j-api"
        },
        {
          "group": "ch.qos.logback",
          "module": "logback-classic"
        },
        {
          "group": "ch.qos.logback",
          "module": "logback-core"
        }
      ],

To my knowledge we do not use any feature which would require use of module files, so disable them for now. Possibly revisit this and use the spring boot dependency plugin.

Copilot AI review requested due to automatic review settings May 11, 2026 13:28
@skjolber skjolber requested review from a team as code owners May 11, 2026 13:28
Copy link
Copy Markdown
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Copilot wasn't able to review any files in this pull request.


💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

@skjolber skjolber merged commit 4cee62c into main May 12, 2026
9 checks passed
@skjolber skjolber deleted the dependencyGraph branch May 12, 2026 09:57
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants