Fix warning in build scripts (#3739)

This commit is contained in:
Lauri Tulmin 2021-08-02 19:37:35 +03:00 committed by GitHub
parent 6d7cb287cc
commit 77dc1ecf27
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
13 changed files with 13 additions and 13 deletions

View File

@ -106,7 +106,7 @@ tasks {
} }
named<Test>("test") { named<Test>("test") {
systemProperty("testLatestDeps", findProperty("testLatestDeps")) systemProperty("testLatestDeps", findProperty("testLatestDeps") as Boolean)
} }
withType<Test>().configureEach { withType<Test>().configureEach {

View File

@ -39,7 +39,7 @@ dependencies {
tasks { tasks {
withType<Test>().configureEach { withType<Test>().configureEach {
systemProperty("testLatestDeps", findProperty("testLatestDeps")) systemProperty("testLatestDeps", findProperty("testLatestDeps") as Boolean)
usesService(gradle.sharedServices.registrations["testcontainersBuildService"].getService()) usesService(gradle.sharedServices.registrations["testcontainersBuildService"].getService())
} }
} }

View File

@ -48,7 +48,7 @@ dependencies {
tasks { tasks {
named<Test>("test") { named<Test>("test") {
systemProperty("testLatestDeps", findProperty("testLatestDeps")) systemProperty("testLatestDeps", findProperty("testLatestDeps") as Boolean)
} }
withType<Test>().configureEach { withType<Test>().configureEach {

View File

@ -51,7 +51,7 @@ dependencies {
tasks { tasks {
named<Test>("test") { named<Test>("test") {
systemProperty("testLatestDeps", findProperty("testLatestDeps")) systemProperty("testLatestDeps", findProperty("testLatestDeps") as Boolean)
} }
withType<Test>().configureEach { withType<Test>().configureEach {

View File

@ -46,7 +46,7 @@ dependencies {
tasks { tasks {
named<Test>("test") { named<Test>("test") {
systemProperty("testLatestDeps", findProperty("testLatestDeps")) systemProperty("testLatestDeps", findProperty("testLatestDeps") as Boolean)
} }
withType<Test>().configureEach { withType<Test>().configureEach {

View File

@ -25,7 +25,7 @@ dependencies {
tasks { tasks {
named<Test>("test") { named<Test>("test") {
systemProperty("testLatestDeps", findProperty("testLatestDeps")) systemProperty("testLatestDeps", findProperty("testLatestDeps") as Boolean)
usesService(gradle.sharedServices.registrations["testcontainersBuildService"].getService()) usesService(gradle.sharedServices.registrations["testcontainersBuildService"].getService())
} }
} }

View File

@ -14,7 +14,7 @@ dependencies {
tasks { tasks {
named<Test>("test") { named<Test>("test") {
systemProperty("testLatestDeps", findProperty("testLatestDeps")) systemProperty("testLatestDeps", findProperty("testLatestDeps") as Boolean)
usesService(gradle.sharedServices.registrations["testcontainersBuildService"].getService()) usesService(gradle.sharedServices.registrations["testcontainersBuildService"].getService())
} }
} }

View File

@ -53,7 +53,7 @@ tasks {
} }
named<Test>("test") { named<Test>("test") {
systemProperty("testLatestDeps", findProperty("testLatestDeps")) systemProperty("testLatestDeps", findProperty("testLatestDeps") as Boolean)
dependsOn(testConnectionSpan) dependsOn(testConnectionSpan)
filter { filter {

View File

@ -18,6 +18,6 @@ dependencies {
} }
tasks.named<Test>("test") { tasks.named<Test>("test") {
systemProperty("testLatestDeps", findProperty("testLatestDeps")) systemProperty("testLatestDeps", findProperty("testLatestDeps") as Boolean)
usesService(gradle.sharedServices.registrations["testcontainersBuildService"].getService()) usesService(gradle.sharedServices.registrations["testcontainersBuildService"].getService())
} }

View File

@ -58,7 +58,7 @@ tasks {
} }
withType<Test>().configureEach { withType<Test>().configureEach {
systemProperty("testLatestDeps", findProperty("testLatestDeps")) systemProperty("testLatestDeps", findProperty("testLatestDeps") as Boolean)
usesService(gradle.sharedServices.registrations["testcontainersBuildService"].getService()) usesService(gradle.sharedServices.registrations["testcontainersBuildService"].getService())
} }
} }

View File

@ -18,7 +18,7 @@ dependencies {
tasks { tasks {
named<Test>("test") { named<Test>("test") {
systemProperty("testLatestDeps", findProperty("testLatestDeps")) systemProperty("testLatestDeps", findProperty("testLatestDeps") as Boolean)
usesService(gradle.sharedServices.registrations["testcontainersBuildService"].getService()) usesService(gradle.sharedServices.registrations["testcontainersBuildService"].getService())
} }
} }

View File

@ -67,5 +67,5 @@ tasks.withType<Test>().configureEach {
// a good approach. Come up with a better one and enable this. // a good approach. Come up with a better one and enable this.
jvmArgs("-Dio.opentelemetry.javaagent.shaded.io.opentelemetry.context.enableStrictContext=false") jvmArgs("-Dio.opentelemetry.javaagent.shaded.io.opentelemetry.context.enableStrictContext=false")
systemProperty("testLatestDeps", findProperty("testLatestDeps")) systemProperty("testLatestDeps", findProperty("testLatestDeps") as Boolean)
} }

View File

@ -28,6 +28,6 @@ dependencies {
tasks { tasks {
named<Test>("test") { named<Test>("test") {
systemProperty("testLatestDeps", findProperty("testLatestDeps")) systemProperty("testLatestDeps", findProperty("testLatestDeps") as Boolean)
} }
} }