Slackbot
04/14/2023, 1:53 PMJavi
04/14/2023, 1:55 PMJavi
04/14/2023, 1:56 PMephemient
04/14/2023, 1:56 PMmaven(url = "<https://maven.pkg.github.com/USER/REPO/>") {
name = "GitHubPackages"
credentials(PasswordCredentials::class)
}
and
env:
ORG_GRADLE_PROJECT_GitHubPackagesUsername: ${{ github.actor }}
ORG_GRADLE_PROJECT_GitHubPackagesPassword: ${{ secrets.GITHUB_TOKEN }}
in your workflowsephemient
04/14/2023, 1:56 PMIgor Wojda
04/14/2023, 1:59 PMephemient
04/14/2023, 2:01 PMephemient
04/14/2023, 2:02 PMJavi
04/14/2023, 2:03 PMVampire
04/14/2023, 2:05 PMJavi
04/14/2023, 2:06 PMVampire
04/14/2023, 2:07 PMJavi
04/14/2023, 2:08 PMephemient
04/14/2023, 2:12 PMVampire
04/14/2023, 2:29 PMI think it is common to publish those versions on maven central tho, for example kotlin ones are thereThat some projects do it, does not mean I need to like it. π That always requires to then again filter them out from things like
gradle-versions plugin, refreshVersions, dependabot, renovate bot, ...Javi
04/14/2023, 2:49 PMIgor Wojda
04/14/2023, 2:50 PMJavi
04/14/2023, 2:51 PMJavi
04/14/2023, 2:52 PMephemient
04/14/2023, 2:53 PMephemient
04/14/2023, 2:55 PMephemient
04/14/2023, 2:58 PMVampire
04/14/2023, 3:40 PMyou want to avoid to renovate use the snapshot versions? If you keep a stable version on the remote, renovate will not update it to snapshot even if it is higherYeah, but it had to get special logic to not use such versions. And this logic is usually also driven by version string matching which might or might not be correct, ... If Maven Central just had production versions, everything could just use it. π
Javi
04/14/2023, 4:50 PMVampire
04/14/2023, 4:52 PMgradle-versions plugin you have to configure accordingly.Javi
04/14/2023, 4:52 PMJavi
04/14/2023, 4:53 PMVampire
04/14/2023, 4:53 PMIgor Wojda
04/14/2023, 5:14 PMIgor Wojda
04/14/2023, 5:14 PMVampire
04/14/2023, 5:15 PM