Stop publishing redirect artifacts at `com.diffplug.gradle.spotless`

Open
#2,844 1 comment 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Assessment

Difficulty
3/5
Estimated time
1-2 days
Newbie friendliness
45/100
Issue type
Bug
Clarity
Mostly clear
Activity status
Stale

Research direction

Start by checking the Gradle plugin publication configuration and the plugin portal entry at the linked URL. Confirm how the old com.diffplug.gradle.spotless ID is published and verify that the com.diffplug.spotless ID remains usable; done means the old redirect artifacts are no longer published and the misleading migration message is gone.

Written by the indexing model from the issue text.

Description

enhancement

https://plugins.gradle.org/plugin/com.diffplug.gradle.spotless

It has

Add this plugin to your build using the [plugins DSL](https://docs.gradle.org/current/userguide/plugins.html#sec:plugins_block):

plugins {
  id("com.diffplug.gradle.spotless") version "8.2.1"
}

if you do that you get:

Caused by: org.gradle.api.GradleException: We have moved from 'com.diffplug.gradle.spotless'
                to 'com.diffplug.spotless'
To migrate:
- Test your build with: id 'com.diffplug.gradle.spotless' version '4.5.1'
- Fix any deprecation warnings (shouldn't be many / any)
- Now you can use:      id 'com.diffplug.spotless' version '5.0.0'
Dominant language
Java
Stars
5.7k
Forks
560
Avg merge
1d 13h
Merged PRs (30d)
43

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

More from diffplug/spotless

All issues in diffplug/spotless

Similar issues

More Java issues

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.