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
Introduce replacements #22
Conversation
TWiStErRob
commented
Feb 6, 2024
•
edited
edited
- fixes Use replacements #21
replacement.json
Outdated
"gradle-build-action-to-setup-gradle": { | ||
"description": "gradle-build-action is now setup-gradle. https://github.com/gradle/gradle-build-action/releases/tag/v3.0.0", | ||
"packageRules": [ | ||
{ | ||
"matchManagers": ["github-actions"], | ||
"matchPackageNames": ["gradle/gradle-build-action"], | ||
"replacementName": "gradle/actions/setup-gradle", | ||
"replacementVersion": "3.0.0" | ||
} | ||
] | ||
}, |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
replacement.json
Outdated
"github>TWiStErRob/renovate-config:replacement/jcenter-flexbox-to-gmaven-flexbox", | ||
"github>TWiStErRob/renovate-config:replacement/nhaarman-mockito-kotlin-v1-to-v2", | ||
"github>TWiStErRob/renovate-config:replacement/nhaarman-mockitokotlin2-to-mockito-kotlin", | ||
"github>TWiStErRob/renovate-config:replacement/gmazzo-gradle-buildconfig-plugin-v3-to-v4", | ||
"github>TWiStErRob/renovate-config:replacement/gradle-enterprise-develocity-plugin", | ||
"github>TWiStErRob/renovate-config:replacement/squareup-retrofit-v1-to-v2", | ||
"github>TWiStErRob/renovate-config:replacement/squareup-okhttp-v2-to-v3" |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Not supported: renovatebot/renovate#24883 (comment)
// build.gradle.kts
plugins {
id("com.android.application") version "8.3.1"
kotlin("android") version "1.9.23"
}
dependencies {
implementation("com.google.android:flexbox:2.0.1")
implementation("com.github.gmazzo:gradle-buildconfig-plugin:3.1.0")
}
android {
namespace = "com.example"
compileSdk = 34
defaultConfig {
minSdk = 21
targetSdk = 34
}
}
// settings.gradle.kts
pluginManagement {
repositories {
google()
mavenCentral()
gradlePluginPortal()
jcenter()
}
}
plugins {
id("com.gradle.enterprise") version "3.17"
}
@Suppress("UnstableApiUsage")
dependencyResolutionManagement {
repositoriesMode.set(RepositoriesMode.FAIL_ON_PROJECT_REPOS)
repositories {
google()
mavenCentral()
gradlePluginPortal()
jcenter()
}
}
# libs.versions.toml
[versions]
flexbox = "2.0.1"
[libraries]
flexbox = { module = "com.google.android:flexbox", version.ref = "flexbox" }
@JamieSamson this would be interesting if it worked |
Sorry @JamieSamson, I meant @jamiesanson (you can unsubscribe on the right sidebar) |
Force-pushed out: TWiStErRob/net.twisterrob.travel#149 |