Skip to content

Preset config:base triggers warnings for Spring dependencies #23178

Discussion options

You must be logged in to vote

@ChristianCiach, yes, this is the preset change I meant and also what @rarkins just realized in PR #23187.

  • matchDepNames matches the org.springframework.boot (= depName) that gradle internally expands to org.springframework.boot:org.springframework.boot.gradle.plugin (= packageName) .
  • matchPackagePrefixes matches dependencies whose depName starts with org.springframework.boot: and this would almost match the plugin as well - almost because you specify in the gradle buildscript without trailing colon: id("org.springframework.boot")
    We could strip the colon in this case but then we'd risk confusion if packages would be published in a group like org.springframework.bootsomething. To prevent…

Replies: 3 comments 23 replies

Comment options

You must be logged in to vote
14 replies
@rarkins
Comment options

@Churro
Comment options

Churro Jul 5, 2023
Collaborator

@ChristianCiach
Comment options

@Churro
Comment options

Churro Jul 5, 2023
Collaborator

Answer selected by ChristianCiach
@ChristianCiach
Comment options

Comment options

You must be logged in to vote
6 replies
@rarkins
Comment options

@ChristianCiach
Comment options

@rarkins
Comment options

@ChristianCiach
Comment options

@rarkins
Comment options

Comment options

You must be logged in to vote
3 replies
@ChristianCiach
Comment options

@rarkins
Comment options

@ChristianCiach
Comment options

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
4 participants