Skip to content

Commit

Permalink
build: Migrate deprecated Gradle configuration to non-deprecated
Browse files Browse the repository at this point in the history
  • Loading branch information
DevDavido committed Oct 10, 2024
1 parent cc49bee commit 8f16a39
Show file tree
Hide file tree
Showing 3 changed files with 22 additions and 23 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -105,7 +105,7 @@ class ICMDockerPluginIntegegrationSpec extends AbstractIntegrationGroovySpec {
}
repositories {
jcenter()
mavenCentral()
}
""".stripIndent())

Expand All @@ -126,7 +126,7 @@ class ICMDockerPluginIntegegrationSpec extends AbstractIntegrationGroovySpec {
}
repositories {
jcenter()
mavenCentral()
}
""".stripIndent())

Expand All @@ -147,7 +147,7 @@ class ICMDockerPluginIntegegrationSpec extends AbstractIntegrationGroovySpec {
}
repositories {
jcenter()
mavenCentral()
}
""".stripIndent())

Expand All @@ -158,7 +158,7 @@ class ICMDockerPluginIntegegrationSpec extends AbstractIntegrationGroovySpec {
}
repositories {
jcenter()
mavenCentral()
}
""".stripIndent())

Expand All @@ -174,7 +174,7 @@ class ICMDockerPluginIntegegrationSpec extends AbstractIntegrationGroovySpec {
}
repositories {
jcenter()
mavenCentral()
}
""".stripIndent())

Expand Down Expand Up @@ -300,7 +300,7 @@ class ICMDockerPluginIntegegrationSpec extends AbstractIntegrationGroovySpec {
}
repositories {
jcenter()
mavenCentral()
}
""".stripIndent())

Expand All @@ -321,7 +321,7 @@ class ICMDockerPluginIntegegrationSpec extends AbstractIntegrationGroovySpec {
}
repositories {
jcenter()
mavenCentral()
}
""".stripIndent())

Expand All @@ -342,7 +342,7 @@ class ICMDockerPluginIntegegrationSpec extends AbstractIntegrationGroovySpec {
}
repositories {
jcenter()
mavenCentral()
}
""".stripIndent())

Expand All @@ -353,7 +353,7 @@ class ICMDockerPluginIntegegrationSpec extends AbstractIntegrationGroovySpec {
}
repositories {
jcenter()
mavenCentral()
}
""".stripIndent())

Expand All @@ -369,7 +369,7 @@ class ICMDockerPluginIntegegrationSpec extends AbstractIntegrationGroovySpec {
}
repositories {
jcenter()
mavenCentral()
}
""".stripIndent())

Expand Down Expand Up @@ -470,7 +470,7 @@ class ICMDockerPluginIntegegrationSpec extends AbstractIntegrationGroovySpec {
}
repositories {
jcenter()
mavenCentral()
}
""".stripIndent())

Expand All @@ -491,7 +491,7 @@ class ICMDockerPluginIntegegrationSpec extends AbstractIntegrationGroovySpec {
}
repositories {
jcenter()
mavenCentral()
}
""".stripIndent())

Expand All @@ -502,7 +502,7 @@ class ICMDockerPluginIntegegrationSpec extends AbstractIntegrationGroovySpec {
}
repositories {
jcenter()
mavenCentral()
}
""".stripIndent())

Expand All @@ -518,7 +518,7 @@ class ICMDockerPluginIntegegrationSpec extends AbstractIntegrationGroovySpec {
}
repositories {
jcenter()
mavenCentral()
}
""".stripIndent())

Expand Down Expand Up @@ -620,7 +620,7 @@ class ICMDockerPluginIntegegrationSpec extends AbstractIntegrationGroovySpec {
}
repositories {
jcenter()
mavenCentral()
}
""".stripIndent())

Expand All @@ -641,7 +641,7 @@ class ICMDockerPluginIntegegrationSpec extends AbstractIntegrationGroovySpec {
}
repositories {
jcenter()
mavenCentral()
}
""".stripIndent())

Expand All @@ -662,7 +662,7 @@ class ICMDockerPluginIntegegrationSpec extends AbstractIntegrationGroovySpec {
}
repositories {
jcenter()
mavenCentral()
}
""".stripIndent())

Expand All @@ -673,7 +673,7 @@ class ICMDockerPluginIntegegrationSpec extends AbstractIntegrationGroovySpec {
}
repositories {
jcenter()
mavenCentral()
}
""".stripIndent())

Expand All @@ -689,7 +689,7 @@ class ICMDockerPluginIntegegrationSpec extends AbstractIntegrationGroovySpec {
}
repositories {
jcenter()
mavenCentral()
}
""".stripIndent())

Expand All @@ -709,7 +709,7 @@ class ICMDockerPluginIntegegrationSpec extends AbstractIntegrationGroovySpec {
def result = getPreparedGradleRunner()
.withArguments("pullAS", "--altImage=busybox:latest", "--forcePull", "-s")
.withGradleVersion(gradleVersion)
.withDebug(true)
.withDebug(true)
.build()

then:
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,6 @@ package com.intershop.gradle.icm.docker
import com.intershop.gradle.test.AbstractIntegrationGroovySpec
import spock.lang.Ignore

import static org.gradle.testkit.runner.TaskOutcome.SUCCESS
import static org.gradle.testkit.runner.TaskOutcome.SUCCESS

@Ignore
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@ class TestRepo {

String repostr = """
repositories {
jcenter()
mavenCentral()
maven {
url "${repoDir.toURI().toURL()}"
}
Expand All @@ -55,10 +55,10 @@ class TestRepo {

String repostr = """
repositories {
mavenCentral()
maven {
url=uri("${repoDir.toURI().toURL()}")
}
jcenter()
}""".stripIndent()

return repostr
Expand Down

0 comments on commit 8f16a39

Please sign in to comment.