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

Introduce replacements #22

Merged
merged 4 commits into from Apr 5, 2024
Merged

Introduce replacements #22

merged 4 commits into from Apr 5, 2024

Conversation

TWiStErRob
Copy link
Owner

@TWiStErRob TWiStErRob commented Feb 6, 2024

replacement.json Outdated
Comment on lines 14 to 24
"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"
}
]
},
Copy link
Owner Author

Choose a reason for hiding this comment

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

replacement.json Outdated
Comment on lines 6 to 12
"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"
Copy link
Owner Author

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" }

image

@TWiStErRob
Copy link
Owner Author

@JamieSamson this would be interesting if it worked

@TWiStErRob
Copy link
Owner Author

TWiStErRob commented Apr 4, 2024

Sorry @JamieSamson, I meant @jamiesanson (you can unsubscribe on the right sidebar)

@TWiStErRob TWiStErRob merged commit 8854369 into main Apr 5, 2024
2 checks passed
@TWiStErRob TWiStErRob deleted the replacements branch April 5, 2024 22:03
@TWiStErRob TWiStErRob mentioned this pull request Apr 5, 2024
6 tasks
@TWiStErRob
Copy link
Owner Author

TWiStErRob commented Apr 5, 2024

Force-pushed out: TWiStErRob/net.twisterrob.travel#149

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.

Use replacements
1 participant