Skip to content

Commit 9a77d93

Browse files
committed
Resolve Groovy assignment deprecation
1 parent d9f68ed commit 9a77d93

File tree

51 files changed

+154
-154
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

51 files changed

+154
-154
lines changed

dd-java-agent/agent-ci-visibility/build.gradle

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -7,13 +7,13 @@ buildscript {
77
if (project.rootProject.hasProperty("gradlePluginProxy")) {
88
maven {
99
url project.rootProject.property("gradlePluginProxy")
10-
allowInsecureProtocol true
10+
allowInsecureProtocol = true
1111
}
1212
}
1313
if (project.rootProject.hasProperty("mavenRepositoryProxy")) {
1414
maven {
1515
url project.rootProject.property("mavenRepositoryProxy")
16-
allowInsecureProtocol true
16+
allowInsecureProtocol = true
1717
}
1818
}
1919
gradlePluginPortal()

dd-java-agent/agent-jmxfetch/build.gradle

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -28,8 +28,8 @@ shadowJar {
2828
}
2929

3030
tasks.register("submodulesUpdate", Exec) {
31-
group 'Build Setup'
32-
description 'Initializes and updates integrations-core git submodule'
31+
group = 'Build Setup'
32+
description = 'Initializes and updates integrations-core git submodule'
3333
commandLine 'git', 'submodule', 'update', '--init', 'integrations-core'
3434
def submoduleHead = file("${project.rootDir}/.git/modules/dd-java-agent/agent-jmxfetch/integrations-core/HEAD")
3535
if (submoduleHead.exists()) {
@@ -93,8 +93,8 @@ abstract class CopyMetricConfigsTask extends DefaultTask {
9393
}
9494

9595
tasks.register('copyMetricConfigs', CopyMetricConfigsTask) {
96-
group 'Build Setup'
97-
description 'Copy metrics.yaml files from integrations-core into resources'
96+
group = 'Build Setup'
97+
description = 'Copy metrics.yaml files from integrations-core into resources'
9898
inputDirectory = file("$projectDir/integrations-core")
9999
outputDirectory = file("$buildDir/integrations-core-resources")
100100
}

dd-java-agent/benchmark-integration/build.gradle

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,13 +4,13 @@ buildscript {
44
if (project.rootProject.hasProperty("gradlePluginProxy")) {
55
maven {
66
url project.rootProject.property("gradlePluginProxy")
7-
allowInsecureProtocol true
7+
allowInsecureProtocol = true
88
}
99
}
1010
if (project.rootProject.hasProperty("mavenRepositoryProxy")) {
1111
maven {
1212
url project.rootProject.property("mavenRepositoryProxy")
13-
allowInsecureProtocol true
13+
allowInsecureProtocol = true
1414
}
1515
}
1616
gradlePluginPortal()

dd-java-agent/benchmark-integration/play-perftest/build.gradle

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -30,26 +30,26 @@ repositories {
3030
if (project.rootProject.hasProperty("mavenRepositoryProxy")) {
3131
maven {
3232
url project.rootProject.property("mavenRepositoryProxy")
33-
allowInsecureProtocol true
33+
allowInsecureProtocol = true
3434
}
3535
}
3636
mavenCentral()
3737
maven {
38-
name "lightbend-maven-releases"
39-
url "https://repo.lightbend.com/lightbend/maven-release"
38+
name = "lightbend-maven-releases"
39+
url = "https://repo.lightbend.com/lightbend/maven-release"
4040
}
4141
ivy {
42-
name "lightbend-ivy-release"
43-
url "https://repo.lightbend.com/lightbend/ivy-releases"
44-
layout "ivy"
42+
name = "lightbend-ivy-release"
43+
url = "https://repo.lightbend.com/lightbend/ivy-releases"
44+
layout("ivy")
4545
}
4646
}
4747

4848
spotless {
4949
java {
50-
target "**/*.java"
50+
target("**/*.java")
5151
}
5252
scala {
53-
target "**/*.scala"
53+
target("**/*.scala")
5454
}
5555
}

dd-java-agent/instrumentation/akka/akka-http/akka-http-10.6/build.gradle

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -30,11 +30,11 @@ muzzle {
3030
repositories {
3131
if (project.rootProject.hasProperty("akkaRepositoryToken")) {
3232
maven {
33-
url "https://repo.akka.io/${project.rootProject.property("akkaRepositoryToken")}/secure"
33+
url = "https://repo.akka.io/${project.rootProject.property("akkaRepositoryToken")}/secure"
3434
}
3535
} else {
3636
maven {
37-
url "https://repo.akka.io/maven"
37+
url = "https://repo.akka.io/maven"
3838
}
3939
}
4040
}

dd-java-agent/instrumentation/armeria/armeria-grpc-0.84/build.gradle

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ muzzle {
77
group = "com.linecorp.armeria"
88
module = "armeria-grpc"
99
versions = "[0.84.0,)"
10-
assertInverse true
10+
assertInverse = true
1111
skipVersions += "1.3.0" // com.linecorp.armeria.common.grpc.protocol.ArmeriaMessageDeframer is missing in this one version
1212
}
1313
}

dd-java-agent/instrumentation/build.gradle

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6,13 +6,13 @@ buildscript {
66
if (project.rootProject.hasProperty("gradlePluginProxy")) {
77
maven {
88
url project.rootProject.property("gradlePluginProxy")
9-
allowInsecureProtocol true
9+
allowInsecureProtocol = true
1010
}
1111
}
1212
if (project.rootProject.hasProperty("mavenRepositoryProxy")) {
1313
maven {
1414
url project.rootProject.property("mavenRepositoryProxy")
15-
allowInsecureProtocol true
15+
allowInsecureProtocol = true
1616
}
1717
}
1818
gradlePluginPortal()

dd-java-agent/instrumentation/datanucleus-4/build.gradle

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ buildscript {
66
if (project.rootProject.hasProperty("mavenRepositoryProxy")) {
77
maven {
88
url project.rootProject.property("mavenRepositoryProxy")
9-
allowInsecureProtocol true
9+
allowInsecureProtocol = true
1010
}
1111
}
1212
mavenCentral()

dd-java-agent/instrumentation/gradle-3.0/build.gradle

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@ apply from: "$rootDir/gradle/java.gradle"
22

33
repositories {
44
maven {
5-
url "https://repo.gradle.org/artifactory/libs-releases-local"
5+
url = "https://repo.gradle.org/artifactory/libs-releases-local"
66
}
77
}
88

dd-java-agent/instrumentation/gradle-8.3/build.gradle

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@ apply from: "$rootDir/gradle/java.gradle"
22

33
repositories {
44
maven {
5-
url "https://repo.gradle.org/artifactory/libs-releases-local"
5+
url = "https://repo.gradle.org/artifactory/libs-releases-local"
66
}
77
}
88

0 commit comments

Comments
 (0)