Fix warning in build scripts (#3739)
This commit is contained in:
parent
6d7cb287cc
commit
77dc1ecf27
|
@ -106,7 +106,7 @@ tasks {
|
|||
}
|
||||
|
||||
named<Test>("test") {
|
||||
systemProperty("testLatestDeps", findProperty("testLatestDeps"))
|
||||
systemProperty("testLatestDeps", findProperty("testLatestDeps") as Boolean)
|
||||
}
|
||||
|
||||
withType<Test>().configureEach {
|
||||
|
|
|
@ -39,7 +39,7 @@ dependencies {
|
|||
|
||||
tasks {
|
||||
withType<Test>().configureEach {
|
||||
systemProperty("testLatestDeps", findProperty("testLatestDeps"))
|
||||
systemProperty("testLatestDeps", findProperty("testLatestDeps") as Boolean)
|
||||
usesService(gradle.sharedServices.registrations["testcontainersBuildService"].getService())
|
||||
}
|
||||
}
|
||||
|
|
|
@ -48,7 +48,7 @@ dependencies {
|
|||
|
||||
tasks {
|
||||
named<Test>("test") {
|
||||
systemProperty("testLatestDeps", findProperty("testLatestDeps"))
|
||||
systemProperty("testLatestDeps", findProperty("testLatestDeps") as Boolean)
|
||||
}
|
||||
|
||||
withType<Test>().configureEach {
|
||||
|
|
|
@ -51,7 +51,7 @@ dependencies {
|
|||
|
||||
tasks {
|
||||
named<Test>("test") {
|
||||
systemProperty("testLatestDeps", findProperty("testLatestDeps"))
|
||||
systemProperty("testLatestDeps", findProperty("testLatestDeps") as Boolean)
|
||||
}
|
||||
|
||||
withType<Test>().configureEach {
|
||||
|
|
|
@ -46,7 +46,7 @@ dependencies {
|
|||
|
||||
tasks {
|
||||
named<Test>("test") {
|
||||
systemProperty("testLatestDeps", findProperty("testLatestDeps"))
|
||||
systemProperty("testLatestDeps", findProperty("testLatestDeps") as Boolean)
|
||||
}
|
||||
|
||||
withType<Test>().configureEach {
|
||||
|
|
|
@ -25,7 +25,7 @@ dependencies {
|
|||
|
||||
tasks {
|
||||
named<Test>("test") {
|
||||
systemProperty("testLatestDeps", findProperty("testLatestDeps"))
|
||||
systemProperty("testLatestDeps", findProperty("testLatestDeps") as Boolean)
|
||||
usesService(gradle.sharedServices.registrations["testcontainersBuildService"].getService())
|
||||
}
|
||||
}
|
||||
|
|
|
@ -14,7 +14,7 @@ dependencies {
|
|||
|
||||
tasks {
|
||||
named<Test>("test") {
|
||||
systemProperty("testLatestDeps", findProperty("testLatestDeps"))
|
||||
systemProperty("testLatestDeps", findProperty("testLatestDeps") as Boolean)
|
||||
usesService(gradle.sharedServices.registrations["testcontainersBuildService"].getService())
|
||||
}
|
||||
}
|
||||
|
|
|
@ -53,7 +53,7 @@ tasks {
|
|||
}
|
||||
|
||||
named<Test>("test") {
|
||||
systemProperty("testLatestDeps", findProperty("testLatestDeps"))
|
||||
systemProperty("testLatestDeps", findProperty("testLatestDeps") as Boolean)
|
||||
|
||||
dependsOn(testConnectionSpan)
|
||||
filter {
|
||||
|
|
|
@ -18,6 +18,6 @@ dependencies {
|
|||
}
|
||||
|
||||
tasks.named<Test>("test") {
|
||||
systemProperty("testLatestDeps", findProperty("testLatestDeps"))
|
||||
systemProperty("testLatestDeps", findProperty("testLatestDeps") as Boolean)
|
||||
usesService(gradle.sharedServices.registrations["testcontainersBuildService"].getService())
|
||||
}
|
||||
|
|
|
@ -58,7 +58,7 @@ tasks {
|
|||
}
|
||||
|
||||
withType<Test>().configureEach {
|
||||
systemProperty("testLatestDeps", findProperty("testLatestDeps"))
|
||||
systemProperty("testLatestDeps", findProperty("testLatestDeps") as Boolean)
|
||||
usesService(gradle.sharedServices.registrations["testcontainersBuildService"].getService())
|
||||
}
|
||||
}
|
||||
|
|
|
@ -18,7 +18,7 @@ dependencies {
|
|||
|
||||
tasks {
|
||||
named<Test>("test") {
|
||||
systemProperty("testLatestDeps", findProperty("testLatestDeps"))
|
||||
systemProperty("testLatestDeps", findProperty("testLatestDeps") as Boolean)
|
||||
usesService(gradle.sharedServices.registrations["testcontainersBuildService"].getService())
|
||||
}
|
||||
}
|
||||
|
|
|
@ -67,5 +67,5 @@ tasks.withType<Test>().configureEach {
|
|||
// a good approach. Come up with a better one and enable this.
|
||||
jvmArgs("-Dio.opentelemetry.javaagent.shaded.io.opentelemetry.context.enableStrictContext=false")
|
||||
|
||||
systemProperty("testLatestDeps", findProperty("testLatestDeps"))
|
||||
systemProperty("testLatestDeps", findProperty("testLatestDeps") as Boolean)
|
||||
}
|
||||
|
|
|
@ -28,6 +28,6 @@ dependencies {
|
|||
|
||||
tasks {
|
||||
named<Test>("test") {
|
||||
systemProperty("testLatestDeps", findProperty("testLatestDeps"))
|
||||
systemProperty("testLatestDeps", findProperty("testLatestDeps") as Boolean)
|
||||
}
|
||||
}
|
Loading…
Reference in New Issue