-
Notifications
You must be signed in to change notification settings - Fork 96
Commit
- Loading branch information
There are no files selected for viewing
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,5 @@ | ||
distributionBase=GRADLE_USER_HOME | ||
distributionPath=wrapper/dists | ||
distributionUrl=https\://services.gradle.org/distributions/gradle-7.6.2-bin.zip | ||
distributionUrl=https\://services.gradle.org/distributions/gradle-8.2.1-bin.zip | ||
zipStoreBase=GRADLE_USER_HOME | ||
zipStorePath=wrapper/dists |
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -48,7 +48,10 @@ abstract class ComposeExtension extends ComposeSettings { | |
s | ||
} else if (args.length == 1 && args[0] instanceof Closure) { | ||
ComposeSettings s = getOrCreateNested(name) | ||
ConfigureUtil.configure(args[0] as Closure, s) | ||
Closure closure = (Closure)args[0].clone() | ||
closure.setResolveStrategy(Closure.DELEGATE_FIRST) | ||
closure.setDelegate(s) | ||
closure.call(s) | ||
s | ||
This comment has been minimized.
Sorry, something went wrong.
This comment has been minimized.
Sorry, something went wrong.
augi
Author
Member
|
||
} else { | ||
getOrCreateNested(name) | ||
|
@augi why s here? You already do closure.call(s) - shouldn't that be sufficient already?