File tree Expand file tree Collapse file tree 3 files changed +8
-7
lines changed
src/main/groovy/com/avast/gradle/dockercompose Expand file tree Collapse file tree 3 files changed +8
-7
lines changed Original file line number Diff line number Diff line change @@ -87,19 +87,17 @@ nexusPublishing {
8787
8888project. ext. set(' gradle.publish.key' , System . getenv(' GRADLE_PORTAL_KEY' ))
8989project. ext. set(' gradle.publish.secret' , System . getenv(' GRADLE_PORTAL_SECRET' ))
90- pluginBundle {
91- website = ' https://github.com/avast/gradle-docker-compose-plugin'
92- vcsUrl = ' https://github.com/avast/gradle-docker-compose-plugin'
93- tags = [' docker' , ' docker-compose' ]
94- }
9590
9691gradlePlugin {
92+ website = ' https://github.com/avast/gradle-docker-compose-plugin'
93+ vcsUrl = ' https://github.com/avast/gradle-docker-compose-plugin'
9794 plugins {
9895 dockerComposePlugin {
9996 id = ' com.avast.gradle.docker-compose'
10097 displayName = ' Gradle Docker Compose plugin'
10198 description = ' Simplifies usage of Docker Compose for integration testing in Gradle environment.'
10299 implementationClass = ' com.avast.gradle.dockercompose.DockerComposePlugin'
100+ tags. set([' docker' , ' docker-compose' ])
103101 }
104102 }
105103}
Original file line number Diff line number Diff line change 11distributionBase =GRADLE_USER_HOME
22distributionPath =wrapper/dists
3- distributionUrl =https\://services.gradle.org/distributions/gradle-7.6.2 -bin.zip
3+ distributionUrl =https\://services.gradle.org/distributions/gradle-8.2.1 -bin.zip
44zipStoreBase =GRADLE_USER_HOME
55zipStorePath =wrapper/dists
Original file line number Diff line number Diff line change @@ -48,7 +48,10 @@ abstract class ComposeExtension extends ComposeSettings {
4848 s
4949 } else if (args. length == 1 && args[0 ] instanceof Closure ) {
5050 ComposeSettings s = getOrCreateNested(name)
51- ConfigureUtil . configure(args[0 ] as Closure , s)
51+ Closure closure = (Closure )args[0 ]. clone()
52+ closure. setResolveStrategy(Closure . DELEGATE_FIRST )
53+ closure. setDelegate(s)
54+ closure. call(s)
5255 s
5356 } else {
5457 getOrCreateNested(name)
You can’t perform that action at this time.
0 commit comments