Skip to content

Commit eb56efb

Browse files
committed
Remove parallel check for versions plugin
Versions 0.53.0 now includes this check itself, it is unnecessary for us to do it ourselves.
1 parent 5d2fc58 commit eb56efb

File tree

2 files changed

+1
-8
lines changed

2 files changed

+1
-8
lines changed

settings.gradle

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,7 @@ dependencyResolutionManagement {
3333
versionCatalogs {
3434
register('libs') {
3535
version 'gradle-javadoc-links', '8.14'
36-
version 'gradle-versions', '0.52.0'
36+
version 'gradle-versions', '0.53.0'
3737

3838
plugin 'licenser', 'net.minecraftforge.licenser' version '1.2.0' // https://plugins.gradle.org/plugin/net.minecraftforge.licenser
3939
plugin 'changelog', 'net.minecraftforge.changelog' version '3.0.6' // https://plugins.gradle.org/plugin/net.minecraftforge.changelog

src/main/groovy/net/minecraftforge/gradleutils/GradleUtilsExtensionImpl.groovy

Lines changed: 0 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -185,15 +185,8 @@ import static net.minecraftforge.gradleutils.GradleUtilsPlugin.LOGGER
185185
private void finish(Project project) {
186186
this.version.finalizeValue()
187187

188-
final parallel = project.gradle.startParameter.parallelProjectExecutionEnabled
189188
project.pluginManager.withPlugin('com.github.ben-manes.versions') {
190189
project.tasks.withType(DependencyUpdatesTask).configureEach { task ->
191-
if (parallel) {
192-
task.doFirst {
193-
throw new IllegalStateException("The gradle-versions-plugin doesn't support parallel execution. Please try again using --no-parllel. If this was fixed, contact Forge.")
194-
}
195-
}
196-
197190
if (!task.compatibleWithConfigurationCache)
198191
task.notCompatibleWithConfigurationCache("The gradle-versions-plugin isn't compatible with the configuration cache")
199192

0 commit comments

Comments
 (0)