File tree Expand file tree Collapse file tree 1 file changed +7
-1
lines changed
buildSrc/src/main/java/org/springframework/boot/build/bom/bomr Expand file tree Collapse file tree 1 file changed +7
-1
lines changed Original file line number Diff line number Diff line change 1
1
/*
2
- * Copyright 2012-2020 the original author or authors.
2
+ * Copyright 2012-2021 the original author or authors.
3
3
*
4
4
* Licensed under the Apache License, Version 2.0 (the "License");
5
5
* you may not use this file except in compliance with the License.
33
33
import org .gradle .api .InvalidUserDataException ;
34
34
import org .gradle .api .Task ;
35
35
import org .gradle .api .internal .tasks .userinput .UserInputHandler ;
36
+ import org .gradle .api .tasks .Input ;
36
37
import org .gradle .api .tasks .TaskAction ;
37
38
import org .gradle .api .tasks .TaskExecutionException ;
38
39
import org .gradle .api .tasks .options .Option ;
@@ -64,6 +65,11 @@ public void setMilestone(String milestone) {
64
65
this .milestone = milestone ;
65
66
}
66
67
68
+ @ Input
69
+ public String getMilestone () {
70
+ return this .milestone ;
71
+ }
72
+
67
73
@ TaskAction
68
74
void upgradeDependencies () {
69
75
GitHubRepository repository = createGitHub ().getRepository (this .bom .getUpgrade ().getGitHub ().getOrganization (),
You can’t perform that action at this time.
0 commit comments