Skip to content

Commit 12c3c80

Browse files
committed
Merge branch '2.3.x' into 2.4.x
Closes gh-25226
2 parents 5a21395 + 4132565 commit 12c3c80

File tree

1 file changed

+7
-1
lines changed
  • buildSrc/src/main/java/org/springframework/boot/build/bom/bomr

1 file changed

+7
-1
lines changed

buildSrc/src/main/java/org/springframework/boot/build/bom/bomr/UpgradeBom.java

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
/*
2-
* Copyright 2012-2020 the original author or authors.
2+
* Copyright 2012-2021 the original author or authors.
33
*
44
* Licensed under the Apache License, Version 2.0 (the "License");
55
* you may not use this file except in compliance with the License.
@@ -33,6 +33,7 @@
3333
import org.gradle.api.InvalidUserDataException;
3434
import org.gradle.api.Task;
3535
import org.gradle.api.internal.tasks.userinput.UserInputHandler;
36+
import org.gradle.api.tasks.Input;
3637
import org.gradle.api.tasks.TaskAction;
3738
import org.gradle.api.tasks.TaskExecutionException;
3839
import org.gradle.api.tasks.options.Option;
@@ -64,6 +65,11 @@ public void setMilestone(String milestone) {
6465
this.milestone = milestone;
6566
}
6667

68+
@Input
69+
public String getMilestone() {
70+
return this.milestone;
71+
}
72+
6773
@TaskAction
6874
void upgradeDependencies() {
6975
GitHubRepository repository = createGitHub().getRepository(this.bom.getUpgrade().getGitHub().getOrganization(),

0 commit comments

Comments
 (0)