You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Publish the Gradle plugin to the Gradle Plugin Portal #309
I am trying to use the gradle plugin using plugins DSL, but the version 0.29 can't be found in gradle plugin repository.
plugins {
id 'org.springframework.boot' version '2.6.2'
id 'io.spring.dependency-management' version '1.0.11.RELEASE'
id 'java-library'
id 'io.spring.javaformat' version '0.0.29'
}
Publishing the Gradle plugin to the Portal was removed as part of 9a485f8. Unfortunately, following Bintray's sunset there's no automated way in which a Maven-based build can publish a plugin to the Portal. Building this project with Gradle isn't easy due to its reliance on Tycho.
The README describes how to obtain the plugin from Maven Central. That's the recommended approach at this time.
changed the title [-]Publish the gradle plugin 0.29 to the gradle Plugin Portal.[/-][+]Publish the Gradle plugin to the Gradle Plugin Portal[/+]on Jan 29, 2022
Activity
wilkinsona commentedon Jan 29, 2022
Publishing the Gradle plugin to the Portal was removed as part of 9a485f8. Unfortunately, following Bintray's sunset there's no automated way in which a Maven-based build can publish a plugin to the Portal. Building this project with Gradle isn't easy due to its reliance on Tycho.
The README describes how to obtain the plugin from Maven Central. That's the recommended approach at this time.
[-]Publish the gradle plugin 0.29 to the gradle Plugin Portal.[/-][+]Publish the Gradle plugin to the Gradle Plugin Portal[/+]fladulima commentedon Jan 29, 2022
thanks for the info.
I just found out that I can also provide a
resolutionStrategyinsettings.gradle.build.gradlesettings.gradlephilwebb commentedon Feb 2, 2022
I'd like to keep this open in case we can publish directly without needing Bintray.
Add a marker artifact for the `io.spring.javaformat` gradle plugin
Add a marker artifact for the `io.spring.javaformat` gradle plugin
SayakMukhopadhyay commentedon Apr 2, 2023
@philwebb Seems like this was fixed in #321. It works for me.
philwebb commentedon Apr 5, 2023
Thanks @SayakMukhopadhyay, I think #321 improved things but we've still got an old version at https://plugins.gradle.org/plugin/io.spring.javaformat so there's probably some value in leaving this open.
philwebb commentedon Dec 11, 2023
When we fix this we should also look at updating the docs (see #394).