Skip to content

Commit 7f8fe42

Browse files
committed
Fix SpringRepositorySupport environment support
See gh-42333
1 parent f7d7d16 commit 7f8fe42

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

buildSrc/SpringRepositorySupport.groovy

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,6 +26,8 @@
2626
// version being built.
2727
//
2828

29+
import java.util.function.*
30+
2931
def apply(settings) {
3032
def version = property(settings, 'version')
3133
def buildType = property(settings, 'spring.build-type')
@@ -67,7 +69,7 @@ class SpringRepositoriesExtension {
6769
private final def repositories
6870
private final def version
6971
private final def buildType
70-
private final def environment
72+
private final UnaryOperator<String> environment
7173

7274
@javax.inject.Inject
7375
SpringRepositoriesExtension(repositories, version, buildType) {

0 commit comments

Comments
 (0)